qt5: use of QStylePainter on WSpinny is not supported

Bug #1530720 reported by RJ Skerry-Ryan
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
RJ Skerry-Ryan

Bug Description

In WSpinny, we use QStylePainter to try and paint the WSpinny with the CSS:

QStyleOption option;
option.initFrom(this);
QStylePainter p(this);
...
p.drawPrimitive(QStyle::PE_Widget, option);

Using Qt 5.5.1, the first render of a WSpinny prints:

QMacCGContext:: Unsupported painter devtype type 1

Reading this bug:
https://bugreports.qt.io/browse/QTBUG-32639
it seems this is not supported.

"The bottom line here is that Qt 5 does not support rendering QWidgets with the OpenGL2 paint engine,"

AFAIK we don't actually rely on styling of spinnies currently. Do we?

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

Qt 5.5.1
OS X 10.11.2

Changed in mixxx:
importance: Undecided → Low
status: New → Confirmed
tags: added: qt5
Revision history for this message
Owen Williams (ywwg) wrote :

are we doing something wrong that could be causing problems in 2.0?

Revision history for this message
jus (jus) wrote :

This is with latest master on MacBook Pro 2018 2,6 GHz Intel Core i7
macOS 10.14.2 (18C54)
QT 5.12.0

Constantly spammed to log as long as spinnies are enabled
``QMacCGContext:: Unsupported painter devtype type 1``

RJ Skerry-Ryan (rryan)
Changed in mixxx:
milestone: none → 2.2.1
assignee: nobody → RJ Skerry-Ryan (rryan)
Revision history for this message
Daniel Schürmann (daschuer) wrote :
Changed in mixxx:
status: Confirmed → Fix Committed
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/8419

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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