Bug 12931 - System Preferences launches when there's an update available, but doesn't go to the SC pref pane
: System Preferences launches when there's an update available, but doesn't go ...
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Preference Pane
: 7.4.0
: PC Other
: P3 normal (vote)
: CAT
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-18 09:31 UTC by Blackketter Dean
Modified: 2009-07-30 00:45 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2009-07-18 09:31:45 UTC
I see with my Growl that there is an update available and the System Preferences app launches, but doesn't open the SC pref pane or prompt me further for an update. running openprefs.scpt directly does do the right thing.
Comment 1 Michael Herger 2009-07-21 01:35:21 UTC
Running the script directly doesn't do the right thing: it wouldn't use Growl, would it?

It's currently either or. Open the pref pane (too intrusive for many), or display the Growl notification. But again: the Growl interface is too limited to allow for running some callback when it's clicked. (unless we write our own C based interface for perl). I think it's been on their todo list forever, but not yet implemented.
Comment 2 Blackketter Dean 2009-07-21 11:34:15 UTC
Wait, I'm confused.  What I'm seeing is that the Growl notification comes up and the System Preferences launch.  But the Squeezebox pane does not open.  Is this what you expect?
Comment 3 Michael Herger 2009-07-22 01:54:52 UTC
> Wait, I'm confused. 

So am I if what you say is true :-)

> What I'm seeing is that the Growl notification comes up
> and the System Preferences launch.

Look at the signalupdate.scpt: it's either or. If the prefs popped up, then it must have been caused by something else.

> But the Squeezebox pane does not open.  

The script would tell OSX to open the Squeezebox pane. AFAIK it's not telling it to load the prefs pane, then open the SB pane. I'd therefore be surprised if the prefs were opened, but not the SB pane.

> Is this what you expect?

No.
Comment 4 Michael Herger 2009-07-30 00:45:04 UTC
Dean - I'm going to close this as "wontfix", as there's currently no way to launch the prefpane from the Growl notification. If this isn't good enough we might want to give up on Growl or use some other means of notification. Feel free to (re-)open a new (this) bug if needed.