Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15128

Setting style sheet background-color property to QTabWidget causes its tabs to disappear when moving them.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 4.7.0
    • Widgets: Style Sheets
    • None
    • OS: Windows 7 Pro x64, Ubuntu 9.04 x64
      Destination: Desktop (Win32, Linux)
    • I07aee0f369fa715d852556620c8e74bcffd836da

    Description

      Setting background-color property via style sheet in QTabWidget combined with movable tabs results in strange behavior of a QTabWidget - when color is set to i.e. blue or red, moving any tab causes disappearing of this very tab for the time of moving. When color is set to transparent, situation's similar, but only on first moving - subsequent ones are handled properly. This was tested on both Windows and Linux using WindowsVista and Motif styles.

      Attachments

        1. main.cpp
          0.5 kB
        2. QTabWidgetBug.png
          QTabWidgetBug.png
          34 kB
        For Gerrit Dashboard: QTBUG-15128
        # Subject Branch Project Status CR V

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            fenix_voltres Maciej Węglarczyk
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes