Bug Report T373672
Visible to All Users

LayoutControl - Nested controls flicker when resizing

created 9 years ago

Hi,

I've a skeleton in my program like the one in the attached project with some Layout controls. Please follow these steps:
- Click on the "New form" option from NavBar
- In the new form, move splitter control that is indicated at the attached image -the middle horizontal one-. First resize up, after resize down.

Note the awful flickering does when resizing, especially when you resize down. Is quite slow repainting all the structure.
When the form is more complex in controls the effect is more evident.

Is there any way to prevent this annoying flickering/slow repaint?

Thanks in advance!

Comments (1)
DevExpress Support Team 9 years ago

    Hello David,

    Thank you for the sample project. It was very helpful.

    We have successfully reproduced the behavior you described and passed this ticket to our developers' team for further research. Please bear with us. We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Additional information:

    Hello David,

    We have researched this issue and found that it's main cause if the complexity of your layout. When you resize a panel, all its child controls should be repainted. The more controls and nesting levels you have, the more noticeable this flickering becomes to an end-user. We have found a possible workaround and made some changes in our code, but since this behavior is rather specific to how WinForms controls are repainted in general, this won't completely solve the problem.

    Anyway, I've marked this issue as fixed, so you can download a hotfix for this issue (see KA18578). If this doesn't help and you still see flickering in your real application, the only solution we can suggest is to simplify your layout.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.