Bug 243094

Summary: Sometimes slow resizing when with XSYNC capable toolkits
Product: [Plasma] kwin Reporter: Clemens Eisserer <linuxhippy>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: small demo application

Description Clemens Eisserer 2010-06-29 00:21:11 UTC
Created attachment 48440 [details]
small demo application

Version:           unspecified (using Devel) 
OS:                Linux

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

Reproducible: Always
Comment 1 Clemens Eisserer 2010-08-31 12:16:20 UTC
Took me quite a while to find a way to reproduce this behaviour and even write an testcase for it, and now nobody cares :/
Comment 2 Thomas Lübking 2010-08-31 13:25:35 UTC
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 :-(
Comment 3 Thomas Lübking 2010-09-15 21:24:37 UTC
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

BUG: 178269
BUG: 183263
BUG: 241094
BUG: 243094


 M  +1 -0      events.cpp  
 M  +0 -1      geometry.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1175748