Bug 444312 - Wayland: When the main window is unfocused, thumbnail tooltips spawn with window decorations
Summary: Wayland: When the main window is unfocused, thumbnail tooltips spawn with win...
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-24 09:04 UTC by Marco Rebhan
Modified: 2022-04-27 18:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2021-10-24 09:04:46 UTC
SUMMARY
This is most likely caused by the underlying QMenu not having its parent widget set. On Wayland, this has to be in order for the window for the QMenu to be created correctly.

Related konversation issue: bug 442779 (note that there the problem occurs with context menus, not tooltips)

STEPS TO REPRODUCE
1. Open Konsole, enable thumbnails and highlighting paths if necessary
2. Print a path to an image/other file (e.g. via ls)
3. Focus another window
4. Hover over the path

OBSERVED RESULT
The tooltip opens in a window with decorations.

EXPECTED RESULT
The tooltip opens as a tooltip window under the mouse cursor.

SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.8
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: Radeon RX Vega

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2021-10-25 19:46:05 UTC
Same bug with tooltips of Filelight, see bug 444057
Comment 2 Nate Graham 2022-04-27 18:57:46 UTC
Can confirm.