• 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
Design question: undo-safe "Processing..." sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Design question: undo-safe "Processing..." sheets


  • Subject: Design question: undo-safe "Processing..." sheets
  • From: Kaspar Fischer <email@hidden>
  • Date: Thu, 23 Feb 2006 10:57:26 +0100

Hi all,

My app needs to do a lengthy task and shows a sheet
"Processing..." with a NSProgressIndicator using NSApp's
-beginSheet:modalForWindow:modalDelegate:didEndSelector:
contextInfo: method.

I have run into two problems with this approach:

(1) During the time the sheet is visible, the user
   can still perform undo/redo. In my case, this is
   bad as the task that is being performed may be
   based on actions done before -- so if the user
   undos them, the task might crash!  So: how can
   I prevent the user from performing undo/redo?
   Should I manually disable the "Undo"/"Redo" menu
   items?

(2) My app has more than one window per document. So
   when the sheet is visible, the user should not be
   able to do anything in any other windows of the
   document (but she may work in other documents, of
   course). How can I accomplish this? Should I show
   in each of these windows a sheet "Processing..."
   as well?

With respect to both points it seems that I am missing
something... Any help is very much appreciated!

Thanks,
Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Design question: undo-safe "Processing..." sheets
      • From: "Johan Kool" <email@hidden>
    • Re: Design question: undo-safe "Processing..." sheets
      • From: "Mark Aufflick" <email@hidden>
  • Prev by Date: Re: Remove some (and not all) actions from the undo stack
  • Next by Date: Re: NSXMLParserErrorDomain 4
  • Previous by thread: Re: Displaying Only Readable/Writable Directory on NSOpenPanel
  • Next by thread: Re: Design question: undo-safe "Processing..." sheets
  • Index(es):
    • Date
    • Thread