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

Using QMenu hides the actual menu #10

Open
sbrl opened this issue Jan 14, 2019 · 2 comments
Open

Using QMenu hides the actual menu #10

sbrl opened this issue Jan 14, 2019 · 2 comments

Comments

@sbrl
Copy link

sbrl commented Jan 14, 2019

I've installed QMenu via the AUR on my system, and while it's working great, I'm now having an issue where the regular menu bar of the applications I'm using have disappeared. Example:

screenshot_2019-01-14_15-30-30

While I like using QMenu to find buried commands in the menu, I like using the menu directly sometimes. Is there any way to both use QMenu and display the regular menu bar at the same time?

@tetzank
Copy link
Owner

tetzank commented Feb 10, 2019

The technique used to get hold of the menu entries is actually meant for a global menu. That is why the applications hide their local menu bars as they expect there is a global menu displayed somewhere already.

As I like to get rid of the menu bar, I never really investigated the issue. Others tried various config settings and environment variables, like "export APPMENU_DISPLAY_BOTH=1" (which doesn't work for me with Qt5 applications).

The toolkits have changed how they handle global menus in the meantime. I don't know what's the current situation. The latest info I have is the following blog post, last paragraph:
https://blog.broulik.de/2018/03/gtk-global-menu/

Qt has no setting currently. GTK might have.

You can always kill qmenu_registrar every now and then...

@sbrl
Copy link
Author

sbrl commented Feb 10, 2019

I see. Thanks for the reply!

I think it looks like a waiting game until it's fixed then - what with all the issues in dependent projects.

Sort of makes you wonder how the Unity desktop managed to pull it off!

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