Skip navigation.
 
mlRe: Bring all to front not working?
FROM : Jim Hamilton
DATE : Thu Apr 07 23:20:05 2005

On Apr 7, 2005, at 5:00 PM, Mark Dawson wrote:

> In 10.3.8 (haven't  tested in other OS versions), my app's, "Bring All 
> To Front" isn't working--it's bringing only the frontmost window 
> forward from the Dock.  Also, clicking on the app's icon in the Dock 
> has the same (wrong) behavior.  If I minimize two document windows, 
> then click on the app, only one of the windows comes off the Dock…
>
> According to the documentation 
> (http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/
> Concepts/ChangingMainKeyWindow.html):
>
> "Users can bring all windows of an application forward by clicking its 
> icon in the Dock or by choosing Bring All to Front in the 
> application’s Window menu. These actions should bring forward all of 
> the application’s open windows, maintaining their onscreen location, 
> size, and layering order within the application."
>
> What do I need to do to get this behavior working in my app?  It seems 
> all done by Cocoa…
>
> Thanks!


I think you may be reading too much into the documentation.  in that 
quote about "open" windows, "open" seems to be a synonym for "onscreen" 
(as used earlier in the document).  A minimized window is "offscreen" 
(op cit.).

FWIW, TextEdit.app (Cocoa) and Finder (Carbon) have the same behavior 
you describe for your app.  I think it's working correctly. <wink>

Jim H

Related mailsAuthorDate
mlBring all to front not working? Mark Dawson Apr 7, 23:00
mlRe: Bring all to front not working? Jim Hamilton Apr 7, 23:20
mlRe: Bring all to front not working? Matt Neuburg Apr 8, 02:54
mlRe: Bring all to front not working? Mark Dawson Apr 8, 06:22