Description of problem:
First, sorry for assigning it to firefox. I don't know where should I report this bug.
Anyway, this happens when using Firefox under Wayland (gnome) and Firefox window has focus (Note: main menu in firefox is hidden by default in my case):
1. If I press Alt+Tab, when pressing Tab, firefox's main menu appears, and if I release them when another application is selected, main menu will disappear
2. If I press Alt+Tab like above, but cycle applications until it select firefox itself again, menu bar won't disappear.
3. (Most annoying state): I use Alt+Shift to switch keyboard layouts. So, each time I use Alt+Shift to switch keyboard layouts while in firefox, menu bar appears and doesn't disappear.
So, if you use a key combination with Alt so that when you release them firefox is still focused, its menu bar will appear (and so the menu will gain keyboard focus and your next key will hit the menu).
Version-Release number of selected component (if applicable):
I use F25 beta with all updates applied till November 9th.
This bug also affects me. I mainly experience it when using Alt+Shift to change the keyboard layout. As I fulfill my social needs through Firefox and because I use three keyboard layouts to communicate (English, Serbian in latin script and Serbian in cyrillic script) this bug makes the experience noticeably annoying.
Upstream GNOME bug: https://bugzilla.gnome.org/show_bug.cgi?id=750141
*** Bug 1398735 has been marked as a duplicate of this bug. ***
Should be fixed here:
Just update Wayland.
Tried the patch, Doesn't fix this bug :(
*** Bug 1405127 has been marked as a duplicate of this bug. ***
In Fedora 26: Alt+Tab issue is fixed, but Alt+Shift issue remains. Even using Alt+Ctrl doesn't show such problems, so I can only reproduce this problem using Alt+Shift.
Issue still exists in Fedora 26, on Wayland session and in Firefox Nightly 56.a1.
As a workaround, open about:config and change the setting named ui.key.menuAccessKeyFocuses to false. That will stop the menu from getting showed when you press Alt. You can still access the menu by clicking on the empty space in the tabs bar and selecting the option to show the menu.
(In reply to Hedayat Vatankhah from comment #0)
> Description of problem:
> First, sorry for assigning it to firefox. I don't know where should I report
> this bug.
> Anyway, this happens when using Firefox under Wayland (gnome) and Firefox
> window has focus (Note: main menu in firefox is hidden by default in my
> 1. If I press Alt+Tab, when pressing Tab, firefox's main menu appears, and
> if I release them when another application is selected, main menu will
> 2. If I press Alt+Tab like above, but cycle applications until it select
> firefox itself again, menu bar won't disappear.
> 3. (Most annoying state): I use Alt+Shift to switch keyboard layouts. So,
> each time I use Alt+Shift to switch keyboard layouts while in firefox, menu
> bar appears and doesn't disappear.
You might be using Super+Tab to switch between applications and Super+Space to switch between keyboard layouts. Nowadays™ the "Super“ key should be used for window-manager-shortcuts. See https://wiki.gnome.org/Design/OS/KeyboardShortcuts.
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
I cannot reproduce this issue any more with Firefox 57, no matter whether I allow client-side decorations or not. I think this bug report can be closed.
Created attachment 1383721 [details]
menu bar in firefox shown on the alt+shift
It seems that the issue reappeared in Firefox 57 and Fedora 27. Can the issue be reopened?
Created attachment 1383722 [details]
menu bar in firefox shown on the alt+shift
I'm unable to reproduce with Firefox 57 / Fedora 27.
I'm also unable to reproduce the issue with the same configuration (Firefox 57 / Fedora 27), using alt-tab and alt-shift-tab to test.
Dear Martin and Adrien,
To reproduce it in Firefox 57 and Fedora 27:
- make sure that you use Alt+Shift key combo for switching to another layout (Gnome Tweak Tool > Keyboard and Mouse > Additional input sources, Switching to another layout, check only that box),
- open the Firefox 57.0.4 from the updates-testing Fedora repo,
- try to alt+shift to change the layouts while the Firefox window is open.
Observe how menu is showed when the Alt key is pressed.
If that does not reproduce it, than it's maybe something related to the combination of the layouts itself. I'm using English (US) and Serbian Cyrillic (Serbia).
I was able to reproduce it with a standard fresh user on my Fedora 27 system.
I can still reproduce it in Firefox 58 stable (Fedora build) and Firefox 60 Nightly (Mozilla build), on Fedora 27.
(In reply to Марко М. Костић (Marko M. Kostić) from comment #18)
> I can still reproduce it in Firefox 58 stable (Fedora build) and Firefox 60
> Nightly (Mozilla build), on Fedora 27.
It isn't Firefox issue, it is Wayland issue.
No problems with Xorg.
Yeah... but it doesn't happen with other applications under Wayland. Only with firefox (As far as I've tested).
(In reply to Hedayat Vatankhah from comment #20)
> Yeah... but it doesn't happen with other applications under Wayland. Only
> with firefox (As far as I've tested).
It's definitely Wayland problem. Try Rambox (which also use Alt for hide and show menu bar).
Still happens in F27.
Note that if I press Shift and then Alt, the problem doesn't happen. But when I press Alt and then Shift, it happens.
I cannot reproduce on F29. Fixed? Althought upstream issues are still open...
I am still experiencing it on Fedora 28 and Firefox Beta 62.0b20 (Mozilla's build). Interestingly enough, it doesn't trigger when I try to create a GIF of it via the Peek application.
Can you leave the bug open until Fedora 29 gets released so I could verify?
Well, not only it has the same problem under F29 under wayland, I'm also experiencing a variant of this issue under X11!! It seems that the problem is more fundamental and new X11 version has exposed it here too.
Under X11, I have this problem: If I press Alt and then Shift, and then release Alt (while Shift is still pressed), firefox main menu appears and doesn't disappear when I release Shift. Any other sequence of pressing & releasing these keys doesn't show this behaviour. And in all cases keyboard layout changes successfully.