Closed Bug 1538052 Opened 6 years ago Closed 6 years ago

[Wayland][sway compositor] The alt key does not register as a modifier key

Categories

(Core :: Widget: Gtk, defect, P3)

66 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1519940

People

(Reporter: tormen, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

On Archlinux:
Logging in as non-root user on tty, starting sway (1.0) with GDK_BACKEND=wayland set
Launching sakura shell
Launching "firefox --safe-mode -P mine"
Google search, click
Alt <cursor-left>

Ctrl+[ works!

And if repeated without GDK_BACKEND=wayland set, then it works as well!

Actual results:

Nothing

Expected results:

Page back.

Also: launching sudo evemu-record > recording2.evemu
shows the correct keystrokes!

Should I attach the log ?
Do you need anything else ? (e.g. sway log, journalctl ?, firefox CLI output ?)

Thanks in advance!

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Potentially this is a duplicate of: https://bugzilla.mozilla.org/show_bug.cgi?id=1519940

There are these two - marked as resolved - old bugs that seem related:

https://bugzilla.mozilla.org/show_bug.cgi?id=1468670
https://bugzilla.mozilla.org/show_bug.cgi?id=1511973

I just noticed that can be related and is strange and seems off:

using the keepassxc addon there is the possiblity to configure keybaord shortcuts and this allows entering a shortcut, which gets translated into a TEXT description of the shortcut.

The default shortcut is Alt+Shift+U for instance (to enter username + password from keepassxc), well, if I try to set a new shortcut and I press ALT + SHIFT + U then the config page of keepassxc shows "Meta+Shift+U"! :D

... why does it not say "Alt+Shift+U" if I press Alt ? (META should be the windows-key)
... and on top of this: If I LEAVE the default "Alt+Shift+U" and I press it, it works ! :)

... I know maybe it's just the addon that is wrong here... but I don't know how I can check the same in --safe-mode.
But I would be happy to test this for you if I can test "how firefox perceives certain shortcuts" ... (META or ALT ;)).

Plase let me know what can I do to help (assign this bug) ?

Has STR: --- → yes

I'm pretty sure this is a duplicate of bug 1519940; I've documented some of my investigation into the bug there.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.