Bug#684605: x11-xkb-utils: xkbcomp breaks mouse events with non-English keyboard layout
Control: reassign -1 awesome Control: notforwarded -1 On Sat, Nov 24, 2012 at 13:45:14 -0500, Antoine Beaupré wrote: Package: x11-xkb-utils Version: 7.7~1 Followup-For: Bug #684605 affects 684605 awesome fixed 684605 7.6+4 forwarded 684605 https://bugs.freedesktop.org/show_bug.cgi?id=50611 thanks I hereby confirm that downgrading to x11-xkb-utils 7.6+4 fixes this problem. You don't even need to recompile xkb-data or libxcb as I previously thought, just restarting the X server is sufficient. This is actually a regression introduced in an upstream commit in 2011: 1447071942dbbbfc37b08417c74c8a1d302c1626 I have signaled this in the upstream bug report. I will attach the patch for this commit specifically. I added it to the quilt series as this: compat.diff -p0 Thank you for considering the application of this patch. Quoting from https://bugs.freedesktop.org/show_bug.cgi?id=50611#c7 The observed behaviour observed with x.c is in agreement with the specification. If x.c properly models the behaviour of awesome, commit 1447071942dbbbfc37b08417c74c8a1d302c1626 just exposes a bug in awesome that went unnoticed thanks to the bug that this commit fixed. Cheers, Julien signature.asc Description: Digital signature
Bug#684605: x11-xkb-utils: xkbcomp breaks mouse events with non-English keyboard layout
Package: x11-xkb-utils Version: 7.7~1 Followup-For: Bug #684605 The arch linux patch doesn't fix the problem for me. It changes the output of the test program provided in the arch linux bug report, but the ouptut is: button press event state: 16 button release event state: 1040 instead of: button press event state: 0 button release event state: 1024 ... and the bug is still there in awesome. I am quite puzzled by all of this. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages x11-xkb-utils depends on: ii libc62.13-35 ii libx11-6 2:1.5.0-1 ii libxaw7 2:1.0.10-2 ii libxkbfile1 1:1.0.8-1 ii libxt6 1:1.1.3-1 x11-xkb-utils recommends no packages. x11-xkb-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#684605: x11-xkb-utils: xkbcomp breaks mouse events with non-English keyboard layout
Package: x11-xkb-utils Version: 7.7~1 Followup-For: Bug #684605 affects 684605 awesome fixed 684605 7.6+4 forwarded 684605 https://bugs.freedesktop.org/show_bug.cgi?id=50611 thanks I hereby confirm that downgrading to x11-xkb-utils 7.6+4 fixes this problem. You don't even need to recompile xkb-data or libxcb as I previously thought, just restarting the X server is sufficient. This is actually a regression introduced in an upstream commit in 2011: 1447071942dbbbfc37b08417c74c8a1d302c1626 I have signaled this in the upstream bug report. I will attach the patch for this commit specifically. I added it to the quilt series as this: compat.diff -p0 Thank you for considering the application of this patch. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages x11-xkb-utils depends on: ii libc62.13-35 ii libx11-6 2:1.5.0-1 ii libxaw7 2:1.0.10-2 ii libxkbfile1 1:1.0.8-1 ii libxt6 1:1.1.3-1 x11-xkb-utils recommends no packages. x11-xkb-utils suggests no packages. -- no debconf information commit b8e4ab751857ff628e79b432b7b2f7d0e26de0ec Author: Antoine Beaupré anar...@koumbit.org Date: Sat Nov 24 13:38:13 2012 -0500 Revert include resets group compatibility modifiers #43091 This reverts commit 1447071942dbbbfc37b08417c74c8a1d302c1626. diff --git a/compat.c b/compat.c index 2b00142..759535a 100644 --- xkbcomp.orig/compat.c +++ xkbcomp/compat.c @@ -50,7 +50,6 @@ typedef struct _GroupCompatInfo { unsigned char fileID; unsigned char merge; -Bool defined; unsigned char real_mods; unsigned short vmods; } GroupCompatInfo; @@ -281,8 +280,8 @@ AddGroupCompat(CompatInfo * info, unsigned group, GroupCompatInfo * newGC) ACTION1(Using %s definition\n, (merge == MergeAugment ? old : new)); } -if(newGC-defined (merge != MergeAugment || !gc-defined)) - *gc = *newGC; +if (merge != MergeAugment) +*gc = *newGC; return True; } @@ -716,7 +715,6 @@ HandleGroupCompatDef(GroupCompatDef * def, } tmp.real_mods = val.uval 0xff; tmp.vmods = (val.uval 8) 0x; -tmp.defined = True; return AddGroupCompat(info, def-group - 1, tmp); }
Bug#684605: x11-xkb-utils: xkbcomp breaks mouse events with non-English keyboard layout
On Sat, Aug 11, 2012 at 21:08:53 +0300, Yauhen Kharuzhy wrote: Package: x11-xkb-utils Version: 7.7~1 Severity: important Tags: upstream Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** With latest xkbcomp all mouse events come with invalid modifier bits if non-English keyboard layout is selected. Please see following bugreports for details: https://bugs.archlinux.org/task/29123 (has patch) https://bugs.gentoo.org/show_bug.cgi?id=415267 https://bugs.freedesktop.org/show_bug.cgi?id=50611 https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=982 Please include the relevant details here, I don't have time to go read 50 bugzillas. Cheers, Julien signature.asc Description: Digital signature
Bug#684605: x11-xkb-utils: xkbcomp breaks mouse events with non-English keyboard layout
Package: x11-xkb-utils Version: 7.7~1 Severity: important Tags: upstream Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** With latest xkbcomp all mouse events come with invalid modifier bits if non-English keyboard layout is selected. Please see following bugreports for details: https://bugs.archlinux.org/task/29123 (has patch) https://bugs.gentoo.org/show_bug.cgi?id=415267 https://bugs.freedesktop.org/show_bug.cgi?id=50611 https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=982 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) Locale: LANG=be_BY.UTF-8, LC_CTYPE=be_BY.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages x11-xkb-utils depends on: ii libc62.13-35 ii libx11-6 2:1.5.0-1 ii libxaw7 2:1.0.10-2 ii libxkbfile1 1:1.0.8-1 ii libxt6 1:1.1.3-1 x11-xkb-utils recommends no packages. x11-xkb-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org