Bug 345349 - Rendering glitches in the designer of Qt Creator (possibly QQuickWidget)
Summary: Rendering glitches in the designer of Qt Creator (possibly QQuickWidget)
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: Oxygen
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.2.1
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL: http://imgur.com/STAxmxZ
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 06:52 UTC by jeremy
Modified: 2026-02-13 08:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy 2015-03-20 06:52:52 UTC
The screen says it all.
This is probably not a Qt problem since this rendering glitch only happens with Oxygen (and Breeze too).

I tried to pinpoint the problem myself by looking at the Qt Creator and the Oxygen codebase myself, but I didn't have time to understand them enough to be able to fix the rendering.

I made a little Qt test app with a QQuickWidget embedded in it and it worked just fine, Oxygen and Breeze didn't have any problem rendering it *but* since like I said any other Qt style than Breeze and Oxygen will render Qt Creator just fine, I'm really confused about what and who is causing the problem exactly.

If someone can give me some /directions/, I can try again tomorrow to fix it.

Thanks,



Reproducible: Always
Comment 1 Hugo Pereira Da Costa 2015-03-20 07:28:40 UTC
Can you also post a screenshot of how it looks with another widget style ? Aside from the error messages, I am not quite sure what the rendering issue is. 
Also, if it happens inside Qt creator and not in a 'real' app, it might actually be related to Qt creator itself.
Comment 2 Hugo Pereira Da Costa 2015-03-20 07:30:16 UTC
(as a side note, and this also is due to Qt creator, there is pretty much nothing on the screenshot that looks like oxygen, so you better off using qtcreator -style plastique in the meanwhile :))
Comment 3 Hugo Pereira Da Costa 2015-03-20 07:31:44 UTC
Finally, any chance you can test a more recent version of Qt5 (5.4) ? I think to remember there have been 'fixes' on the QtQuickControls in there (but not 100% sure)
Comment 4 jeremy 2015-03-20 18:53:51 UTC
(In reply to Hugo Pereira Da Costa from comment #1)
> Can you also post a screenshot of how it looks with another widget style ?
> Aside from the error messages, I am not quite sure what the rendering issue
> is. 
> Also, if it happens inside Qt creator and not in a 'real' app, it might
> actually be related to Qt creator itself.

http://i.imgur.com/uhbVuz0.png

What do you mean when you say a "real app"?
Do you say that because Qt Creator looks to be using a custom style itself? 

From what I understand, widgets with black rendering are QQuickWidget and Oxygen is making them somehow "native" ( http://doc.qt.io/qt-5/qwidget.html#native-widgets-vs-alien-widgets ).

And QQuickWidget can't be rendered as native widget or else it doesn't render at all ( https://qt.gitorious.org/qt/qtdeclarative/source/c9553ad7d8041c7b0fd769dc8cd0f5335d9408a3:src/quickwidgets/qquickwidget.cpp#L770 )
Comment 5 jeremy 2015-03-20 18:55:29 UTC
(In reply to Hugo Pereira Da Costa from comment #3)
> Finally, any chance you can test a more recent version of Qt5 (5.4) ? I
> think to remember there have been 'fixes' on the QtQuickControls in there
> (but not 100% sure)

I have Qt-5.4.1
Comment 6 jeremy 2015-03-22 11:12:08 UTC
Tried again with the QtCurve theme and its working just fine too: https://www.archlinux.org/packages/community/x86_64/qtcurve-qt5/

Maybe there is something wrong with KStyle ?
Comment 7 Hugo Pereira Da Costa 2015-03-22 12:52:57 UTC
If you feel like testing this (I have had no time for testing myself), you can just change the ifdef's in breezestyle.h (look for ParentStyleClass). 

Thanks ! 

Hugo
Comment 8 Justin Zobel 2021-03-09 23:58:18 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 9 Filip Fila 2026-02-13 08:15:47 UTC
Please provide an update if you're still affected by this.