After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787411 - [Wayland] Alt-shown hidden menubar cannot be interacted with
[Wayland] Alt-shown hidden menubar cannot be interacted with
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
3.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks: 787337
 
 
Reported: 2017-09-07 13:50 UTC by Jean-François Fortin Tam
Modified: 2017-09-11 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (2.90 KB, patch)
2017-09-08 10:37 UTC, Milan Crha
committed Details | Review

Description Jean-François Fortin Tam 2017-09-07 13:50:04 UTC
If you hide Evolution's menubar (on purpose or by mistake), the only way to get it back is to press and hold the Alt key... except that this doesn't work on Wayland (GNOME Shell 3.24, F26), because you can't click the menu with the Alt key held down nor can you use the shortcut letters to activate one of the top menus with the alt key held down.
Comment 1 Milan Crha 2017-09-08 08:58:24 UTC
Thanks for a bug report. That's pretty unfortunate. I do not know whether you managed to show the menu back already, but if you want, then run:

   $ gsettings set org.gnome.evolution.shell menubar-visible true
Comment 2 Milan Crha 2017-09-08 10:37:58 UTC
Created attachment 359391 [details] [review]
evo patch

for evolution;

This fixes it by adding timeout before the menu is hidden and also checking whether anything is selected, which means there's a popup, thus the menu should not be hidden (there is no opposite signal to "deactivated", which I've been missing earlier). This also slightly improves situation when showing the menu with the Alt key and clicking on any item with the mouse. With the change one can show the menu, then release the Alt key and then click on the desired item. I chose only 500ms timeout, to not have the menu visible for too long, but if there would be a need to last it longer, then I'm not against it.
Comment 3 Milan Crha 2017-09-11 14:53:00 UTC
Created commit 8b934e3 in evo master (3.27.1+)
Created commit ff1a472 in evo gnome-3-26 (3.26.1+)