[Cog 2888] Tracklist settings keep resetting #414

Closed
opened 2025-01-25 12:44:03 -03:00 by slitrov · 6 comments
slitrov commented 2025-01-25 12:44:03 -03:00 (Migrated from github.com)

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:

  1. Set tracklist settings and other preferred settings
  2. Close Cog
  3. Re-open Cog

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:*

  • macOS version: Sequoia 15.1.1
  • Cog version: Version 2888 (2888-gd2bb1458c)

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.

Image Image
**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: 1. Set tracklist settings and other preferred settings 2. Close Cog 3. Re-open Cog **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:*** - macOS version: Sequoia 15.1.1 - Cog version: Version 2888 (2888-gd2bb1458c) **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. <img width="1439" alt="Image" src="https://github.com/user-attachments/assets/7dadb6ed-bdf5-4a80-a1fe-cdaec76ac6d1" /> <img width="1439" alt="Image" src="https://github.com/user-attachments/assets/1667087f-b2b6-4509-ac13-6e51de2106f4" />
kode54 commented 2025-01-25 20:00:50 -03:00 (Migrated from github.com)

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:

defaults delete-all org.cogx.cog
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: ``` defaults delete-all org.cogx.cog ```
slitrov commented 2025-01-25 20:26:54 -03:00 (Migrated from github.com)

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.

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.
slitrov commented 2025-01-25 21:14:11 -03:00 (Migrated from github.com)

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.

Digging in to recent updates a bit, I'm guessing it has something to do with this: https://github.com/losnoco/Cog/commit/f33e0138e4c1a2401e88be75ce10e9f301856e7c For now, I'm reverting to a previous version (2883) and it works as it should. I'm happy with that. Thanks again.
kode54 commented 2025-01-26 01:59:02 -03:00 (Migrated from github.com)

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'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.
kode54 commented 2025-01-26 06:21:52 -03:00 (Migrated from github.com)

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.

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.
slitrov commented 2025-01-26 11:09:55 -03:00 (Migrated from github.com)

Sweet! Gave it a spin and it seems to be working correctly. Thank you very much again for your support with this, Christopher.

Sweet! Gave it a spin and it seems to be working correctly. Thank you very much again for your support with this, Christopher.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#414
No description provided.