[Bug 19874] If mouse focus lost then keyboard focus never recovered

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 19 01:27:11 CDT 2009


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





--- Comment #24 from Michael Abbott <michael at araneidae.co.uk>  2009-10-19 01:27:10 ---
(In reply to comment #21)
> Can you reproduce this bug using a builtin wine program, such as wine notepad?
> 
> If so, what window manager are you using?

This report is with fluxbox as my window manager.  

1.  If I return focus to Notepad by clicking then it appears to get the
keyboard focus back.  On the other hand, it doesn't recolour its title bar to
indicate that it has received any notification that focus has come back.

2.  If I run wine with a virtual desktop then I can successfully Alt-Tab to the
wine desktop and notepad gets the keyboard focus (to be precise, the fluxbox
functions :NextWindow and :ClientMenu successfully pass keyboard focus to
wine).  It does start with the Alt key pressed (so a second press of the Alt
key is necessary to release the menu selector for typing to actually work), but
that's probably a fluxbox quirk.

So far so good.

However, the coloured title bar on notepad does *not* update correctly to show
that it has received focus, it remains grey (normally indicating unselected). 
In fact, it doesn't even colour its title bar on startup.

3.  I seem to have
    HKCK/Software/Wine/X11 Driver/Managed == "N"
by default.  In this state running notepad without a virtual desktop makes
notepad invisible to the desktop manager -- very confusing, but presumably
that's the point of this setting; don't know how it got set, though.


So lots of quirks to trip me up (my first draft of this note was that it's
still broken: the sticky Alt and unmanaged windows were puzzles), but at the
moment this is looking good.

I'll repeat the test with XFCE and a live game and report back.

-- 
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