Incorrect mouse text selection behavior when browser zoom <> 100%

4 posts, 0 answers
  1. Wiktor
    Wiktor avatar
    11 posts
    Member since:
    Sep 2010

    Posted 05 Jan 2011 Link to this post

    When a browser zoom is > 100%, text selection using a mouse in a TextBox in a RadWindow behaves abnormally. To reproduce the problem, click on a text in a TextBox and drag the mouse cursor to the left. The text is selected only when the mouse cursor moves some distance from the TextBox, possibly well beyond the RadWindow. The distance is greater when a zoom value is greater.

    When a browser zoom is < 100%, text selection using a mouse is not working properly either. Clicking in a TextBox always puts a cursor at the beginning of the text regardless where the mouse click occurs.

    I tested this behavior in Internet Explorer and in Firefox.
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 06 Jan 2011 Link to this post

    Hi Wiktor,

    I am not able to reproduce the issue. The application I was using was very simple - RadWindow and Textbox. I tried in both browsers you mentioned but with no success. Could you specify what version of our controls are you using?  I have attached a video what is the behavior at my side. Let me know if you are doing something else or there is something specific with your scenario. A code snippet or sample project could be of help.

    Greetings,
    Boyan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Wiktor
    Wiktor avatar
    11 posts
    Member since:
    Sep 2010

    Posted 06 Jan 2011 Link to this post

    It seems that this behavior happens when a root visual is ScrollViewer. (When I wrap the ScrollViewer with a Grid, it works fine)

    private void Application_Startup(object sender, StartupEventArgs e)
    {
        ScrollViewer scrollViewer = new ScrollViewer();
        scrollViewer.Content = new MainPage();
        this.RootVisual = scrollViewer;
    }

    I am unable to attach a zip file with a sample project to this post.
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 12 Jan 2011 Link to this post

    Hello Wiktor,

    We reproduced the issue. Thank you for reporting this bug, it helps us in improving our products. I am glad to give you 1000 points for reporting this abnormal behavior of our RadWindow control. We will investigate the cause for this issue and we will fix it in one of our future releases. You can track this progress in our Public Issue Tracking System (PITS) with Issue ID = 4563.

    Please do not hesitate to contact us if you require any further information.


    Regards,
    Boyan
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top