Cursor/Caret disappearing in Expression_Dark theme

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

    Posted 25 Sep 2013 Link to this post

    Hello,
    This can be reproduced on the demo site. 

    1. Visit http://demos.telerik.com/silverlight/#NumericUpDown/Theming
    2. Click Expression_Dark
    3. Click the *center* of the "Currency Format" to select it
    4. Press Up arrow on keyboard (number will go from 0.00 to 1.00)
    5. Click the *center* of the "Percentage Format" to select it
    6. Press Up arrow on keyboard (number will go from 0.0000 to 1.0000)
    7. Click the *center* of the "Currency Format" to select it
    8. At this point the white cursor can no longer be seen on "Currency Format" and possibly "Percentage Format" as well, the behavior is not consistent.

    It looks like it might have to do with the focus of the mouse, if you can't seem to reproduce it try moving the mouse away from the entry box before clicking the up arrow. Browser doesn't seem to matter, same on Chrome and IE9.

    Will this be fixed ?

    Thanks,
    Patrick
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 30 Sep 2013 Link to this post

    Hello Patrick,

    We are aware of this problem and it is caused by a problem with the TextBox control. In order to workaround it you can modify the template of NumericUpDown control and set a static value for the CaretBrush of the TextBox inside the numeric:
    <TextBox x:Name="textbox" Grid.Row="0" CaretBrush="White" ...>

    I'm sending you a sample project demonstrating this approach. Hopefully this helps.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 24 Oct 2013 Link to this post

    That does seem to help as a workaround, though it's not ideal to copy the entire template.

    This is not ideal because when we upgrade our dlls in the future the theme/control may change and break the behavior of the control, this has happened in the past. Upon each upgrade this requires a developer to copy the theme (from the newest DLL) and make the same changes over and over for each control that needed a fully copied template, and even then, things may break because a previous 'workaround solution' is no longer valid with whatever changes occurred from the last update inside the control. We’d really like to keep up–to-date with your controls as you offer a lot of updates and new features, but these kinds of things cause us to avoid doing so.

    We also noticed the disappearing cursor issue with the regular Silverlight Textbox which is themed with telerik Expression_Dark. Forcing the CaretBrush on the Textbox seems to help.

    Is it possible for telerik to fix this issue in the future without having to use this workaround? If so, when could we expect it?

    Thanks,
    Patrick
  5. Answer
    Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 28 Oct 2013 Link to this post

    Hello Patrick,

    We have fixed the issue with RadNumericUpDown and the fix is available with our latest official release - 2013 Q3. You can download it under your account and inform us in case you still have problems or concerns.

    We'll take a look at the issue with the TextBox style. Thank you for pointing it. Could you test the latest official release and inform us if it works for RadNumericUpDown issue? I'm looking forward to hearing from you.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 29 Oct 2013 Link to this post

    Rosen,
    Yes it appears that Q3 2013 fixes the issue with RadNumericUpDown. Thank you this helps us out a lot. 

    Just so you're aware our TextBox control with the similar issue (fixed with a CaretBrush set) is implicitly styled with an application theme, not sure if that makes a difference...

    Thank you,
    Patrick

  7. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 30 Oct 2013 Link to this post

    Hello Patrick,

    Thanks for the detailed information. We have reproduced the issue and our developers will take a look at it.

    I'm glad everything else is working fine on your side with our latest release. Feel free to contact us in case you have any other problems or concerns.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner