RadWindow flickers in Windows XP

6 posts, 2 answers
  1. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 21 Nov 2011 Link to this post

    Hello!

    We have issue with RadWindow used as dialog. This problem is observed on Windowx XP only (we checked on two different computers). It's not observed in Windows 7 (we also checked on two different computers). The issue looks like this:

    1) There is main window which has content which changes frequently. Doesn't metter what is on background the key point is that it changes.
    2) There is dialog window created using RadWindow which covers updated area (e.g. this area is hidden by dialog).
    3) Dialog window from time to time "flickers" and it's possible to see background of dialog.

    In order to reproduce the issue i've created sample project and created some screenshots. Sorry for bad quality. Screenshots were created by mobile phone because screen capture programs didn't record this issue. You can also download movie which illustrates this issue.

    We need to solution for Windows XP which eliminates observed effect.
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 23 Nov 2011 Link to this post

    Hello Licensing,

    This seems like a Windows XP rendering issue. The RadWindow is displayed in a transparent window which forces the OS to render the RadWindow when something behind it changes. We are using a transparent window as some of the themes have transparent or semi transparent parts.
    What I would suggest you as a work-around is to disable RadWindow's transparency by setting the RadWindowInteropHelper.AllowTransparency attached property of the RadWindow control to false when running on windows XP.

    Hope this helps.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 24 Nov 2011 Link to this post

    Will this solution work for floating docking panels? I've tried to apply this attached property to RadPane. It looks like it's not taken into consideration when Floating window is created. Is there any way to attach this property to toolwindow used by RadPane? If yes, then please specify how.

    Suggested solution works for RadWindow which solves issue with flickering of dialog windows. The last remaining issue is floating panels.
  5. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 28 Nov 2011 Link to this post

    Any feedback?
  6. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 29 Nov 2011 Link to this post

    Hello Licensing,

    This property is meant to be set to an element of type WindowBase which could be RadWindow or ToolWindow and cannot be a RadPane. To set it to the ToolWindow control you need to change the GeneratedItemsFactory with a custom one. Please refer to the attached project that demonstrates the described approach.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Licensing
    Licensing avatar
    31 posts
    Member since:
    Sep 2011

    Posted 30 Nov 2011 Link to this post

    Thank for your effords! Suggested solution works for RadPanes.
Back to Top
UI for WPF is Visual Studio 2017 Ready