Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: Flickering when two Anchrobles made visible true/false [15682]

$
0
0
When two anchrobles are made visible true or false we can see they appear one after another. Additionally this causes a flickering in the document area (I am having a heavy OpenGL viewer inside the document viewer. So it can be clearly visible.)

I found the cause and it is inside LayoutGridControl.OnInitialized. It is calling begin invoke with dispatcher priority as Background. This causes a draw operation in between two layout operations. If I set the priority to Normal the flickering is gone. However I think the fix should be to collect all update layout operations and execute them at once.
Comments: ** Comment from web user: mach22 **

I have the same problem when I create a new document with an OpenGL drawing control inside it.


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>