Bug 507543 - gparted displays menu bar on both window and global menu bar
Summary: gparted displays menu bar on both window and global menu bar
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: master
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-27 15:19 UTC by Georg Schwarz
Modified: 2025-08-08 18:36 UTC (History)
3 users (show)

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


Attachments

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