Created attachment 129572 [details] global menu on wayland SUMMARY Global menu appears in new window Linux/KDE Plasma: KDE Plasma Version: 5.19.1 KDE Frameworks Version: 5.71.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION
Reproduced also when opening a sub menu in a the context menu of a panel. Right click on a panel > hover over add a panel > instead of a submenu we have a window.
it seems related to bug 417378
The problem is that the app menu window has no parent, so Qt resorts to creating an xdg_toplevel surface rather than an xdg_popup surface. It's a dup 417378. *** This bug has been marked as a duplicate of bug 417378 ***
*** This bug has been marked as a duplicate of bug 430662 ***