Bug 381402 - "Present Window" effect breaks the Slide Back effect.
Summary: "Present Window" effect breaks the Slide Back effect.
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.10.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://phabricator.kde.org/D6468
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-19 15:57 UTC by tromzy
Modified: 2017-07-06 17:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.10.4
Sentry Crash Report:
mgraesslin: Wayland+
mgraesslin: X11-
mgraesslin: ReviewRequest+


Attachments

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