Closed Bug 1744536 Opened 4 years ago Closed 2 years ago

Changing Accel key to Meta/Super does not work under Wayland

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1857289

People

(Reporter: ozcanesen, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

  1. Go to "about:config"
  2. Set "ui.key.accelKey" to 91
  3. Close Firefox
  4. Start Firefox with "MOZ_ENABLE_WAYLAND=0 firefox"
  5. Go to "about:support", confirm "Graphics > Window Protocol" is "xwayland"
  6. Press Meta/Super+T, It opens New Tab, Press Meta/Super+W, Closes Tab
  7. Close Firefox and restart with "MOZ_ENABLE_WAYLAND=1 firefox".
  8. Go to "about:support", confirm "Graphics > Window Protocol" is "wayland"
  9. Press Meta/Super+T, no new tab is open and just types "t". Press Meta/Super+W, tab is not closed and just types "w".

I can reproduce this problem under multiple Wayland compositors.

  • weston 9.0.0
  • sway-git r6825.02b412a3-1 ( wlroots-git 0.14.0.r413.g812ab2e7-1 )

Other related versions:
wayland 1.19.0-2
wayland-protocols 1.24-1
xorg-xwayland 21.1.3-1

I also tested both stable Firefox and clean build Trunk.

  • Firefox (94.0.2)
  • Firefox Trunk (bookmarks/central revision 94bf4d01a02d7bda2f0543d8ee8667826f3ec52d) built using default settings plus (--disable-optimize, --disable-debug, --disable-tests)

Alternatively instead of using keycode 91, I tried 224 , which didn't work on both xwayland and wayland.

I already have codebase, if you give me some pointers in the codebase I can try to trace the problem further.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

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

Can reproduce this.

Setting "ui.key.accelKey" to 91 works well under Xwayland

However, Firefox doesn't treat Win(Super_L) key as modifier key under Pure Wayland

Blocks: wayland
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1857289
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: