mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.36k stars 241 forks source link

wpf slow with visual glitches #679

Open joreg opened 7 years ago

joreg commented 7 years ago

helos,

trying out xwt i'm happy with it so far except that seems very slow (using wpf backend on windows) and easily produces visual glitches, as shown here:

there is a ScrollView on the left side of an HPaned in a NoteBook that holds a VBox with a list of widgets. on the right side of the HPaned is another VBox widget.. when i change the position of the HPaned-Splitter everything stutters and i often see visual glitches like this: bugged version

causing a redraw by resizing the window updates everything correctly. xwt-nobug

when i try the "Xwt Demo Application" that comes with the Samples it feels much smoother overall than my app and i don't see any visual glitches.

is there anything i could be doing wrong?

joreg commented 7 years ago

taking the ScrollView out of the hierarchy the glitches are gone. is there an alternative to using the scrollview?

and according the the vs-timeline-profiler the performance problem comes from layouting..