In message <[EMAIL PROTECTED]> on Sat, 21 May 2005 17:48:20 +0200, Rhialto <[EMAIL PROTECTED]> said:
rhialto> On Fri 20 May 2005 at 10:32:28 +0200, Johan Vromans wrote: rhialto> > Now switch to another workspace, and move the cursor to a rhialto> > location that falls (in the original workspace) within rhialto> > window1. Switch back to the original workspace. Now window1 rhialto> > gets the focus, but window2 still shows the solid cursor. rhialto> rhialto> This kind of thing seems to get worse with SloppyFocus. I rhialto> have had several times now that some window didn't have the rhialto> keyboard focus after switching to its workspace, even though rhialto> the mouse cursor is in it and the titlebar indicates it is rhialto> the active window. In several cases this was a Mozilla rhialto> window, and I heard that Mozilla plays weird games with rhialto> focus, but I have seen some effect on other windows too. Not rhialto> all that easy to reproduce, it seems :-( Damnit! :-) Here I was trying to get enough time to dodge the interesting bug reports enough to make a release :-). This one is hard to ignore... Of course, I could simply view it as an annoyance to be resolved in 3.8... >From a purely bug-fixing point of view, without getting hung up on the release process, I wonder what might give this kind of behavior, and maybe there's something I haven't quite understood. Until now, I have believed that unmapping a window would take away it's focus (basically implying LeaveNotify event). Of course, I imagine that this may be a bit more tricky when getting back to the workspace and mapping windows back. Could that be the place where things get a bit screwed, because the selection of window to give back the focus to might be flaky? I haven't looked yet, I'm basically just theorising to see if I can pin-point the place to go looking. And oh, I welcome anyone to do the same. Patches will, as always, be joyfully accepted! Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis