Re: Re: System preferences panes on Leopard
Re: Re: System preferences panes on Leopard
- Subject: Re: Re: System preferences panes on Leopard
- From: Carlos Oliva G. <email@hidden>
- Date: Fri, 18 Jan 2008 15:06:41 -0300
El 18-01-2008, a las 13:35, Tom Harrington escribió:
On Jan 17, 2008 8:17 PM, Carlos Oliva G. <email@hidden>
wrote:
Over the last few days I installed it under Leopard and I've noticed
some strange behaviour: when I build and install the prefpane it
appears under System Preferences, as always has. When I exit and
reopen the System Preferences application it's still there, and works
as expected. However after a while the preferences pane doesn't show
up on System Preferences anymore, even though it still exsists at ~/
Library/PreferencePanes/ and the only solution is to delete it from
there and re-install it. It will work for a while but will disappear
afterwards.
I develop a number of preference panes, and the only difference I've
noticed with Leopard is the very obvious one that the UI size
requirements have changed. I haven't encountered anything like you
describe.
If the preference pane bundle is still present but not showing up in
System Preferences, I wonder if the bundle has been modified as a
result of some other action (perhaps as part of your build script?)
and is no longer valid.
Hi Tom,
My preferences pane has a helper app that repairs itself (sets the
setuid bit) and executes a couple of administrative tasks that require
root access using AuthorizationExecuteWithPrivileges, which is the
only way that the bundle could be modified after running the first
time after installed.
Does System Preferences print anything to console when the preference
pane is installed but not visible? Have you tried removing System
Preferences' cache file at
~/Library/Caches/com.apple.preferencepanes.cache?
I hadn't seen any related messages on the console before, but after
removing the cache file this is what I get:
18-01-08 14:55:35 System Preferences[5377] Preference bundle "/Users/
carlosoliva/Library/PreferencePanes/DrQueue.prefPane" is misplaced,
ignoring...
Googling around about this message doesn't seem to show up anything
relevant.
Thanks for your help.
Best regards,
--
Carlos Oliva G.
Igloo Sistemas Ltda.
email@hidden - http://www.igloo.cl/
_______________________________________________
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