Bug 460738

Summary: Modal dialog boxes should automatically get the "above other windows" flag set
Product: [Plasma] kwin Reporter: K Freed <kortrax11>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: bugseforuns, nate, postix, xaver.hugl
Priority: NOR Keywords: usability
Version First Reported In: 5.26.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=312325
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description K Freed 2022-10-20 00:28:09 UTC
When an application launches a dialog box, such as "choose a file" or "Would you like to perform this action," that dialog box can end up behind another window if another window is clicked.  Mandatory dialog boxes such as these should always be presented on top of other windows until it is dismissed. Not having this behavior be default can confuse the user, especially when a dialog box causes an application to enter a wait state until that box is dismissed.


Linux/KDE Plasma:  Arch Linux (Garuda Linux): Kernel 6.0 
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version:5.15.6
Comment 1 Vlad Zahorodnii 2022-10-20 08:35:53 UTC
X11 or wayland session?
Comment 2 K Freed 2022-10-20 12:58:32 UTC
This is a bug on both Wayland and X11
Comment 3 Nate Graham 2022-10-20 19:53:18 UTC
At the moment this is by design, but it could conceivably be changed. See also Bug 460730.
Comment 4 K Freed 2022-10-28 09:44:13 UTC
I think it is confusing, especially as most programs will become unresponsive when a dialog box is shown (such as polkit or a file picker). Presumably this would be an easy fix as kwin already allows you to keep a window on top of others.
Comment 5 Zamundaaa 2024-11-21 18:12:26 UTC
The window should be shown on top of the window it's modal to, but showing it on top of everything else would be quite annoying.
If there's instances where a window isn't properly modal / doesn't set its parent window, please report those specific cases.