-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Library column configuration always breaks when available columns change #7629
Comments
Commented by: ywwg Examples of before and after upgrade to cover art. Total change in libary column layout. |
Commented by: ywwg after |
Commented by: ywwg So this is Hard. We save and restore the column layout using the built-in .saveState and .restoreState functions, which return opaque binary blobs and breaks if the number of columns changes. So just getting the column ordering isn't enough -- no matter what, if we restoreState with an upgraded version of mixxx, the columns will be all messed up because we added a new column. For the 1.11->1.12 upgrade, the best we can probably do is reset the header_state value and restore the default column layout. See: We should probably write our own column-saving serialization, like the one mentioned in that discussion (http://codepad.org/2gPIMPYU). This is annoying, but straightforward enough. When 1.12 starts up, it could ignore the old header_state value and load the default, and then from then on save using the new code. It would be nice if we could migrate from the old code, but this isn't possible without figuring out the binary blob's internals. |
Commented by: rryan Not High priority as per the guidelines: |
Commented by: ywwg Things learned:
Here's my proposed solution:
That will preserve the perfect header saving for current versions of mixxx, and will allow some amount of user configuration across upgrades. |
Issue closed with status Fix Released. |
My library columns still seem to randomly reset sometimes (to all enabled), which can be pretty annoying. I haven't figured out the trigger for it yet though. Mixxx 2.4-beta on kubuntu |
This is a very old closed bug. Can you file a new one. Is the issue related to an upgrade form 2.3.6? |
Reported by: ywwg
Date: 2014-11-06T15:43:37Z
Status: Fix Released
Importance: Medium
Launchpad Issue: lp1390130
Tags: library, polish
Attachments: before_cover_art.png, after_cover_art.png
Whenever a new column is added to Mixxx (most recently, cover art), the saved library configuration gets broken. I think this is because the column layout is saved by raw column index number, and if the new column is inserted into the enum, all the index numbers are wrong. I end up with a bpm column where I had an Artist column, etc. I have to painstakingly delete the incorrect columns and reinsert the columns I wanted.
possible solutions:
This bites me on every upgrade so I am marking this as important for the next version.
The text was updated successfully, but these errors were encountered: