[Xquartz-dev] XQuartz 2.2.0_rc3 (includes spaces fix)

Jeremy Huddleston jeremyhu at berkeley.edu
Sun Apr 13 18:54:42 PDT 2008


Yeah, the RootlessReorderWindow() is a known issue... there's a  
problem where it's being called by both threads.  That should be a  
fairly straight forward fix, and is on the list for 2.2.1.

--Jeremy

On Apr 13, 2008, at 12:01, Pelle Johansson wrote:
> Hi,
>
> I have no problem to reproduce it. The windows does not get focus  
> when I switch space. Some initial debugging seems to indicate that  
> RootlessReorderWindow is called twice, first for the correct window,  
> and then for the one in the different space. The second one (with  
> the wrong pWin) seem to have this backtrace:
>
> #0  0x000215e6 in RootlessReorderWindow ()
> #1  0x00083c98 in MoveWindowInStack ()
> #2  0x00084771 in ReflectStackChange ()
> #3  0x00085114 in ConfigureWindow ()
> #4  0x00063921 in ProcConfigureWindow ()
> #5  0x0006a575 in Dispatch ()
> #6  0x00079071 in main ()
>
> ProcessInputEvents() is called with a ButtonPress event before the  
> second call, but no other events. That's as far as I've gotten  
> tonight...
>
> Another oddity, which might be related, is that if I switch spaces  
> back and forth with the keyboard, the xterm window will have moved  
> to the bottom of the global window stack, but still have keyboard  
> focus. Hrm, just noticed it happens even if it does not have focus  
> before the switch. For example, I have this mail editing window  
> open, with an xterm in the background, and switch spaces back and  
> forth. The mail window will still be frontmost, but it is the xterm  
> that has focus (maybe because X11 is the only app in my second space).
>
> HTH,
> -- 
> Pelle Johansson
>
> 13 apr 2008 kl. 02.49 skrev Jeremy Huddleston:
>> I unplugged my mouse completely, so I just have the trackpad (and  
>> thus it's easy to not "jiggle" accidently).  I can't reproduce this  
>> by doing cmd-arrow or cmd-number space switching.  The window just  
>> has focus.  If I don't click at all, it has focus.  If I click, it  
>> stays in focus.  rrr.
>>
>> Do you have any other applications running in either space?
>>
>> Can you give me detailed instructions on how to reproduce from a  
>> fresh-login with no other applications running (and can you please  
>> try with a new test-user as well and I will do the same).
>>
>> Thanks for your patience.  Today is the day of "it just works for  
>> me, why can't I get it to break"... sigh
>>
>>
>> On Apr 12, 2008, at 17:33, Jamie Kennea wrote:
>>>
>>> On Apr 11, 2008, at 5:23 PM, Merle Reinhart wrote:
>>>> Now I see what Jamie was talking about.  The trick was to not  
>>>> move the mouse (I had done so to get the cursor active in the new  
>>>> space).
>>>
>>> Yes, this is clearly the issue. I guess I was just switching (with  
>>> Ctrl+cursor) and clicking on the trackpad button to activate the  
>>> window without moving the cursor. I can confirm that if I do  
>>> purposefully move the mouse before clicking on a window, then I  
>>> don't see the behaviour.
>>>
>>> What about moving the mouse makes the difference I wonder, and why  
>>> Jeremy can't reproduce it (perhaps a very sensitive mouse that  
>>> makes it difficult to not move the cursor before clicking?!?). How  
>>> many systems and what type do you have to try out X11 on?
>>>
>>> Cheers,
>>>
>>> Jamie
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo/xquartz-dev
>>
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/xquartz-dev
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080413/4d922ed6/smime-0001.bin


More information about the Xquartz-dev mailing list