Created attachment 48440 [details]
small demo application
Version: unspecified (using Devel)
This is a remaining of Bug 183263.
Sometimes a window which is resized frequently is put into "slow resize mode", where kwin would resize the window only with ~2fps. Once a window is in this state, it will resize slow forever.
Recently I've found a way to reliable reproduce this issue.
If a window fails to redraw itself once in time, kwin will resize it slow forwever, even it it paints quick on further iterations.
I attached a small QT based demo application which:
- Paints an analog clock
- On the 50th paint event, it blocks for 10s - this triggers "slow resize mode"
- After the 50th paint event, resizing is still slow, although re-paint is fast again
Took me quite a while to find a way to reproduce this behaviour and even write an testcase for it, and now nobody cares :/
sorry - see reply on bug #183263
unfortunately the mail was not replied and i don't have the guts to "just merge" - i'm a wiener, i know :-(
SVN commit 1175748 by luebking:
fix pending XSYNC requests, bugs partially closed due to suggested relation by the reporters
please re-open them if this does not fix it
M +1 -0 events.cpp
M +0 -1 geometry.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1175748