Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.46k stars 536 forks source link

Cannot fully reset all preferences #3402

Open darrenrhs opened 2 years ago

darrenrhs commented 2 years ago

I wish to reset all preferences for NetNewsWire, including per-feed settings.

This article provides details on where data is stored for NNW5.

I discovered that this is not the case for NNW6, with the data apparently stored in ~/Library/Containers. After expunging all data I could find which is related to NNW from ~/Library, including the ~/Containers subdirectory, I found that NNW was still remembering my preferences.

Moreover, it is now no longer syncing down feeds from iCloud. (fixed by deleting and re-adding the account twice)

Is there somewhere else, either outside the Library or Containers subdir, perhaps not including 'netnewswire' in its name, where preferences are being stored? Is there something stored in iCloud?

darrenrhs commented 2 years ago

Alright, so I had a look at the plist file in the Containers folder to find a comment indicating that the preferences pertaining to per-feed settings etc. are (at least for me) evidently located at: ~/Library/Containers/com.ranchero.NetNewsWire-Evergreen/Data/Library/Application Support/NetNewsWire/Accounts/2_iCloud/Sync.sqlite3

The comment states that the plist is just a subset and shouldn't be itself edited.

I opened this database using this and found nothing of relevance. I know nothing about SQLite so I'm probably just missing something.

I went back to the plist and decided to just make the changes I wanted, to bring things back to how I had assumed they were at default.

This, of course, did not work.

darrenrhs commented 2 years ago

OKAY, I fixed it. This will delete everything, so make sure you export to OPML first.

Go to System Preferences > Apple ID > Manage (Storage) > NetNewsWire > Delete all Files.

Just to be sure, I also deleted the app from my Mac and iPhone, and deleted everything from ~/Library. Nuked the fucker from orbit.

So now...please for the love of God...add an option to reset all preferences in-app or at least address this issue. I am not a programmer, so I can't help.

darrenrhs commented 2 years ago

Okay, this is the absolute last comment I'm making.

iCloud managed to fuck everything up and has apparently restored my previous settings.

I give up. The only way is to just manually, using the GUI, set everything back to the way it was.

brentsimmons commented 1 year ago

Why did you want to reset all settings?