library showing some tracks out of order

Bug #864780 reported by Owen Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Owen Williams
1.10
Fix Released
Low
Owen Williams
1.9
Fix Released
Low
Owen Williams

Bug Description

With the new library patch, some tracks aren't getting sorted correctly. I have my tracks sorted by date-added, and although most of the tracks show up in the correct order, there are some all the way at the bottom that are actually new tracks (see screenshot). My guess is the merging of dirty/nondirty tables isn't getting sorted correctly?

Related branches

Revision history for this message
Owen Williams (ywwg) wrote :
Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 864780] Re: library showing some tracks out of order

Oops -- yes this is likely a bug in the sorting function for dirty tracks.
It's probably not sorting by date, just sorting by how the date is formatted
as a string. (I'll have to check)

On Sun, Oct 2, 2011 at 2:10 PM, Owen Williams <email address hidden> wrote:

> ** Attachment added: "files are in wrong order (all 2011 tracks should be
> at the top)"
>
> https://bugs.launchpad.net/bugs/864780/+attachment/2497215/+files/wrong_order.png
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/864780
>
> Title:
> library showing some tracks out of order
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/864780/+subscriptions
>

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Confirmed
assignee: nobody → RJ Ryan (rryan)
importance: Undecided → Low
Revision history for this message
Owen Williams (ywwg) wrote :

I think this fixes the bug. I checked, and there aren't any other columns that are selectable as headers that weren't being addressed in the cache code.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Looks good -- except when you load the track its display becomes a formatted date instead of the string form. This seemed like a better (localized, etc.) way of displaying the date so I changed all date-added entries to be parsed into QDateTime's. Also, the TIO::getCreateDate() is supposed to be the file creation date so I added a getDateAdded() method that is populated when the track is loaded from TrackDAO.

Changed in mixxx:
assignee: RJ Ryan (rryan) → Owen Williams (ywwg)
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6003

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.