Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global menu and Gtk #1

Open
marcusbritanicus opened this issue Feb 24, 2024 · 2 comments
Open

Global menu and Gtk #1

marcusbritanicus opened this issue Feb 24, 2024 · 2 comments

Comments

@marcusbritanicus
Copy link

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
Copy link
Member

ehopperdietzel commented Feb 24, 2024

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
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants