[Bug 4923] New: Race condition in keyboard code

Wine Bugs wine-bugs at winehq.org
Fri Mar 24 07:56:48 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4923

           Summary: Race condition in keyboard code
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-x11driver
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: peter at cendio.se


In some cases the key combination AltGr+2 produces "2" (wrong) rather than "@"
(correct), when using a Swedish layout. The problem is a race condition: If a
KeyEvent occurs almost directly after the "2" key is pressed, the AltGr state is
incorrect. This is because X11DRV_KeyEvent and X11DRV_ToUnicodeEx uses the
common, global, static variable: AltGrMask. 

I've reported this to the mailing list, see
http://www.winehq.org/pipermail/wine-devel/2006-March/045834.html.

-- 
Configure bugmail: http://bugs.winehq.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 wine-bugs mailing list