• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet


  • Subject: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • From: John Stiles <email@hidden>
  • Date: Fri, 18 Jan 2008 11:15:10 -0800



Seth Willits wrote:
On Jan 17, 2008, at 9:56 AM, Jonathan Dann wrote:

...but the HIG say that you shouldn't (and Cocoa can't) stack a sheet on a sheet.

Unfortunately Cocoa can..... http://www.sethwillits.com/temp/LeopardSheetBug.mov

(I'm not sure whyyyy it does it here, but it does.)
I haven't watched your movie, but I've actually got an open bug on NSSavePanel putting one sheet on top of another. It should not do that.
I am pretty sure that NSSavePanel has not changed, but instead the sheet code in AppKit now allows two sheets at once. Previously, if you tried it, the second sheet would simply not attach to the window at all; this changed in Leopard and stacked sheets now function if you ask for them. My suspicion is that the code always tried to stack sheets, but in 10.4 and before, the OS automatically converted the second sheet into a regular dialog.
I honestly expect that they will update the HIG to allow stacked sheets. (Though personally I think it is ugly and confusing.) At first they rejected my bug as "behaves as expected" and only reopened it when I pointed out the page and line of the HIG that says not to do it.


_______________________________________________

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
      • From: Seth Willits <email@hidden>
    • Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
      • From: "Hamish Allan" <email@hidden>
References: 
 >Starting an alert sheet from an NSWindowController that owns a user-editable sheet (From: Jonathan Dann <email@hidden>)
 >Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: NSATSTypeSetter exception
  • Next by Date: Re: NSATSTypeSetter exception
  • Previous by thread: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • Next by thread: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • Index(es):
    • Date
    • Thread