Description of problem: When running firefox on weston, Alt modifier key is not handled. Steps to Reproduce: 1. Launch Firefox 2. Visit some pages 3. Press Alt + ← or Alt + → Actual results: Latter reproducible step expects to fire "GoForward" or "GoBack" event, then moving visited pages which listed on history in current tab. Expected results: Nothing to do. Additional info: Firefox handles modifier keys by itself. It depends on X11. And when not existing X11, mModifierMasks is always set as 0. https://dxr.mozilla.org/mozilla-central/source/widget/gtk/nsGtkKeyUtils.cpp#197 https://dxr.mozilla.org/mozilla-central/source/widget/gtk/nsGtkKeyUtils.cpp#433 Used commands: $ weston And in another terminal, $ WAYLAND_DISPLAY=wayland-1 GDK_BACKEND=wayland ./mach run
$ WAYLAND_DISPLAY=wayland-1 GDK_BACKEND=wayland firefox-wayland is also usable to confirm this bug.
(In reply to Hiroshi Hatake from comment #0) > Actual results: > > Latter reproducible step expects to fire "GoForward" or "GoBack" event, then > moving visited pages which listed on history in current tab. > > Expected results: > > Nothing to do. Oops, "Actual results" and "Expected results" are reversed XD
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
I can confirm this running gnome-shell + firefox-wayland in flatpak from https://firefox-flatpak.mojefedora.cz/
Same on Fedora 28 with the latest firefox-wayland binary
Same deal, is there a workaround?
I have a minimum patch for this issue: https://github.com/webdino/meta-browser/blob/firefox-52esr/recipes-mozilla/firefox/firefox/wayland/gem/0001-Add-ad-hoc-solution-to-enable-Alt-modifier-on-Waylan.patch I'll post it to bugzilla.mozilla.org.
(In reply to ashie from comment #7) > I'll post it to bugzilla.mozilla.org. https://bugzilla.mozilla.org/show_bug.cgi?id=1468670
*** Bug 1592493 has been marked as a duplicate of this bug. ***
Let's track it upstream.