Bug 463478

Summary: Old window keeps showing tooltip when Alt-Tabbing
Product: [Plasma] kwin Reporter: Miroslav Jarý <mira.jary>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.26.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Before and after alt-tabbing

Description Miroslav Jarý 2022-12-26 09:14:06 UTC
Created attachment 154826 [details]
Before and after alt-tabbing

SUMMARY
Tooltips from inactive windows are rendered above the active one.

STEPS TO REPRODUCE
1. Open any application
2. Hover over an element which can display a popup (e.g. hover over a bookmark on Firefox shows me the full name of the bookmark and its address).
3. Swicth to different window while keeping the mouse in place.

OBSERVED RESULT
The tooltip is still displayed, and it's rendered above the window I switched to. The only way I can hide it is to go back to the window, so that the element loses focus.

EXPECTED RESULT
The element which caused the tooltip to appear gets unhovered or the tooltip is rendered below the active window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.1-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 11,5 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Acer
Product Name: Aspire A515-56
System Version: V1.26

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2023-01-06 10:47:18 UTC
On Wayland, kwin can dismiss popups.

On X11, kwin can't do that because popups are usually override-redirect windows, it can't touch them. The best chance of fixing this issue would be to report it to Firefox developers.