Bug 294428

Summary: When starting the present windows effect, windows that are partly out of screen jump to the screens center
Product: [Plasma] kwin Reporter: Björn Sonnenschein <green>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor Flags: thomas.luebking: ReviewRequest+
Priority: NOR    
Version: 4.8.0   
Target Milestone: 4.10   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 4.10

Description Björn Sonnenschein 2012-02-19 13:47:36 UTC
Version:           4.8.0 (using KDE 4.8.0) 
OS:                Linux

When starting the present windows effect, every window that is partly out of the screen border will at first jump to the center of the screen and then move to its position in the present windows raster. That doesn't look very smooth.

Reproducible: Always

Steps to Reproduce:
Open a window and move it partly out of the screen. Then trigger the present windows effect.


Expected Results:  
The Window should move smoothly to its position in the effect.
Comment 1 Martin Flöser 2013-01-18 19:45:13 UTC
I just tried to reproduce the issue, but cannot see what you observe. Are you still able to reproduce the issue with e.g. 4.9 or 4.10 (that's what I used for testing)?
Comment 2 Thomas Lübking 2013-01-18 20:12:52 UTC
Happens, set the speed to "extremely slow" and move half a window out of the workspace area.
If you start the effect, the position in bound before the animation starts.

If you  move the window nearly completely outside, you'll also be able to notice it with "very slow".

The reason is "git show dfdc8ff1" and the fact that all windows start with a highlight of 1.0
I'll try to catch that.
Comment 3 Thomas Lübking 2013-01-18 20:45:56 UTC
https://git.reviewboard.kde.org/r/108477/
Comment 4 Thomas Lübking 2013-01-23 21:11:34 UTC
Git commit f448a4e48ed7de2f65b041569b93f5de9ae51c55 by Thomas Lübking.
Committed on 18/01/2013 at 21:43.
Pushed by luebking into branch 'KDE/4.10'.

don't zoom or clamp windows on effect start/end

REVIEW: 108477

M  +1    -1    kwin/effects/presentwindows/presentwindows.cpp

http://commits.kde.org/kde-workspace/f448a4e48ed7de2f65b041569b93f5de9ae51c55
Comment 5 Thomas Lübking 2013-01-23 21:12:17 UTC
Git commit e56b9d7ce976244b7594199be53ced9150f8fa44 by Thomas Lübking.
Committed on 18/01/2013 at 21:43.
Pushed by luebking into branch 'master'.

don't zoom or clamp windows on effect start/end

REVIEW: 108477

M  +1    -1    kwin/effects/presentwindows/presentwindows.cpp

http://commits.kde.org/kde-workspace/e56b9d7ce976244b7594199be53ced9150f8fa44