Display text for already played tracks in a different color

Bug #790726 reported by jus
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

While the checkbox in the "PLAYED" column is helpful, the distinction between played and not yet played tracks is not clear enough. This is especially true if looking from some distance , in a rush or with difficult light conditions.

I propose to introduce a new key for use in skin.xml which allows to define a separate color for tracks already played in that session. If a tracks "PLAYED" checkbox gets unchecked it should obtain the original color again.

jus (jus)
Changed in mixxx:
importance: Undecided → Wishlist
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Confirmed
tags: added: easy weekend
Changed in mixxx:
assignee: nobody → Valentin Roussellet (l0uen)
jus (jus)
Changed in mixxx:
assignee: Valentin Roussellet (l0uen) → nobody
tags: added: polish
Revision history for this message
AndreiStefanescu (andysstef) wrote :

Hi,

I can start working on this one.

Changed in mixxx:
assignee: nobody → AndreiStefanescu (andysstef)
jus (jus)
Changed in mixxx:
status: Confirmed → In Progress
Revision history for this message
AndreiStefanescu (andysstef) wrote :

Hi,

I figured out that to change the colour, I first have to find out where the TimesPlayed column in the Library table is incremented, however I couldn't find the code doing that. I saw that Library has a function setTimesPlayed and I also saw a function setTrackValueForColumn from BaseSqlTableModel but none of those get called when the value is incremented. I also saw that the value is incremented only once per application session. Shouldn't it be incremented any time the track is played? Could you please tell me where to find the code doing the incrementing?

Revision history for this message
AndreiStefanescu (andysstef) wrote :

I found it. The code incrementing timesPlayed is in trackobjectinfo.cpp.

Revision history for this message
AndreiStefanescu (andysstef) wrote :

Where are the colors for the Songs' Table View put in the xml files? I tried adding a Style tag for the Library tag but that didn't work. I also tried adding a TableView tag but that didn't work too.

Revision history for this message
AndreiStefanescu (andysstef) wrote :

I found the style.qss file. I guess that all new styles should be put there.

Revision history for this message
Owen Williams (ywwg) wrote :

Yes, the style.qss file for each skin changes the library styling. Note that we've have problems in the past with styles not being applied to all columns due to QT bugs.

jus (jus)
Changed in mixxx:
status: In Progress → Confirmed
assignee: AndreiStefanescu (andysstef) → nobody
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/5911

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

Related blueprints

Remote bug watches

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