Bug 444312

Summary: Wayland: When the main window is unfocused, thumbnail tooltips spawn with window decorations
Product: [Applications] konsole Reporter: Katalin Rebhan <me>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: akselmo, bugseforuns, nate
Priority: NOR    
Version First Reported In: 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 Katalin 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.
Comment 3 Akseli Lahtinen 2025-02-27 09:51:29 UTC
Unable to reproduce this anymore, closing

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600