[Bug 2155] Failure of SetFocus, SetActiveWindow and SetForegroundWindow
http://bugs.winehq.org/show_bug.cgi?id=2155 Robert Walker <forums(a)robertinventor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |forums(a)robertinventor.com --- Comment #19 from Robert Walker <forums(a)robertinventor.com> 2013-03-06 12:51:08 CST --- Still present in 1.5.5 Note, the keyboard focus does get set to the other window, so there shouldn't be problems of accessibility for blind users. But for sighted users, the window with the keyboard focus doesn't get brought to the front and so if hidden behind another window, they can't see it. Also, the caption highlight doesn't change - the caption of the window with the focus doesn't get highlighted. In Windows the window with the keyboard focus should always be highlighted so that the user always knows which window will receive their keystrokes at any time. WORK AROUND FOR THIS BUG FOR DEVELOPERS WANTING TO MAKE YOUR APP WINE COMPATIBLE In my own program as a work around, when it detects that it is running under Wine, I destroy a window and recreate it again whenever the user sets focus to it in this way, as a way to bring it to the front and set the keyboard focus to it. This could be a suitable work around in situations where you can destroy a window easily and re-create it without losing data. -- 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.
participants (1)
-
wine-bugs@winehq.org