Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt5: use of QStylePainter on WSpinny is not supported #8419

Closed
mixxxbot opened this issue Aug 22, 2022 · 5 comments
Closed

qt5: use of QStylePainter on WSpinny is not supported #8419

mixxxbot opened this issue Aug 22, 2022 · 5 comments
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: rryan
Date: 2016-01-03T22:21:12Z
Status: Fix Released
Importance: Low
Launchpad Issue: lp1530720
Tags: qt5


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?

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2016-01-03T22:21:38Z


Qt 5.5.1
OS X 10.11.2

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2016-01-03T22:50:03Z


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

@mixxxbot
Copy link
Collaborator Author

Commented by: esbrandt
Date: 2018-12-30T21:58:28Z


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

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2019-02-02T22:14:31Z


#1994

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.2.1 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant