Strange Behaviour of all RadControls Component that involve mouse over or mouse click

19 posts, 0 answers
  1. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 09 Jul 2007 Link to this post

    Hi,

    I downloaded and tried RadControl for Winforms Q1 2007. I implemented some of the components such as Button.

    Such strange thing, when the mouse point to the button, the color will change from blue to yellow, but when the mouse is point other button, the previous button color will not change to the initial state, still yellow.

    It's the same with other components; treeview. When you try to click on the one of the nodes, and then click other nodes, the previous nodes color will no change to initial state but stay as isPressed color states.

    I am using Windows Server 2003 with VS2005 and .Net Framework 2.0. I tried in others PC with Windows Vista, this case is not happen. Does Radcontrols involve directX?

    Please Help...

    Thank you so much for the help
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 10 Jul 2007 Link to this post

    Hello Eriksurya,

    The issue you describe cannot be related to DirectX because we are not using DirectX for drawing.

    In our attempt to reproduce it, we created a couple of forms under Windows Server 2003 SP1, but were not able to observe any problems. We think that your problem is related to the way you have set the theme to the button, but we will need some additional information on your scenario before giving you a certain solution:
    1. Do you have SP1 for Windows Server 2003 installed?
    2. Have you experienced any theme issues with the QSF application?
    3. Do you experience these theme problems with your custom application? If so, it will be best to send it to us so we can examine and resolve the issue. You can open a new support ticket and attach the app there.
    4. Have you created a new theme for your button? If yes, have you set a state for the OnMouseOut event?
    5. Can you reproduce the issue with a theme other than the default one?
    6. Can you reproduce the issue on a Win XP machine?

    Thank you in advance for your assistance.



    Sincerely yours,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 10 Jul 2007 Link to this post

    Hi,

    Thanks for reply and assistance. This issue is not happen in Win xp. Do i need to install SP1? We implemented the radcontrols in server environment.

    Another thing, we installed the Rad Controls and supposed to be in GAC and loaded automaticall in VS .net 2005, is it right? But it's never happen in our system.

    this issue involve in all themes either default theme or custom theme.

    I will write back after i am doing some maintance to the server. Thanks again.

    Thanks for the assistance
  5. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 11 Jul 2007 Link to this post

    Hi,

    My system is installed with Windows Server 2003 SP1. I am using telerik rad controls from Remote desktop connected to the server where the telerik is installed.

    I have allowed all the theme, desktop background, all the options in the remote desktop connection.

    Anything to do with Remote Desktop Connection?

    Thanks
  6. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 11 Jul 2007 Link to this post

    Hi Eriksurya,

    The theme issue should not be related to Remote Desktop Connection as we have tested the controls with remote desktop and found no issues.

    If the Telerik assemblies are not in GAC then your installation is most probably broken. Please, try to reinstall the Telerik RadControls for WinForms and then tell us if the issue still exists.

    Thank you for your cooperation.
     

    Best wishes,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Albert Ho
    Albert Ho avatar
    5 posts
    Member since:
    Jan 2006

    Posted 19 Jul 2007 Link to this post

    Hi there, I think the problem may not be related to OS directly, but instead with Graphics Card.. Because I am having the exact same problem on my Windows 2003 Server R2 and a Windows XP SP2 machine... The symptom is both of the Machine doesnt have a Graphics card. It only use onboard video. And running the same thing on my Windows XP 64bit SP2 is fine...

    In my scenario, the control are even worse, all the rad control involves mouse_hover event screwed up.. they are all orange when hovered, cant be back to initial state.... Acts like as if the Mouse Clock event cannot be completed. Press -> Release becomes a Click... but controls just hangs at the Press stage.

    Cheers
  8. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 20 Jul 2007 Link to this post

    Hi Albert Ho,

    Please open a support ticket regarding the issue and send us a sample project that we could use to test locally the described problem.

    Kind regards,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Erik
    Erik avatar
    80 posts
    Member since:
    Jul 2007

    Posted 24 Aug 2007 Link to this post

    So, Albelt Ho, did you solve the proble?
  10. Leland
    Leland avatar
    7 posts
    Member since:
    Nov 2008

    Posted 25 Mar 2010 Link to this post

    We have an application when run locally works fine, but on all Citrix installs and all but one Remote Desktop installation we encounter mouse over and other repaint issues. We can consistently mouse over the menu and it changes to yellow to blue and stays yellow instead of returning back to normal.

    We are running through all the drivers on the various systems to see what is different from the system that is okay and the one that is not.

    If you have any suggested setting that would be great we are currently using the Q4 2009 Winform controls.
    -Lee
  11. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 25 Mar 2010 Link to this post

    Hi Leland,

    Generally speaking, we have progress in pinpointing this problem, but we would like to get your input as well. In some cases a simple restart of the machine fixed the issue, in others the problem turned out to be in old video drivers, and yet in others, the issues were in the Citrix terminal server system. These resolutions suggest that this issue might not be directly related with RadControls for WinForms but with the specific GDI/RDP context.

    We are determined to understand why it is happening and what we can do to overcome it. We will very much appreciate it if you would answer the following questions for us in order to help us pinpoint the problem:

    1. Are the described glitches present on all the machines that remotely connect to the application or on some of them? If some, what are the specifics/differences between them?
    2. What are the hardware specifications?
    3. What is the OS installed on these machines?
    4. What version of Citrix are you running?
    5. Are the machines up to date in terms of drivers? We have had a couple of customers solve similar issues with simple video driver update from the original manufacturer (rather than using the Microsoft driver).
    6. Are the machines up to date in terms of software updates?
    7. Are the machines running DirectX 10? 
    8. It is possible that this issue is somehow related to the fact that we use GDI-based animations. We  believe that this might be a problem related to GDI and RDP, and the way the RDP transfers painting information - in other words, the only way you can prevent this from happening is to turn off the animations in our controls (which is pretty simple). We have prepared a few scenarios you could perform and help us narrow down the issues that might lead to this.

      I would like to ask you to try turning off the Bitmap Cache we use when painting gradients and see whether the issue persists (very important case):

      Me.RadGridView1.Behavior.BitmapRepository.DisableBitmapCache = True

      After doing this, if the issue persists, you will be able to overcome it by turning off the animations for all controls:

      ThemeResolutionService.AllowAnimations = False

      or the animations for a separate control:

      Me.RadGridView1.ElementTree.SuspendAnimations()

      Please write back when you have experimented with the scenarios described above letting us know which of them is helpful.

    Thanks for you time. We look forward to receiving further details on that case.
     

    Best wishes,
    Vassil
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  12. Leland
    Leland avatar
    7 posts
    Member since:
    Nov 2008

    Posted 25 Mar 2010 Link to this post

    Vassil

    Here is the environment information you asked about:

                    Working Machine         Non-working Machine  
    O/S             2003 Standard           2003 Enterprise  
    Hardware        Virtual                 Virtual  
    Mem             2GB                     4GB  
    Citrix          Using Terminal Server   Using Terminal Server  
    Drivers         Up to date              Up to date  
    Software        Up to date              Up to date  
    DirectX 10      No                      No  
     

    I should be noted that we also have a non-working 2003 Standard installation, but it was not used for this testing to isolate the issue. We are looking at all hardware and software to narrow down the root cause of this issue.

    I created a Winform App with a RadMenu and place 4 Root entries.
    This application shows the in blue originally, and highlights to yellow, but on one machine the menu stays highlighted, but on the other it does not.

    I then added the line:
            Me.RadMenu1.Behavior.BitmapRepository.DisableBitmapCache = True

    And still had the same results.

    I could not seem to find anything under ThemeResolutionService for AllowAnimations, and could not find anything when searching your sight, so if you could provide a little more help with this setting, I would be happy to test it.

    I could not find anything on SuspendAnimations, but I did try the DropdownAnimationEnable, and tried changing the Frames and Easing too, but always got the same end result however adding frames just made it take longer to display.

    If there is something else you would like me to try let me know.
    -Lee

  13. Leland
    Leland avatar
    7 posts
    Member since:
    Nov 2008

    Posted 26 Mar 2010 Link to this post

    Vassil 

    I expanded my test application to include a grid I added 3 numeric columns to the grid and when the GroupExpandAnimationType is set to slide then we get very erratic results when the grid is grouped and you try to expand or collapse a group. When the GroupExpandAnimationType is set to none then it works properly.

    Public Class Form1  
     
        Public Sub New()  
     
            ' This call is required by the Windows Form Designer.  
            InitializeComponent()  
     
            ' Add any initialization after the InitializeComponent() call.  
            For i As Integer = 1 To 500  
                Me.RadGridView1.Rows.Add(i, i \ 10, i \ 100)  
            Next 
     
            Me.RadGridView1.Behavior.BitmapRepository.DisableBitmapCache = True 
        End Sub 
    End Class 
     

    The only property I could find was the DisableBitmapCache and when that was true but the GroupExpandAnimationType was Slide the problem persisted. It looks like we will have to set the animations to none on the effected controls.

    Oh if you would like I can record a video displaying the issue.
    -Lee
  14. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 29 Mar 2010 Link to this post

    Hi Leland,

    Thanks for getting back to us and for the provided details.

    1. Could you please share with us which version of RadControls for WinForms you are using?

    2. If you are not using the latest version of RadControls for WinForms, we would like to ask you to download and install this version and try the same steps described earlier. Since a couple of our customers who also experienced this issue confirmed for us that the disabling of the bitmap cache resolves it, we believe it might help in your case as well.

    3. In case you download the latest version, also try again setting the AllowAnimations property of the ThemeResolutionService:

    ThemeResolutionService.AllowAnimations = False

    I hope these steps will help you resolve the case and look forward to receiving further details on your case.

    Best wishes,

    Deyan
    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  15. Leland
    Leland avatar
    7 posts
    Member since:
    Nov 2008

    Posted 29 Mar 2010 Link to this post

    Deyan,

    We upgraded the test application from the 2009-Q3 SP1 release to the 2010-Q1 release, and the application originally demonstrated the same issue on two of the servers. We then rebooted and it was better on those servers in that the grid opened and closed and did not get losted in the display of data, but the animation was still jerky. I then added the following line:

      Telerik.WinControls.ThemeResolutionService.AllowAnimations = _  
        Not System.Windows.Forms.SystemInformation.TerminalServerSession  
     

    This allowed the animations on the local client, and turned them off for the remote desktop client.

    Thank you for your help.
    -Lee
  16. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 31 Mar 2010 Link to this post

    Hi Leland,

    Thanks for getting back to us and for the further feedback on the case.

    It seems that these visual glitches are related to the animations we have in our controls which are based on GDI rendering. We believe that in certain cases (most probably in certain hardware configurations and maybe network bandwidth) the GDI animations fail to execute correctly when over RDP. Obviously, the only decent solution in this case is to turn off the animations. However, some of our customers reported that they did not experience this behavior when they turned off the bitmap caching we use when animating gradients. Therefore, we wanted you to first turn off this cache and see whether it brings any value since in this way you would still be able to use animations in your application.

    I have updated your Telerik points for taking your time to investigate the case locally and sharing the results with us.

    You can write back anytime you need assistance or have any questions.

    Greetings,
    Deyan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  17. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Hi Guys,

    We are also experienceing a similar issue on our on our terminal server, Windows Server 2003 SP2, with RadControls for Windows 2009 Q2. The yellow/orange mouse overs highlights for buttons, tab strip items, toolstrip buttons all stay highlighted after the mouse leaves the button. This is only on the terminal server, everything renders fine on the dev machines!
     
    I will look at implementing some of teh fixes suggested in previous posts and feed back.

    Best regards,
    Duane
  18. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Sorry it posted twice!
  19. Duane
    Duane avatar
    37 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Hi Guys,

    Ok... The first thing we tried, as it seemed the simplest was to restart the Terminal Server as per Telerik's post on "Posted on Mar 25, 2010"

    Lo and behold, this DID resolve the issue for us!

    I don't understand fully though as there have been many occurances through out our build process when we have installed the app to the Terminal Server and it has worked correctly with the need for a restart, but the last two installs have had this issue.

    Best regards,
    Duane.
  20. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 15 Dec 2010 Link to this post

    Hello Duane, 

    Thank you for writing.

    I am glad to inform you that the experienced issue was addressed in Q1 2010 SP1 as stated in our Release Notes. I would suggest that you update to our latest version Q3 2010 which contains many more
    improvements and fixes.

    I hope you find this information useful.

    Kind regards,
    Stefan
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
Back to Top
UI for WinForms is Visual Studio 2017 Ready