Bug 486480 - Global menu fails to re-appear after closing a dialog window in an XWayland app
Summary: Global menu fails to re-appear after closing a dialog window in an XWayland app
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 00:42 UTC by Nathan Upchurch
Modified: 2025-04-05 22:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:


Attachments
A video of the bug occuring with Krita (1.37 MB, video/webm)
2024-05-03 00:42 UTC, Nathan Upchurch
Details

Note You need to log in before you can comment on or make changes to this bug.
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.