Keysym collisions make it impossible to create certain keymaps

Bug #1219360 reported by Julian Yon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rdesktop (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Julian Yon (j6nsap) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix for keysym collisions bug" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.