Bug 486480

Summary: Global menu fails to re-appear after closing a dialog window in an XWayland app
Product: [Plasma] plasmashell Reporter: Nathan Upchurch <nathan>
Component: Global Menu widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, mvourlakos, nate
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:
Attachments: A video of the bug occuring with Krita

Description Nathan Upchurch 2024-05-03 00:42:42 UTC
Created attachment 169122 [details]
A video of the bug occuring with Krita

SUMMARY
In certain programs, such as Krita, Inkscape, and Scribus, the global menu disappears after a dialog is opened. It returns when the application menu is closed and re-opened. I have replicated this successfully on a fresh installation of EndeavourOS / Arch in a VM. 

STEPS TO REPRODUCE
1. Open a document in Krita, Inkscape, or Scribus.
2. Use the global menu to select an item that causes a dialog to open. In krita, I used File > Export. The global menu will now disappear.
3. Open and close the application menu. The global menu will now reappear.

OBSERVED RESULT
The global menu disappears when a dialog is opened.

EXPECTED RESULT
The global menu remains accessible when a dialog is opened.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-05-03 19:46:47 UTC
IIRC the fact that it disappears when a dialog is open is intentional and expected, so not re-appearing after the dialog is closed would be the real bug.

Those apps are all using XWayland; I'm assuming you can't reproduce this issue in Dolphin after opening and closing its config window or the properties dialog?
Comment 2 Nathan Upchurch 2024-05-03 19:48:50 UTC
(In reply to Nate Graham from comment #1)
> Those apps are all using XWayland; I'm assuming you can't reproduce this
> issue in Dolphin after opening and closing its config window or the
> properties dialog?

Yes, that's true; I can't reproduce with Dolphin.
Comment 3 Nate Graham 2025-04-05 22:10:44 UTC
I'm not able to reproduce this in current git master, which will  become Plasma 6.4 in two months. Looks like it's fixed there.