Public bug reported: Some combinations of keysyms can't be used together in the same keymap because they share the same lower 16 bits, which is used as the index for the table. Attached is a patch which fixes that. Written against rdesktop 1.7.1 as this is the version in Ubuntu, but appears to apply cleanly to trunk. I've sent this patch upstream but am reporting it here as well because movement there seems slow.
Ubuntu version: Ubuntu Studio 13.04 uname -a: Linux numenor 3.8.0-29-lowlatency #21-Ubuntu SMP PREEMPT Thu Aug 15 12:50:08 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux rdesktop version: 1.7.1-1ubuntu1 What I expected to happen: Custom keymap works correctly What actually happened: Some keys produced the wrong character because they shared the same least significant 16 bits As an example of a keymap that doesn't work without this patch, see my Colemak keymap at: https://github.com/julianyon/rdesktop-colemak ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: rdesktop 1.7.1-1ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-29.21-lowlatency 3.8.13.5 Uname: Linux 3.8.0-29-lowlatency x86_64 ApportVersion: 2.9.2-0ubuntu8.3 Architecture: amd64 Date: Sun Sep 1 03:18:06 2013 EcryptfsInUse: Yes InstallationDate: Installed on 2013-05-03 (121 days ago) InstallationMedia: Ubuntu-Studio 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: rdesktop UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: rdesktop (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug raring ** Patch added: "Fix for keysym collisions bug" https://bugs.launchpad.net/bugs/1219360/+attachment/3797309/+files/keysym_collisions.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1219360 Title: Keysym collisions make it impossible to create certain keymaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/1219360/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
