Bug 433420 - Under Wayland, submenus in "single button" global menu open in regular window with window decorations, application loses focus
Summary: Under Wayland, submenus in "single button" global menu open in regular window...
Status: RESOLVED DUPLICATE of bug 430662
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu (show other bugs)
Version: 5.21.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-22 08:45 UTC by phrxmd
Modified: 2021-02-23 04:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Plasma 5.21 global menu under Wayland: in Single Button mode, for Kate, showing submenu opened with window decorations, and Kate lost focus to Plasma (2.10 MB, image/png)
2021-02-22 08:45 UTC, phrxmd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phrxmd 2021-02-22 08:45:18 UTC
Created attachment 136030 [details]
Plasma 5.21 global menu under Wayland: in Single Button mode, for Kate, showing submenu opened with window decorations, and Kate lost focus to Plasma

SUMMARY
In the Wayland session, When the Global Menu applet is configured to show a single button instead of the whole menu, the top-level menu will open fine, but opening any submenu will cause the application to lose focus and open a regular window, with decorations, showing an unrelated Plasma menu.

STEPS TO REPRODUCE
1. Put Global Menu applet in panel, configure to show a single button instead of the whole menu
2. Open a KDE application (e.g. Kate or Dolphin)
3. Click on global menu button, the menu opens
4. Hover mouse over any entry that opens a submenu

OBSERVED RESULT
The application loses focus, in place of the regular submenu a window with regular window decorations and an unrelated Plasma menu appears (see screenshot) 

EXPECTED RESULT
The regular submenu should open as usual.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210220
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620

ADDITIONAL INFORMATION
When Global Menu is configured to show the full menu instead of a single button, all submenus work just fine.
Comment 1 phrxmd 2021-02-22 08:59:54 UTC
Update: in fact it is the correct menu (so no unrelated Plasma window), it just opens in a regular window, switching focus to Plasma and causing the application to lose focus. Description updated accordingly.
Comment 2 Nate Graham 2021-02-23 04:24:07 UTC

*** This bug has been marked as a duplicate of bug 430662 ***