Bug 464239

Summary: Bookmark menu opens dropdown in a new window if application launcher is open
Product: [Applications] konsole Reporter: Willyanto <willyanto39>
Component: bookmarkAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, herzenschein, p.r.worrall
Priority: NOR Keywords: wayland
Version: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Willyanto 2023-01-13 14:33:36 UTC
SUMMARY
Opening bookmark menu while application launcher is open will open dropdown in a new window

STEPS TO REPRODUCE
1. Open konsole
2. Open application launcher
3. Click bookmark menu on konsole
4. Dropdown is shown in a new window

OBSERVED RESULT
Bookmark dropdown is shown in a new window

EXPECTED RESULT
Clicking bookmark menu should not cause dropdown to be shown in a new window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 37 Kinoite
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 1 Paul Worrall 2023-01-13 23:13:43 UTC
Confirmed on Wayland but not X11.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Comment 2 Kurt Hindenburg 2023-04-28 23:18:56 UTC
OK that's a new one on me - confirmed on Wayland w/ Konsole master
Comment 3 Thiago Sueto 2023-04-29 01:07:36 UTC
To be more precise, this happens when Konsole is not currently focused. Just having another application open and focused and then clicking on Bookmarks is enough to trigger the bug.

This seems to only happen with this specific menu.

Given https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Popup_Menus it might be worth checking how the parent is being set for the bookmark menu specifically?