Bug 381402

Summary: "Present Window" effect breaks the Slide Back effect.
Product: [Plasma] kwin Reporter: tromzy
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Flags: mgraesslin: Wayland+
mgraesslin: X11-
mgraesslin: ReviewRequest+
Priority: NOR    
Version First Reported In: 5.10.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://phabricator.kde.org/D6468
Latest Commit: Version Fixed/Implemented In: 5.10.4
Sentry Crash Report:

Description tromzy 2017-06-19 15:57:08 UTC
Slide Back effect works fine until I put my mouse pointer in the corner of the screen that triggers the "Present Windows" effect ; after that, slide back effect stops working.

Plasma 5.10, Frameworks 5.35.
Comment 1 Christoph Feck 2017-06-28 21:29:45 UTC
As mentioned on bug 364483.
Comment 2 Martin Flöser 2017-06-29 05:10:03 UTC
Just tried and can unfortunately confirm. I guess it's the close window
Comment 3 Martin Flöser 2017-07-02 12:31:37 UTC
Patch at: https://phabricator.kde.org/D6468
Comment 4 Martin Flöser 2017-07-06 17:12:58 UTC
Git commit 24ff93854ddc78990bf111e7bab4bce58a75d0bc by Martin Flöser.
Committed on 06/07/2017 at 17:12.
Pushed by graesslin into branch 'Plasma/5.10'.

[effects/slideback] Ignore windows which are not in visible area

Summary:
The PresentWindows effect does not hide the window to close the selected
window. Instead it moves it outside the visible area. As this is a
"special" KWin window it is on top of the stacking order and needs to be
ignored in the slideback effect.

Instead of doing a special casing for this window the effect is changed
to ignore windows outside the visible area in general. Windows outside
the visible area just don't make sense to block the slideback effect.
FIXED-IN: 5.10.4

Test Plan: Slideback works after using Present Windows effect

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D6468

M  +4    -1    effects/slideback/slideback.cpp

https://commits.kde.org/kwin/24ff93854ddc78990bf111e7bab4bce58a75d0bc