Diffusion KWin fe4d69b653c6

Keep Deleted transients above old parents

Authored by zzag on Oct 15 2018, 1:04 PM.

Description

Keep Deleted transients above old parents

Summary:
If a modal window is closed, usually, it will go behind its parent. The
reason for this is that Workspace::constrainedStackingOrder() puts only
AbstractClient transients above parents, not Deleted transients.

So, if fade/glide/scale effect animates the disappearing of a transient,
unfortunately, one can't see that animation.

BUG: 397448
FIXED-IN: 5.15.0

Test Plan:

Closing of a transient and parent window

Before:

After:

Scale effect

Before:

After:

Sheet effect

Before:

After:

Popup menus on Wayland

Before:

After:

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: abetts, davidedmundson, kwin

Tags: KWin

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

Details

Committed
zzagOct 16 2018, 3:58 PM
Reviewer
KWin
Differential Revision
D14868: Keep Deleted transients above old parents
Parents
R108:9ca24efc073d: [autotests] Hook up some missing tests for XDGShellStable
Branches
Unknown
Tags
Unknown