← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2116542] Re: Incorrect handling of shift key in spice terminal

 

FTR, quoting the upstream discussion:

Dragan M:
"""
I have investigated a bit more, and came to a different conclusion. It is neither Wayland, nor spice client, nor remote-viewer. It is Gtk/Gdk!

[...]

Gdk: It has completely different keyboard handling implementations for X
and for Wayland (gdk/x11/gdkkeys-x11.c and gdk/wayland/gdkkeys-
wayland.c). Seems to be rewritten from scratch for Wayland. (Unless I am
mistaken, which very much may be, the source of keyboard events is XKB
in both cases, and it should have been unified, with only glue code
being different.)

[...]
"""

So I'm adding a bug task for src:gtk4, which contains the gdkkeys.h
header in libgtk-4-dev.

** Also affects: gtk4 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2116542

Title:
  Incorrect handling of shift key in spice terminal

Status in spice-xpi:
  New
Status in gtk4 package in Ubuntu:
  New
Status in spice package in Ubuntu:
  Triaged
Status in gtk4 source package in Questing:
  New
Status in spice source package in Questing:
  Triaged

Bug description:
  I am using the KDE desktop with Wayland.
  For the keyboard I have enabled the compatibility option "Shift cancels Caps Lock".
  I am using virt-manager to start a virtual machine with a desktop using spice for the graphics output.

  When pressing the shift key in the VM it does not behave as expected
  but seems to activate Caps Lock within the VM.

  The issue has already been observed by other users:
  https://www.reddit.com/r/kvm/comments/1dpoxza/shift_key_stuck_in_vm/

  The problem does not occur in an X11 session.
  The problem does not occur with Wayland if "Shift cancels Caps Lock" is deactivated. 

  To get started with understanding the problem probably tracing the key
  events received by spice would help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/spice-xpi/+bug/2116542/+subscriptions