Cursor/Caret disappearing in Expression_Dark theme

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 10 Jul 2014 Link to this post

    Hello,
    The Caret is disappearing using this control with Expression_Dark and PlainText mode. It can reproduced on your demo site. It maybe be related to the same issue from the NumericUpDown control, see: http://www.telerik.com/forums/cursor-caret-disappearing-in-expression-dark-theme#fNFa8QQxBUW44-TLcDFNIQ

    Any workaround or time frame for a fix?
    Thanks,
    Patrick
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 14 Jul 2014 Link to this post

    Hi Patrick,

    This has been fixed with our hotfix binaries Telerik_UI_for_Silverlight5_2014_2_0707_TRIAL_hotfix (you can download them under Your Account -> Latest Internal Builds). Indeed the issue was the same as the one you pointed out - there should be preset CaretBrush for the TextBox. If you open RadMaskedInputBaseStyle under ExpressionDark or VisualStudio2013 themes you'll see the fix (these themes require different Caret Brush than the default Black one):

    <telerikMaskedInput:PreviewInputTextBox.CaretBrush>{StaticResource CaretBrush</telerikMaskedInput:PreviewInputTextBox.CaretBrush>

     I attached a sample demonstrating that the CaretBrush is White in ExpressionDark theme.

    Regards,
    Evgenia
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
  4. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 15 Jul 2014 in reply to Evgenia Link to this post

    Evgenia,

    Thank you, this is good to know. As an immediate short term fix we did the following.
    OurRadMaskedInputBaseControlInstance.GotFocus += (s, args) =>
    {
        var previewInput = args.OriginalSource as PreviewInputTextBox;
        if (previewInput != null)
            previewInput.CaretBrush = new SolidColorBrush(Colors.White);
    };

    Do you have any idea when the next non-beta telerik release will happen? We are trying to coordinate our code pushes.
    Thanks,
    Patrick
  5. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 18 Jul 2014 Link to this post

    Hi Patrick,

    Our Service Pack will come live at the end of this month and our Next Official Release Q3 2014 is still under planning but will most probably be released in October. 

    Regards,
    Evgenia
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top