tetzank / qmenu_hud

a small menu search program, similar to Unity's HUD
Other
45 stars 3 forks source link

Using QMenu hides the actual menu #10

Open sbrl opened 5 years ago

sbrl commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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!