Headphones icon in the preview column on the first row doesn't change position

Bug #1968869 reported by David Chocholatý
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Low
Unassigned

Bug Description

If the width of the preview column with a headphones icon is changed, the first row headphones icon position is static on previous position and the position is changed after the mouse button is released. It doesn't matter if it's playlist, crate or tracks preview column. The whole situation is captured in the attached video.

Mixxx version: 2.3.2
OS: Windows 10 Education (OS build 19042.1586)

Tags: gui
Revision history for this message
David Chocholatý (davidchocholaty) wrote :
Revision history for this message
ronso0 (ronso0) wrote :

Works perfectly on Xubuntu 20.04 with 2.3 and main branch, both built with Qt 5.12.8.

Changed in mixxx:
status: New → Incomplete
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I can confirm the issue on Windows 10.
Only the last hoovered box is affected.

Changed in mixxx:
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
Daniel Schürmann (daschuer) wrote (last edit ):

Got it:
https://github.com/mixxxdj/mixxx/blob/f2d670edeb483efb066bf7f00255d01df2f0017c/src/library/previewbuttondelegate.cpp#L184

It happens when the mouse leaves the table from a hovered cell.
In this case we do not receive a cellEntered event from another cell that disables the Button overlay.

I have found this post with a suggested workaround:
https://www.qtcentre.org/threads/26044-QAbstractItemView-entered-signal-where-is-QAbstractItemView-left-signal

Now I can also confirm it on somehow on Ubuntu.
If I leave the cell over the left table border, during resizing the cell is painted delayed. When I leave the cell crossing other cells it paints normally.

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/10710

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.