Bug 507543

Summary: gparted displays menu bar on both window and global menu bar
Product: [Plasma] plasmashell Reporter: Georg Schwarz <georg.schwarz>
Component: Global Menu widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde, mvourlakos, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Schwarz 2025-07-27 15:19:25 UTC
SUMMARY

On a KDE installation with global menu, gparted displays its menu on both the global menu bar as well as on a menu bar at the top of the application's window.


STEPS TO REPRODUCE
1. launch gparted on a KDE system with global menu set up.

OBSERVED RESULT

application menu is displayed in both the global menu bar and locally on the top of the application's window.


EXPECTED RESULT

application's menu is displayed on the global menu bar only.


Linux/KDE Plasma: Manjaro KDE Plasma
KDE Plasma Version:  6.3.6
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION

gparted 1.7.0

Other Gnome applications such as gnome-terminal correctly use the global menu bar only.

This blog here claimed that (on Plasma 5) gparted had no global menu since it was run as root:
https://blog.broulik.de/2018/03/gtk-global-menu/

Now with the current software it does at least have a global menu.
As an additional (maybe helpful) information, parted does not use the global menu at all on XFCE with vala-panel-appmenu.
Comment 1 Nate Graham 2025-08-07 18:17:16 UTC
This is a Gparted bug; it's up to the app to hide its in-window menubar if its menu gets exported. There's nothing any KDE code can do to force the app to do this.
Comment 2 Georg Schwarz 2025-08-08 18:36:19 UTC
I now opened https://gitlab.gnome.org/GNOME/gparted/-/issues/289