Phantom column in library table

Bug #1258776 reported by jus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
k bashar

Bug Description

With the latest git master, there is a ambiguous column "17" in the library table.
By purpose?

Tags: easy library
Revision history for this message
jus (jus) wrote :
description: updated
Revision history for this message
Owen Williams (ywwg) wrote :

I see this too.

jus (jus)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 1.12.0
Revision history for this message
jus (jus) wrote :

Probably the KEY_ID column from the database. We already display the natural key of a track in the `KEY`column - using the key format selected by the user. So no need to display the KEY_ID column.

Revision history for this message
jus (jus) wrote :

This removed the column for me

diff --git a/src/library/mixxxlibraryfeature.cpp b/src/library/mixxxlibraryfeature.cpp
index 3badd62..236df27 100644
--- a/src/library/mixxxlibraryfeature.cpp
+++ b/src/library/mixxxlibraryfeature.cpp
@@ -44,7 +44,6 @@ MixxxLibraryFeature::MixxxLibraryFeature(QObject* parent,
             << "library." + LIBRARYTABLE_FILETYPE
             << "library." + LIBRARYTABLE_TRACKNUMBER
             << "library." + LIBRARYTABLE_KEY
- << "library." + LIBRARYTABLE_KEY_ID
             << "library." + LIBRARYTABLE_DATETIMEADDED
             << "library." + LIBRARYTABLE_BPM
             << "library." + LIBRARYTABLE_BPM_LOCK

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

Yea, it's the KEY_ID column. We need it for the KEY column though.

So we should add the KEY_ID to the internal column list in all the TableModels.

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

If anyone wants to do this, it's super easy:

Add "LIBRARYTABLE_KEY_ID" to the set of keys that return true for every isColumnInternal() method in src/library.

tags: added: easy
k bashar (k.bashar)
Changed in mixxx:
assignee: nobody → k bashar (k.bashar)
Revision history for this message
k bashar (k.bashar) wrote :

i have just send a pull request on this bug. would anyone please review this?

Max Linke (max-linke)
Changed in mixxx:
status: Confirmed → In Progress
Max Linke (max-linke)
Changed in mixxx:
status: In Progress → 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/7217

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

Bug attachments

Remote bug watches

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