[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513144: marked as done (xkb RedirectKey config sends 2 events instead of 1)



Your message dated Wed, 28 Jan 2009 13:24:52 +0100
with message-id <49804E94.5000803@ens-lyon.org>
and subject line Re: Bug#513144: xkb RedirectKey config sends 2 events instead of 1
has caused the Debian Bug report #513144,
regarding xkb RedirectKey config sends 2 events instead of 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
513144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513144
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-core
Version: 1.4.2-10

When I assign a key to send a Control-c with the RedirectKey action of xkb, the
X server sends correctly a KeyPress with "Control-c" but it also sends a "c"
and then the same thing with 2 KeyRelease events.

To do the config quickly, add the following file under xkb/compat/edit

default partial xkb_compatibility "basic" {
interpret.repeat= False;

// Ctrl+C for Copy
interpret XF86Copy {
action = Redirect(Key=<AB03>, modifiers=Control);
};
};

Put "edit" in the compat/complete file:

default xkb_compatibility "complete"  {
   include "basic"
   augment "iso9995"
   augment "mousekeys"
   augment "accessx(full)"
   augment "misc"
   augment "xfree86"
   augment "level5"
   augment "edit"
};

Then you can change the mapping of one of your key using xmodmap:

keycode 69 = XF86Copy


and you'll see the problem with xev.

begin:vcard
fn;quoted-printable:Fr=C3=A9d=C3=A9ric Lepied
n;quoted-printable:Lepied;Fr=C3=A9d=C3=A9ric
org:Splitted-Desktop Systems
adr;quoted-printable:Route de l'Orme des Merisiers;;B=C3=A2timent Aristote - Parc des Algorithmes;Saint-Aubin;;91190;France
email;internet:frederic.lepied@splitted-desktop.com
title;quoted-printable:Directeur de l'innovation et de la strat=C3=A9gie produit
tel;work:+33169307334
x-mozilla-html:FALSE
url:http://www.splitted-desktop.com/
version:2.1
end:vcard


--- End Message ---
--- Begin Message ---
Version: 2:1.5.99.901-2


Frederic Lepied wrote:
> Brice Goglin wrote:
>   
>> Frederic Lepied wrote:
>>   
>>     
>>> Package: xserver-xorg-core
>>> Version: 1.4.2-10
>>>
>>> When I assign a key to send a Control-c with the RedirectKey action of
>>> xkb, the
>>> X server sends correctly a KeyPress with "Control-c" but it also sends
>>> a "c"
>>> and then the same thing with 2 KeyRelease events.
>>>     
>>>       
>> Can you try upgrading your Xorg packages to experimental? We have
>> Xserver 1.6rc1 there, and there's a good chance it has a lot less bugs
>> of the input side.
>>   
>>     
> I have updated to the Xorg packages from experimental and the bug isn't
> present. Could the fix be backported ?
>   

There are many changes between Xserver 1.4 and 1.6. We would have to
locate the exact commit fixing this and make sure it is actually
backportable. Not easy at all...

I am marking the bug as fixed in Xserver 1.6rc1.

thanks,
Brice



--- End Message ---

Reply to: