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

Many contextual menu options unavailable when using Global Menu on Linux #105

Open
alecello opened this issue Nov 15, 2020 · 2 comments
Open

Comments

@alecello
Copy link

alecello commented Nov 15, 2020

I have my KDE desktop setup with a global menu, however this causes many of the program options (inline comment style, color scheme, offset style and so on) to be grayed out and unavailable. Furthermore, those options implemented as radio buttons or check boxes become "normal" options (with no box). This is fixed by removing the global menu widget and adding it back. I am fairly certain this is not KDE's fault since I use other GTK based apps with global menu and they seem to work fine. My configuration is as follows:

  • Arch Linux (linux-zen 5.9.8)
  • KDE Plasma 5.20.3
  • Rehex git version (commit 69a1bae)

UPDATE: The issue is somewhat erratic: sometimes i get it to work without removing and re-adding the Global Menu widget by fiddling around with it, but I'm not yet sure how.

@solemnwarning
Copy link
Owner

I'll try to give this a go at some point, probably a wxWidgets bug if other applications work just fine.

@solemnwarning
Copy link
Owner

Well this took me a while to get to.

I spent some time trying to debug this today and I think its a KDE bug. I can't figure out exactly what's so special about wxWidgets applications, but I can see the behaviour you report with rehex and with the wxWidgets "menu" sample.

The global menus work in XFCE, which as far as I can tell are relying on the same mechanism to expose the menus from the application (appmenu-gtk-module), so it could possibly be an issue for applications using the older-style GtkMenuItem API instead of GMenuModel.

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

No branches or pull requests

2 participants