Only two decimal places allowed in the BPM-field in library grid when editing

Bug #1017376 reported by Aleksandr Koltsoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Max Linke
1.11
Won't Fix
Low
Max Linke
2.0
Fix Released
Low
Max Linke

Bug Description

When using the library grid to edit track metadata (please see attached screenshot), there's a restriction of only allowing two decimal places in the input widget.

Suggest raising this to at least 4 if there needs to be an arbitrary limit (2 is too little).

Tested on latest beta and verified on v1.11 r3287

Related branches

Revision history for this message
Aleksandr Koltsoff (czr) wrote :
description: updated
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

I tested this and the problem is in the library GUI. If you edit the track BPM in the properties dialog, the GUI shows 4 decimal places. So it's just the input widget code as the OP said.

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

I poked around at this and the default Qt numeric value editor is limited to 2 decimal places. I believe we have to make a custom delegate if we want to change this which is a huge PITA.

Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Confirmed → Triaged
Revision history for this message
Max Linke (max-linke) wrote :

I have implemented a delegate for this in my branch. The new editor allows the same precision as in the properties view.
it still looks a bit out of place. Is there a way to change the look of that aswell without rewriting the paintEvent

Max Linke (max-linke)
Changed in mixxx:
status: Triaged → In Progress
Max Linke (max-linke)
Changed in mixxx:
status: In Progress → Fix Committed
assignee: nobody → Max Linke (max-linke)
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/6540

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.