Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard: Multiple Sheets Per Window Bug



It might only be the replace confirmation sheet and possibly some others like it, but for sure it happens. You can create the simplest project with just two lines to show a save panel, save to a location that already exists, and the dialog will be a sheet. Or just do it with TextEdit or any other app.

In all of those places the replace sheet is on top, but in my app, it opens behind the save panel sheet. When you click anywhere on the sheets the replace sheet comes forward, but it's confusing.


http://www.sethwillits.com/temp/LeopardSheetBug.mov

--
Seth Willits




On Nov 1, 2007, at 12:07 PM, John Stiles wrote:

Alerts magically became sheets…? Are you sure? That's kinda goofy.

FWIW I filed a bug on the two-sheets-on-one-window issue, which is a clear HIG violation, but I believe it came back as "Behaves as Intended" but later back to "Open" when I pinpointed the HIG line that it contradicted.

rdar://4802399 [Cocoa] NSSavePanel generates two overlapping sheets


Seth Willits wrote:

So Leopard decided to make alert dialogs magically become sheets, which means that a window can have multiple sheets. The only problem is that in my app, when I show a save sheet, and then AppKit shows a "Do you want to replace the existing file?" dialog, it's now shown as a sheet as well, but it opens BEHIND the save panel sheet. Does anyone have an idea of how to fix that?



-- Seth Willits


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Leopard: Multiple Sheets Per Window Bug (From: Seth Willits <email@hidden>)
 >Re: Leopard: Multiple Sheets Per Window Bug (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.