Bug 174443 - Outline window resizing with compositing enabled produces artifacts
Summary: Outline window resizing with compositing enabled produces artifacts
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 16:34 UTC by John Carlyle-Clarke
Modified: 2011-01-14 22:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Photo of desktop showing some of the behaviour (92.63 KB, image/jpeg)
2008-11-06 16:40 UTC, John Carlyle-Clarke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Carlyle-Clarke 2008-11-06 16:34:14 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Unlisted Binary Package

Resizing windows with the "Show window contents while resizing" option disabled, and with compositing/effects enabled, causes bits of the rubber-band outline frame to draw incorrectly, and bits of it to be left behind.

I tried to capture video, but all desktop video recorders stop when resizing windows :)

Machine is running Arch Linux, KDE 4.1.3 (Qt 4.4.3) with KWin 3.0.  X.Org X Server 1.5.2 on Intel 915.
Comment 1 John Carlyle-Clarke 2008-11-06 16:40:03 UTC
Created attachment 28365 [details]
Photo of desktop showing some of the behaviour

I managed to grab a photo which shows part of the problem, with an extra outline band left during the resize.
Comment 2 Dirk Sarpe 2010-10-10 15:15:34 UTC
I can confirm this under 4.5.2, Kubuntu 10.10. NVIDIA driver 260.19.06,  GeForce 9500 GT.
Comment 3 Thomas Lübking 2010-10-10 20:21:30 UTC
this happens only if the resized window hasn't been active before yesno?

consider to try the resize effect which will resize w/o updating the window contents but scale the window texture instead (when compositing is suspended you should get the normal outline)
Comment 4 Dirk Sarpe 2010-10-11 01:32:53 UTC
(In reply to comment #3)
> this happens only if the resized window hasn't been active before yesno?
No it happens also when the window has been active before. To clarify, the strangely drawn rubber-band outline and artifacts do only show up during the resizing itself. When resizing is finished they vanish.
Comment 5 Martin Flöser 2011-01-14 22:59:11 UTC
With Compositing enabled the Resize Effect is used instead of the outline. This "fixes" the issue.