Summary: | dev-qt/qtgui-5.13.2: Wrong colours of non-GL widgets when using OpenGL on big endian | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcus Comstedt <marcus> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | CONFIRMED --- | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
URL: | https://bugreports.qt.io/browse/QTBUG-82599 | ||
Whiteboard: | tracking upstream | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
Screenshot of Qt5 demo "2dpaining" showing the issue
Proposed patch to fix the swizzle on big endian Screenshot of Qt5 demo "2dpainting" after applying the patch |
Created attachment 616672 [details, diff]
Proposed patch to fix the swizzle on big endian
Created attachment 616674 [details]
Screenshot of Qt5 demo "2dpainting" after applying the patch
Is it the same with 5.14.1? If yes please send your patch upstream. Please don't randomly add arches. As far as I can tell, the bug still exists in 5.14, 5.15 and 6. Created an upstreams report and put the link in the URL field. |
Created attachment 616670 [details] Screenshot of Qt5 demo "2dpaining" showing the issue When using a QOpenGL widget on a big endian system, widgets _other_ than the QOpenGL widgets appear in the wrong colours. This is because the swizzling to convert from QImage::Format_ARGB32 to GL_RGBA needs to be different on big endian (ARGB -> RGBA instead of BGRA -> RGBA).