Bug 469529

Summary: Wayland: set some windows to be at the top always
Product: [Plasma] kwin Reporter: Henning <boredsquirrel>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-05-09 13:43:49 UTC
SUMMARY

Examples: 

- Polkit auth window
- KVault auth window
- error windows

These should be defaulted to be on top. I think there is a way to set it manually, but having it default would be a great benefit.

When having the dialog and for example Firefox opens on top of it, the Passwort input stops and you have to reenter/continue after manually switching to the window.

--- Software ---  
OS: Fedora Linux 38.20230508.0 (Kinoite) 
KDE Plasma: 5.27.4 
KDE Frameworks: 5.105.0 
Qt: 5.15.9 
Kernel: 6.2.14-300.fc38.x86_64 
Compositor: Wayland 
 
--- Hardware --- 
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx 
RAM: 13.5 GB 
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Comment 1 Nate Graham 2023-05-15 19:50:54 UTC
I'm afraid this isn't really how we do things in KDE; even if it were possible to unconditionally do what you're requesting (and it's not; what counts as an "error window"?) it would be covering up bugs that need to be fixed. We should fix those specific bugs.

Instead, please submit a bug report for specific issues you face, such as "when the Plasma Vault auth window appears under X circumstance, it's not on top as I would expect." See https://community.kde.org/Get_Involved/Issue_Reporting#Things_to_avoid.

Thanks.