QTabWidget missing borders in Qt 5.12 on macOS
-
Hi,
Compiling on macOS...
In QT 5.9, when autoFillBackground is set to true for a tab in a QTabWidget, the background of the tab goes away but a nice border remains around the tab.
In Qt5.12, when autoFillBackground is set to true for a tab, the top border (which overlaps with the tab bar) remains but the left and right borders are missing, and sometimes the bottom border is missing (depending on which 5.12.x version).
I've reported this to Qt and supplied screenshots
https://bugreports.qt.io/browse/QTBUG-72365
bug if anyone else has some ideas, I'd be very interested.This border problem is stopping me from moving my products from 5.9 LTS to 5.12 LTS.
I've experimented with stylesheets but no luck so far.
Michael
-
Hi,
Can you provide a minimal compilable example on that report that shows that behaviour ?
This will help finding the issue. -
Sure.
https://www.dropbox.com/s/r8jfdu5je8b4zoc/QTabWidgetProblemQt512.zip
Compile and run with with Qt 5.9.7 and Qt 5.12.x, and compare the tab borders. They match the screenshots on the bug report (above).
-
Anyone tried the sample app?
-
Sorry I thought I had answered. I can confirm that this is happening and from the looks of it, the issue is being worked on.