Texstudio shortcuts not working after upgrade to 16.04

I found this solution here, it works fine for TeXStudio: Edit the file

/usr/share/applications/texstudio.desktop

and change the line

Exec=texstudio %F

to

Exec=env UBUNTU_MENUPROXY= texstudio %F

NOTE: Remember to edit the file again after upgrade to version 2.12.2, released Jan 24, 2017.

NOTE (Jul 25, 2017): TeXStudio released yesterday: TeXstudio 2.12.6 (hg 6631:16db084dae24). Using Qt Version 5.5.1, compiled with Qt 5.5.1 R, works fine without any edit of file /usr/share/applications/texstudio.desktop. The nightmare is over!!!


This is bug in Qt-5 package. Remove the "appmenu-qt5" package to get the shortcuts working again.

                   sudo apt remove appmenu-qt5

This seems to induce some changes in the appearance of menu buttons in TexStudio, but the shortcuts are enabled.


A different solution to what @Socob suggested might be (for Ubuntu 16.04) to navigate to the applications folder (/usr/share/applications) as sudo, right-click on 'texstudio' and select 'Properties'. Change the 'texstudio %F' to 'env UBUNTU_MENUPROXY= texstudio %F'. At least, that did it for me. I am not aware of any downsides to this.

EDIT: As pointed out by @Orion in the comment, the HUD stops working when using this solution. This has never been an inconvenience to me, since I never use the HUD, but as always, it's good to be aware of the possible downsides.