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

The QTabBar title is not displayed while moving a QTabBar.

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      The QTabBar title is not displayed while moving a QTabBar.

      To reproduce the issue:

          - Launch designer.exe

          - Open the file "bug_qtabbar_with_bug.ui"
          - Press CTRL+R in order to execute the Widget
          - Move "Tab 2" to the left of "Tab 1"

       => The "Tab 2" is not displayed (or shifted) while dragging.

       

      The issue does not appear if  the styleSheet of the QTabWidget is edited by doing:

      • Removing the following lines from the QTabBar::tab {} block:
        border-right: 0px solid #141414;
        border-top: 2px solid transparent;
        padding: 3px 6px 3px 3px;
      • Removing the following lines from the QTabBar::tab:selected {} block:
        border-top: 2px solid #1a8dff;
        border-right: none;

       

      Attachments

        1. bug_qtabbar_without_bug.ui
          1 kB
          Mehdi Belila
        2. bug_qtabbar_with_bug.ui
          1 kB
          Mehdi Belila
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            mahdi.belila Mehdi Belila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes