Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTabWidget missing borders in Qt 5.12 on macOS
Forum Updated to NodeBB v4.3 + New Features

QTabWidget missing borders in Qt 5.12 on macOS

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 438 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mjsmithers
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you provide a minimal compilable example on that report that shows that behaviour ?
      This will help finding the issue.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mjsmithers
        wrote on last edited by mjsmithers
        #3

        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).

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mjsmithers
          wrote on last edited by
          #4

          Anyone tried the sample app?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved