Bug 463478 - Old window keeps showing tooltip when Alt-Tabbing
Summary: Old window keeps showing tooltip when Alt-Tabbing
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.26.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 09:14 UTC by Miroslav Jarý
Modified: 2023-01-06 10:47 UTC (History)
0 users

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


Attachments
Before and after alt-tabbing (61.89 KB, image/png)
2022-12-26 09:14 UTC, Miroslav Jarý
Details

Note You need to log in before you can comment on or make changes to this bug.
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.