Package: libwayland-client0
Version: 1.22.0-1
Severity: normal
X-Debbugs-Cc: kuisma.juho+deb...@gmail.com

Hey,

Debian wayland compositor doesn't always register correct keycodes. This
can be programmatically reproduced every time, but impacts actual users
mostly on systems with higher latency, such as accessing remote virtual
machines over spice:

https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/14

The bug can be reproduced using Timo's instructions even on a local
virtual machine:

https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/14#note_1831985

This will produce incorrect output and log warnings to journal:

        Jul 11 12:33:25 testing gnome-shell[3248]: Window manager warning: 
last_user_time (85093) is greater than comparison timestamp (85091).  This most 
likely represents a buggy client sending inaccurate timestamps in messages such 
as _NET_ACTIVE_WINDOW.  Trying to work around...
        Jul 11 12:33:25 testing gnome-shell[3248]: Window manager warning: W0 
appears to be one of the offending windows with a timestamp of 85093.  Working 
around...

I originally ran into this on Debian 12, but tested that this hasn't
been fixed in the newest experimental release either.

I've only been able to reproduce this on Debian && GNOME && wayland
combination. This can't be reproduced on GNOME && Xorg, virtual
consoles, Weston nor in arch linux && GNOME && wayland combination.
Furthermore, arch wayland build has the same version as the current
experimental libwayland-client0:

        $ pacman -Q wayland
        wayland 1.22.0-1

leading me to believe the bug is somewhere in the Debian wayland
compositor build.

Cheers,
Juho Kuisma

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libwayland-client0 depends on:
ii  libc6    2.37-5
ii  libffi8  3.4.4-1

libwayland-client0 recommends no packages.

libwayland-client0 suggests no packages.

-- no debconf information

Reply via email to