cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GTK issue in firefox

bs-houssam
Making moves

I'm using Plasma as my desktop environment, and I have a widget, Global Menu, that makes any software menu appear in the top panel like MacOS. Yet Firefox's menu does not appear like any other software unless I launch Firefox in the terminal followed by this command: "GTK_USE_PORTAL=1. "Even though I launch Firefox that way, the issue appears again after I minimize it or open another software.

2 REPLIES 2

Capped7
Making moves

Hello,
This feature was added in Firefox 138, but it had some issues. In Firefox 139, which is currently in beta, the global menu works well. To enable it, go to about:config and set the following preferences to true:

  • widget.gtk.global-menu.enabled

  • widget.gtk.global-menu.wayland.enabled

  • widget.gtk.native-context-menus

Hello,

I'm having the same issue here, but none of the solutions you list are working: I have the 3 options widget.gtk.global-menu.enabled, widget.gtk.global-menu.wayland.enabled and widget.gtk.native-context-menus set to "true", and whether I run firefox from the menu or from a terminal, and whether the environment variable GTK_USE_PORTAL is set to 1 or not, Firefox menus do not appear in the global menu bar. My Firefox version is 140.4.0, and I'm using KDE Plasma 5.27.11. I've seen elsewhere that libdbus should be installed, and I checked: it is.

Is there any other requirement for the global menu to work? Basically, Firefox is the only application I use that doesn't display its menu in the global menu bar, it's a bit of a shame.