Bug 479956 - windows lose focus and re-shade when using a menu with unshade-on-hover
Summary: windows lose focus and re-shade when using a menu with unshade-on-hover
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: Window shading (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-17 18:29 UTC by David Greaves
Modified: 2024-06-25 15:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Greaves 2024-01-17 18:29:06 UTC
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