[Bug 1651] Autorepeat slows down after a moment

bugzilla-daemon@freedesktop.org bugzilla-daemon@freedesktop.org
Mon Jan 10 03:56:23 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://bugs.freedesktop.org/show_bug.cgi?id=1651        
   

mmc@maruska.dyndns.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmc@maruska.dyndns.org




------- Additional Comments From mmc@maruska.dyndns.org  2005-01-10 03:56 -------
i think that this patch is buggy. I only know the xfree86 version,but it seems
the problem applies here too. My note/description can be found here:
http://maruska.dyndns.org/comp/activity/mails/down 

In _few_ words:  the bit array down is not updated when the device is frozen
(sync grab), so if you release and re-press a key during the grab, the press
event will be discarded (due to this patch, which afaik is the behaviour of the
original xfree86 kbd driver).

The right solution, imo, is a correct code for Auto-repeat (in XKB). I have it,
i'm willing to provide it, but there is need for precise time information of the
key events (something the evdev driver does't provide). Doing that is simple, my
solution would be have a clone of xf86PostKeyboardEvent, called from evdev,
which uses a provided time,instead of calling GetTimeInMillis. 
And, another thing; evdev would have to provide the time of last read from
keyboard device. I.e. when no event arrives, i still need some time (point) - a
correct upper bound of the time when really no events occured on the physical
keyboard. 

        
   
   
--         
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list