Created attachment 146427 [details] screeen recording SUMMARY I can reproduce this bug with menus of Dolphin, Konsole, Ark, Gwenview and Kate. STEPS TO REPRODUCE 1. use Wayland session 2. open Dolphin 3. if the menu bar is not enabled, enabled it by pressing ctrl+m 4. click in 'View' menu, hover over 'Stop' and wait for its tooltip 5. while the tooltip is visible, hover over 'Show panels' submenu below 'Sop': 'Show panels' submenu opens and closes immediately 6. hover over 'Location bar' submenu below 'Show panels' submenu OBSERVED RESULT 'Location bar' submenu opens and the parent menu disappears. Watch the attached screen recording please. EXPECTED RESULT parent menu should not disappear when a submenu opens SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 Graphics Platform: Wayland
It looks like the view submenu is destroyed, the view menu still responds to input because kwin sends pointer input to the main dolphin window and qt redirects input internally. Moving to dolphin. If dolphin doesn't hide it, then it's definitely a qtwayland bug.
It looks like the view menu is destroyed*
Can reproduce with current git master on Fedora 35.
(In reply to Vlad Zahorodnii from comment #1) >Moving to dolphin. Patrick Silva says he "can reproduce this bug with menus of Dolphin, Konsole, Ark, Gwenview and Kate." >If dolphin doesn't hide it, then it's definitely a qtwayland bug. I don't think Dolphin hides it. I am not aware of anything interesting happening in the menu bar menus of Dolphin and I also did a crude search to confirm. It kind of looks like the disappearing of the tooltip triggers the destruction of the menus. The hiding happens here https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/ktooltiphelper.cpp#L150 but that shouldn't have any side-effects. There hasn't been any non-style changes in that file for 7 month anyway so I don't think that's the issue.
Cannot reproduce. Operating System: Arch Linux KDE Plasma Version: 5.25.90 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Graphics Platform: Wayland