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

Keyboard shortcuts only work when toolbar is visible #288

Closed
dwu opened this Issue Aug 13, 2016 · 10 comments

Comments

Projects
None yet
2 participants
@dwu
Contributor

dwu commented Aug 13, 2016

It seems that since the configurable keyboard shortcuts feature was introduced (which is great, by the way) keyboard shortcuts only work when the toolbar is visible.

Tested on 16.08.8 on Linux.

@pbek

This comment has been minimized.

Owner

pbek commented Aug 13, 2016

Thank you for your report and your kind words!

Which desktop environment are you using?

When using Unity (that is using no menu bar in the app) none of the shortcuts worked any more because I guess they are bound to the visibility of their action items somewhere (seems like a Qt thing). That was also the reason why I move so much stuff to the toolbar, so that at least there the action was "visible"...

Did it really work before the new configurable shortcuts were introduced?

@dwu

This comment has been minimized.

Contributor

dwu commented Aug 13, 2016

You're right. Thanks for the hint!

I've recently switched to Unity on my laptop which happened roughly at the same time as the customizable keyboard settings was introduced.

Removing the global application menu for QT applications solves the issue.

@pbek

This comment has been minimized.

Owner

pbek commented Aug 13, 2016

Removing the global application menu for QT applications solves the issue

What do you mean by that? Is there anything I can do? I'd love to...

@pbek

This comment has been minimized.

Owner

pbek commented Aug 13, 2016

Ah, you meant removing it in Unity... I need a fix where the shortcuts still work when no menu bar and no toolbar is present. :)

@dwu

This comment has been minimized.

Contributor

dwu commented Aug 13, 2016

Yes, that would be the perfect solution. However, working around the issue by disabling Unity's global menu for QT applications is perfectly fine... at least for me. Thanks for the quick response!

@pbek

This comment has been minimized.

Owner

pbek commented Aug 13, 2016

If I find a solution I'll let you know. Of course you are welcome to research yourself and let me know. There must be a way. I think KDE made their menu bar also turn-off-able...

@pbek pbek closed this Aug 13, 2016

@pbek pbek added this to the 16.08.9 milestone Aug 14, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Aug 14, 2016

16.08.9

  • all shortcuts from the main menu should now also work if your desktop
    environment doesn't show the main menu bar (like Unity does)

@dwu, could you please test that when the new version comes out.

@pbek

This comment has been minimized.

Owner

pbek commented Aug 14, 2016

There now is a new release, could you please test it and report if the new features work for you?

@dwu

This comment has been minimized.

Contributor

dwu commented Aug 14, 2016

Tested on Ubuntu 16.04.1 with Unity. Works perfectly. Thanks for the incredibly quick fix! :)

For future reference, the issue with keyboard shortcuts for QT applications not working in Unity is due to appmenu-qt5 automatically hiding the original QMenuBar and was reported at Ubuntu's bugtracker years ago (more details in comments #6 and #8). It's a pity they still continue to install and enable appmenu-qt5 by default.

@pbek

This comment has been minimized.

Owner

pbek commented Aug 14, 2016

Oh man, that's really a pitty... Thank you for letting me know!

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