shell icon indicating copy to clipboard operation
shell copied to clipboard

Launcher Shortcuts Keyboard shortcuts (Ctrl J/K) not working in Wayland

Open petertriho opened this issue 4 years ago • 12 comments

(1) Issue/Bug Description: Cannot scroll through launcher list using Ctrl J/K (arrow keys work) in Wayland.

This works when I switch to X11.

This works on my laptop (wayland + x11) but not on my pc (x11 only). So it must be a setup specific issue.

(2) Steps to reproduce (if you know):

  1. Activate Launcher
  2. Search for something
  3. Try and scroll through launcher list using Ctrl J/K

(3) Expected behavior: Should be able to scroll through launcher list using Ctrl J/K

(4) Distribution (run cat /etc/os-release):

NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

(5) Gnome Shell version: 3.38.2

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

gnome-shell-extension-pop-shell-1.1.0-2

(7) Where was Pop Shell installed from: pacman

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): 16:9 (1080p) + 21:9 (1440p)

(9) Other Installed/Enabled Extensions:

(10) Other Notes:

petertriho avatar Jan 11 '21 08:01 petertriho

Ctrl + number and Ctrl + N/P does not work either

petertriho avatar Jan 11 '21 09:01 petertriho

Both C-J/K and C-N/P work here on Arch Linux/Wayland with https://aur.archlinux.org/packages/gnome-shell-extension-pop-shell-git/ (commit https://github.com/pop-os/shell/commit/15575287dc82f91823d44be0c0dd31f62079510d) and Gnome 3.38.3-1.

edgar-vincent avatar Jan 15 '21 16:01 edgar-vincent

There is a good chance this is manjaro specific thing and not an upstream issue at all, since Manjaro does not use the default hjkl keybindings from pop shell. We use wasd instead. I'll look into this from our end.

Chrysostomus avatar Jan 16 '21 06:01 Chrysostomus

I'm not too sure if it is even a manjaro related issue. When I switch back to x11, the launcher keybindings work. On my other device (lenovo c940), the keybindings work in both x11 and wayland. It's just on my pc that it does no work on wayland

petertriho avatar Jan 16 '21 06:01 petertriho

Okay, then it is not related to the change.

Chrysostomus avatar Jan 16 '21 06:01 Chrysostomus

Fedora 33 / Gnome 3.38.3 / Wayland; Both C-J/K and C-N/P work fine but not Ctrl+n.

LorenRiccie avatar Feb 04 '21 17:02 LorenRiccie

Bump: Ctrl + (number) does not work on Wayland (Pop!_OS 20.04 / Pop Shell 1.1.0~1613083995~20.04~6b2287f).

lfom avatar Feb 16 '21 14:02 lfom

It also doesn't work for me on X11

$ gnome-shell --version
GNOME Shell 3.36.9
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Installed pop-shell manually

gugahoa avatar Jul 17 '21 15:07 gugahoa

Seems related to this: https://github.com/pop-os/shell/issues/1047 I switched from us-intl to another layout without variant and it worked

gugahoa avatar Jul 17 '21 15:07 gugahoa

Using swedish keyboard layout, I am having this issue too. Switching to swedish (no dead keys) layout, it works fine. I am on pop os x11.

Enayaaa avatar Oct 31 '21 09:10 Enayaaa

I am using Pop!_OS 22.04 and this bug is happening to me as well when I don´t use the primary keyboard.

Steps to reproduce:

  1. Go to Settings > Keyboard
  2. Add more the one keyboard in the "Input Sources" section
  3. Open 2 or more applications
  4. Hit Super + / to execute the launcher. You gonna see a list a currently executed applications with a corresponding shortcut (Ctrl + )
  5. Hit Ctrl + to switch to an application

Expected result: switch to the application corresponding to the number entered

Result: nothing happens.

When I change to the primary keyboard, it works as expected.

nielsonrolim avatar Nov 25 '22 17:11 nielsonrolim

I have same issue on both Ubuntu 20.04 and 22.04

ctrl-j ctrl-number ctrl-p

ubuntu 22.04 was recently installed and updated

seems like this issue has been out for at least a year... any luck?

As a note: these shortcuts work for me in the browser, so its not an OS errors but seems like an error in slack

asafarevich avatar Jun 14 '23 05:06 asafarevich