Bug 504410 - When detecting window properties yakuake disappears
Summary: When detecting window properties yakuake disappears
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (other bugs)
Version First Reported In: 6.3.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-17 10:56 UTC by Jonathan Isom
Modified: 2025-05-19 14:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Isom 2025-05-17 10:56:55 UTC
SUMMARY
In settings when using "Detect Window Properties" under "Window Rules" with a delay to bring Yakuake on screen, the activation of the selector hides the window with no way to bring it back up.  This worked fine on prior Plasma 6 versions.

STEPS TO REPRODUCE
1. In Yakuake make sure to disable "Keep Window open when it loses focus" needs to be set.
2. In a window rule, click detect Window Properties with a delay
3. Press hotkey to bring Yakuake up before delay ends

OBSERVED RESULT
Window disappears

EXPECTED RESULT
Ability to click window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.90
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-273-linux-tkg (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4080
Product Name: X570M Pro4
Comment 1 Ismael Asensio 2025-05-17 11:36:26 UTC
Can confirm also on master. This also happens for any window that closes when focus is lost, such as non-pinned applet popups.

An easy way to test is `qdbus org.kde.KWin /KWin org.kde.KWin.queryWindowInfo`, which is the same method the rules dialog calls for detecting window properties. 

This method is directly or indirectly making the active window lose focus, which causes the observed bug