[Cog 2888] Tracklist settings keep resetting #414
Labels
No labels
2230
2243
App version
Apple OS errata
Apple SDK
bug
bugsnag
build
dlt
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: chris/Cog#414
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe
Since the last major recent update (seems like earlier this year) my tracklist settings (e.g. the columns you choose, formatting) keep resetting to default upon opening. All other program settings remain intact.
To Reproduce (delete if not applicable)
Steps to reproduce the behavior:
Expected behavior
For my tracklist settings/formatting to be retained each time it opens, as it did previously.
Screenshots
Attached, showing preferred settings, then the default settings it reverts to upon re-opening.
Version information:*
Additional context
I have tried uninstalling and re-installing Cog. It seemed to retain settings initially and then didn't. Here are the other settings I have activated (from default) if that helps:
Repeat: None
When opening files: Clear playlist and play
Read CUE sheets disabled
Disable notifications
Love the program otherwise! Thanks for considering.
Okay, we're having this on newer OSes now, got it.
Please quit the player, then run this in your Terminal.app or preferred terminal:
Thank you for your time. I just tried it. It reset Cog to default settings. I reset my settings to my preferences, I closed and reopened it a handful of times to see if the settings were retained as I went along and they were... until they weren't.
I didn't do anything to cause it to revert to default, it just did, as if it's programmed to reset after 5 minutes.
Again, all the other program settings are intact, but the tracklist columns revert to default. It's puzzling. Not experiencing similar setting-saving issues with any other programs as far as I'm aware. Thanks again for considering.
Digging in to recent updates a bit, I'm guessing it has something to do with this:
f33e0138e4
For now, I'm reverting to a previous version (2883) and it works as it should. I'm happy with that. Thanks again.
I'll see what I can do about serializing playlist state some way other than User Defaults. Clearly that's not working out, as the dang control loses its state randomly.
I have amended how the columns are saved to preferences to use a custom format that should not require much changing if I add more columns in the future. It will require you to reset your playlist view once more, but the settings should stick across runs now. New columns, if I continue in this trend, will appear on the right side, assuming they're configured to be visible by default.
The new build will be up on the site shortly, and will be up on the App Store, pending review.
Sweet! Gave it a spin and it seems to be working correctly. Thank you very much again for your support with this, Christopher.