SUMMARY Some windows lose focus and re-shade when using a menu (Eg Firefox, Thunderbird, gitk, Chromium, LibreOffice) Others (Konsole) will do this with dialog boxes. STEPS TO REPRODUCE 1. Appearance > Window Management > Window Behaviour > Advanced Tab > Enable Window unshading On titlebar hover after "250ms" 2. Shade a Firefox window (I double click on titlebar) 3. Move mouse over titlebar - window unshades correctly. 4. Right click in a text area to get a menu for cut/paste etc. OBSERVED RESULT Window and menu vanishes EXPECTED RESULT Window stays visible until the focus leaves the window or any child window. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-17-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 123.7 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7C91 System Version: 2.0 ADDITIONAL INFORMATION