CuarzoSoftware / Firmament

Global menu bar for Cuarzo OS.
GNU General Public License v3.0
5 stars 0 forks source link

Global menu and Gtk #1

Open marcusbritanicus opened 9 months ago

marcusbritanicus commented 9 months ago

In your readme, you say this:

Gtk, EFL, and Ozone apps do not export their menus.

However, I believe it's not correct. Gtk apps do support global menu. They use dbusmenu to export the application menubar. You can find any number of screenshots that show a global menu for gimp, a classic gtk app. Would it be possible to integrate dbusmenu support (via com.cannonical.AppMenu) to Heaven and Firmament?

ehopperdietzel commented 9 months ago

Hi, I wrote that a while ago. I had read a discussion where one of the GTK developers mentioned that they no longer supported global menus in GTK 4, and there were many people upset about it. Perhaps it is now supported. I was developing this library just for that reason. However, if global menus are now supported through DBusMenu, then yes I could modify this library to be a utility for apps that don't use Qt or GTK and to simplify the integration of the menu app and compositor.

marcusbritanicus commented 9 months ago

@ehopperdietzel Thanks for the quick reply. I think you should do still support global menu via DBusMenu. There are plenty of apps that have not yet switched from Gtk3 (Gimp is one of the best examples, and Geany is another one). These apps are expected to remain Gtk3, and will take a significant time to switch to Gtk4.