Bug 243094 - Sometimes slow resizing when with XSYNC capable toolkits
Summary: Sometimes slow resizing when with XSYNC capable toolkits
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 00:21 UTC by Clemens Eisserer
Modified: 2010-11-29 12:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
small demo application (2.00 KB, application/zip)
2010-06-29 00:21 UTC, Clemens Eisserer
Details

Note You need to log in before you can comment on or make changes to this bug.
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