4 ms·
IIRC that only applies to Qt Widgets apps which is a decreasing number of apps. The XCB native painting flag doesn't work with Qt Quick and actually seems to br
by md8z 5y ago
IIRC that only applies to Qt Widgets apps which is a decreasing number of apps. The XCB native painting flag doesn't work with Qt Quick and actually seems to break those apps which use it, because Qt Quick is rendered with GL. Someone correct me if I've got the details wrong here but for me that flag is pretty broken, it falls into the category of "legacy compatibility only" just like everything else in X11...
- AshamedCaptain 5y agoActually the flag was added in some Qt 5.x version due to outcry.
- md8z 5y agoYeah, because people were using that for some older Qt Widgets apps. AFAICT it was never supported for Qt Quick because that doesn't even use the Qt platform style.
- AshamedCaptain 5y agoGoing to ask: do you know _any_ desktop software using Qt Quick ?
- md8z 5y agoYes. KDE has been slowly adopting it for 11 years (!) now: https://aseigo.blogspot.com/2010/10/plasma-in-18-24-months.html https://aseigo.blogspot.com/2010/10/plasma-in-18-24-months.h...
- jcelerier 5y agoAs a data point the immense majority of apps I use are still widgets.
- md8z 5y agoYeah they will be if you use a lot of those old style toolbars-forms-and-dialogs apps. For other apps I don't see much interest in Qt Widgets.
- AshamedCaptain 5y agoWtf. We really live in different worlds. Most programs you use in your desktop are not "toolbars-forms-dialogs-and-buttons" ? What exactly do you use ? Braille interface ?
- md8z 5y agoWeb browsers? Programs based around images/video? LibreOffice? Krita? Blender? Most "productivity" apps I see are based around a canvas or around images in some way. If they can hardware accelerate that, they will.
- AshamedCaptain 5y agoAll of these are "toolbars-forms-dialogs-and-buttons". Something like this https://github.com/KDE/kongress/blob/master/screenshots/combined.png https://github.com/KDE/kongress/blob/master/screenshots/comb... would perhaps not be "toolbars-forms-dialogs-and-buttons" , but that is hardly recognizable as an application you find on your desktop PC.
- md8z 5y agoExcept they aren't really, the main widget in all of those is already an OpenGL accelerated canvas... If your application is primarily a form or a dialog then yeah, but everything else that has images or video or custom drawing is going to want hardware acceleration. Maybe you spend a lot of time filling out forms or in text editors or writing emails? But I think even those text-based apps will want to be hardware accelerated eventually too, just look at the number of GPU rendered terminal emulators that are popping up.
- 5y ago