Comment #4 on issue 28107 by [email protected]: Mac: bad z-order  
(mismatched with focus) when used with Spaces
http://code.google.com/p/chromium/issues/detail?id=28107

Okay, I have a theory (and a very good one at that, I think) about why this  
is happening. The
problem seems to be that the status bubble is higher in the z-order than  
the main window, and
when Spaces orders the windows, it only considers the highest window (or  
something like that).

Thakis observed funny interaction between status bubbles and Spaces. In  
particular, if you switch
spaces with the bubble showing and switch back, the key window may be  
behind another window,
but the key window's status bubble may float out front.

Now, I conjecture that this is true even when the status bubble is hidden.  
So the problems arise
when the status bubble is there, has been ordered out front, and possibly  
has been hidden again.

When I change the line in status_bubble_mac.mm

     [parent_ addChildWindow:window_ ordered:NSWindowAbove];

to use NSWindowBelow instead (thereby rendering the status bubble  
completely useless), I can no
longer reproduce the z-order problems.

It wouldn't surprise me if issue 24956 also had something to do with  
parent/child windows, and
possibly even the status bubble.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to