Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences won't change after modify or remove the "ch.sudo.cyberduck.plist" #8062

Closed
cyberduck opened this issue Jun 26, 2014 · 7 comments
Closed

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jun 26, 2014

1a88ac8 created the issue

Cyberduck will load previous preferences that saved in system somewhere (I guess) after I had removed ch.sudo.cyberduck.plist in ~/Library/Preferences/!

In other instance, I try to modify the plist and open Cyberduck, it didn't use the updated one, it use the old preferences! I think Cyberduck is not referencing the plist in ~/Library/Preferences/, it just saved the last state preferences at there only.

This make reset Cyberduck preferences impossible!

But I tried open a new account and copy the settings to this new account before open Cyberduck, and it obey the plist! But just only on first run!

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

@dkocher commented

Are you running the version from the Mac App Store?

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

@dkocher commented

Replying to [comment:1 dkocher]:

Are you running the version from the Mac App Store?

When running sandboxed which is the case for the version available from the Mac App Store, the user defaults are saved in ~/Library/Containers/ch.sudo.cyberduck/Data/Library/Preferences/ch.sudo.cyberduck.plist.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

1a88ac8 commented

No, it is download from cyberduck.io

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

@dkocher commented

You must always manipulate the plist with the defaults command. Editing the file manually will give you random results as the file is managed by the system.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

1a88ac8 commented

Replying to [comment:5 dkocher]:

You must always manipulate the plist with the defaults command. Editing the file manually will give you random results as the file is managed by the system.

I didn't manipulate the plist with the defaults command, I just simply replace the old plist with new one in Finder, and Cyberduck read the old preferences from other location instead from the supposed location "~/Library/Preferences/"

I encounter this since I transfer the old iMac Cyberduck preferences to new iMac, I fresh launched the Cyberduck on new iMac before copy the old iMac plist into new iMac Preferences folder first, than I can't load back the old iMac Cyberduck preferences...I delete Cyberduck and plist and "~/Library/Application Support/Cyberduck", but new iMac settings still keep exist when I moved a new copy of Cyberduck into Application and launch it...

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

@dkocher commented

Replying to [comment:7 mmminimano]:

Replying to [comment:5 dkocher]:

You must always manipulate the plist with the defaults command. Editing the file manually will give you random results as the file is managed by the system.

I didn't manipulate the plist with the defaults command, I just simply replace the old plist with new one in Finder, and Cyberduck read the old preferences from other location instead from the supposed location "~/Library/Preferences/"

I encounter this since I transfer the old iMac Cyberduck preferences to new iMac, I fresh launched the Cyberduck on new iMac before copy the old iMac plist into new iMac Preferences folder first, than I can't load back the old iMac Cyberduck preferences...I delete Cyberduck and plist and "~/Library/Application Support/Cyberduck", but new iMac settings still keep exist when I moved a new copy of Cyberduck into Application and launch it...

Thanks for additional comment. We do not manipulate the preference ourselves but only through the system frameworks provided. Therefore there is not much I can do here expect to advice to quit Cyberduck before replacing the preferences.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jun 26, 2014

1a88ac8 commented

Replying to [comment:9 dkocher]:

Replying to [comment:7 mmminimano]:

Replying to [comment:5 dkocher]:

You must always manipulate the plist with the defaults command. Editing the file manually will give you random results as the file is managed by the system.

I didn't manipulate the plist with the defaults command, I just simply replace the old plist with new one in Finder, and Cyberduck read the old preferences from other location instead from the supposed location "~/Library/Preferences/"

I encounter this since I transfer the old iMac Cyberduck preferences to new iMac, I fresh launched the Cyberduck on new iMac before copy the old iMac plist into new iMac Preferences folder first, than I can't load back the old iMac Cyberduck preferences...I delete Cyberduck and plist and "~/Library/Application Support/Cyberduck", but new iMac settings still keep exist when I moved a new copy of Cyberduck into Application and launch it...

Thanks for additional comment. We do not manipulate the preference ourselves but only through the system frameworks provided. Therefore there is not much I can do here expect to advice to quit Cyberduck before replacing the preferences.

I just don't understand why Cyberduck don't read the preferences plist from Preferences folder from app start...(It did when it first time launch, I think maybe there no settings cached in systems...)

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant