Bug 444312

Summary: Wayland: When the main window is unfocused, thumbnail tooltips spawn with window decorations
Product: [Applications] konsole Reporter: Marco Rebhan <me>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version: 21.08.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=442779
https://bugs.kde.org/show_bug.cgi?id=444057
https://bugs.kde.org/show_bug.cgi?id=442375
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.