Public bug reported:

After upgrading to Ubuntu 21.04 with Wayland as default, the arrow keys
on my Japanese 108-key USB keyboard scroll in LibreOffice Calc as though
scroll lock is toggled on (even though the scroll lock light is not on)
instead of moving the cell in focus. (This happens with the US-intl
keyboard layout too.) The arrow keys work as expected in other programs
though, including LibreOffice Writer.

If I switch to the default US keyboard layout, the arrow keys on the
same keyboard work properly: moving the cell in focus.

I tried removing grp_led:scroll from
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll" in
/etc/default/keyboard, but that did not fix it.

I also tried uninstalling LibreOffice and removing the config files as
explained here, but that didn't fix it either.

This was not a problem in Ubuntu 20.10 and the Japanese USB keyboard
arrow keys work correctly in LibreCalc on Windows, so the issue appears
to be specific to Ubuntu 21.04, not LibreOffice, nor this keyboard.

As a workaround, if I start the session with Xorg instead, the arrow
keys work as expected with any keyboard layout. Therefore, this bug
appears to be related to Wayland.

I was encouraged to file this bug report for gnome-shell in the comments
on this AskUbuntu post: https://askubuntu.com/questions/1356052/why-do-
japanese-keyboard-arrow-keys-scroll-in-libreoffice-calc-but-move-cell-
wit/1356059?noredirect=1#comment2321519_1356059

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gnome-shell 3.38.4-1ubuntu3~21.04.1
ProcVersionSignature: Ubuntu 5.11.0-25.27-generic 5.11.22
Uname: Linux 5.11.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug  7 12:18:23 2021
DisplayManager: gdm3
InstallationDate: Installed on 2020-02-05 (548 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
RelatedPackageVersions: mutter-common 3.38.4-1ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2021-07-06T20:58:08.463515

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1939186

Title:
  Wayland causes arrow key scroll lock behavior when using Japanese or
  US-intl keyboard layouts

Status in gnome-shell package in Ubuntu:
  New

Bug description:
  After upgrading to Ubuntu 21.04 with Wayland as default, the arrow
  keys on my Japanese 108-key USB keyboard scroll in LibreOffice Calc as
  though scroll lock is toggled on (even though the scroll lock light is
  not on) instead of moving the cell in focus. (This happens with the
  US-intl keyboard layout too.) The arrow keys work as expected in other
  programs though, including LibreOffice Writer.

  If I switch to the default US keyboard layout, the arrow keys on the
  same keyboard work properly: moving the cell in focus.

  I tried removing grp_led:scroll from
  XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll" in
  /etc/default/keyboard, but that did not fix it.

  I also tried uninstalling LibreOffice and removing the config files as
  explained here, but that didn't fix it either.

  This was not a problem in Ubuntu 20.10 and the Japanese USB keyboard
  arrow keys work correctly in LibreCalc on Windows, so the issue
  appears to be specific to Ubuntu 21.04, not LibreOffice, nor this
  keyboard.

  As a workaround, if I start the session with Xorg instead, the arrow
  keys work as expected with any keyboard layout. Therefore, this bug
  appears to be related to Wayland.

  I was encouraged to file this bug report for gnome-shell in the
  comments on this AskUbuntu post:
  https://askubuntu.com/questions/1356052/why-do-japanese-keyboard-
  arrow-keys-scroll-in-libreoffice-calc-but-move-cell-
  wit/1356059?noredirect=1#comment2321519_1356059

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: gnome-shell 3.38.4-1ubuntu3~21.04.1
  ProcVersionSignature: Ubuntu 5.11.0-25.27-generic 5.11.22
  Uname: Linux 5.11.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Aug  7 12:18:23 2021
  DisplayManager: gdm3
  InstallationDate: Installed on 2020-02-05 (548 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  RelatedPackageVersions: mutter-common 3.38.4-1ubuntu2
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2021-07-06T20:58:08.463515

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1939186/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to