Public bug reported:

I run a Wayland Ubuntu desktop.

I recently upgraded from Ubuntu 22.04 to 24.04 and noticed that my
Windows+Shift+3 keyboard shortcut to move a window to workspace 3 has
stopped working for gnome-terminal when the main terminal window has the
focus. Instead it just causes the a £ sign to be sent to the terminal.
The behaviour of the shortcut is similar in text-entry boxes of GTK-
using applications such as Firefox and gedit: a £ sign is inserted.

When a text-entry box does not have the focus in all these applications
the shortcut works correctly.

Other Windows+Shift+number shortcuts work correctly in all these
applications whether a text entry box has the focus or not.

The shortcut works correctly in KeepassXC (a QT application), Emacs (an
X11 GTK application that has its own input handling) and xterm (an X11
non-GTK application) even when text input is expected.

If I run:

 WAYLAND_DISPLAY= gedit

to force gedit to use X11 then the keyboard shortcut works as expected.

My only input source is set to "English (UK)" which implies that this
problem relates to the Shift+3 keystroke generating a different keypress
to other keyboard layouts.

If I configure an alternative input source of "English (US)" and use
that the the Windows+Shift+3 keyboard shortcut works correctly in all
applications whether a text input box is focussed or not.

This all implies to me that this problem as reported is specific to UK
keyboard layouts and applications using GTK (or some other Gnome library
on top of GTK) with Wayland.

For the avoidance of doubt, the keyboard shortcut I have configured is:

 $ dconf read /org/gnome/desktop/wm/keybindings/move-to-workspace-3 
 ['<Shift><Super>3']

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-terminal 3.52.0-1ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-44.44-generic 6.8.12
Uname: Linux 6.8.0-44-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 15 11:38:47 2024
InstallationDate: Installed on 2020-04-18 (1611 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to noble on 2024-08-31 (15 days ago)
mtime.conffile..etc.init.d.apport: 2024-07-22T15:59:07

** Affects: ubuntu
     Importance: Undecided
         Status: New


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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080763

Title:
  Super+Shift+3 keyboard shortcut on UK keyboard doesn't work when text
  input is expected in GTK applications

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2080763/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to