• 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
How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)


  • Subject: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
  • From: Gabriel Zachmann <email@hidden>
  • Date: Mon, 5 Oct 2009 17:45:39 +0200

Thanks a lot for all the responses, and sorry for bothering you again with this.

The problem I'm having is the following: is there an elegant way to prevent the user from clicking the 'Test' button in the Screen Savers panel in System Preferences?

The reason why I'm asking: when the user changes the configuration in my screen saver, I start a Spotlight query that could take up to 30 seconds (about 10 seconds for the initial phase of the search itself, plus 20 seconds for retrieveing the results from the query).
The results of that query then change what the screensaver renders.


Therefore, I would like to give the user some feedback that the query is still in progress *AND* I would like to prevent the user from clicking that 'Test' button in System Preferences' Screensaver pane.

Right now I'm using an asynchronous NSMetadataQuery, which seems to work, except that the only way to prevent the user from clicking that 'Test' button I found was to keep the configuration sheet up until the search has completely finished.

IMHO, this doesn't look very elegant ;-/

Any ideas will be highly appreciated.

Best regards,
Gabriel.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
      • From: Michael Babin <email@hidden>
    • Re: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
      • From: Jack Carbaugh <email@hidden>
References: 
 >ScreenSaverView gets instantiated several times (From: Gabriel Zachmann <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Michael Babin <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Gabriel Zachmann <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Roland King <email@hidden>)

  • Prev by Date: Re: ScreenSaverView gets instantiated several times
  • Next by Date: Re: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
  • Previous by thread: Re: ScreenSaverView gets instantiated several times
  • Next by thread: Re: How to prevent the user from clicking 'Test' in Screen Savers (Was: ScreenSaverView gets instantiated several times)
  • Index(es):
    • Date
    • Thread