[Bug 9856] winecfg freezes when alt+ certain keys are pressed in certain places

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 25 10:01:23 CDT 2008


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





--- Comment #6 from Andrey Turkin <andrey.turkin at gmail.com>  2008-09-25 10:01:23 ---
Created an attachment (id=16267)
 --> (http://bugs.winehq.org/attachment.cgi?id=16267)
one-liner to fix this bug

The problem is not with winecfg but with user32 or comctl32. Actual hang occurs
in user32/dialog.c while trying to find accelerator for Alt-<something> if
window what received keystroke (i.e. currently focused control) or one of its
parents are invisible or disabled. This can happen with property sheet control
after tab change (old tab dialog becomes invisible but focus still somewhere in
it); I'm not sure what should be fixed - attached one-liner fixes described
case and this bug, but same thing can easily occur elsewhere. Either
DIALOG_IsAccelerator should be fixed to not hang on such cases, or
window-management code should be fixed to move focus elsewhere when control
becomes invisible.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list