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

QTabBar::moveTab messes the tab bar rendering when moving the currently selected index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.6.2
    • None
    • Windows 7, 64 bit
    • 4743831d128dfad4ac9fbafa6e7544dbe7fb7ed2

    Description

      When calling moveTab on the current index the tab bar is incorrectly rendered in various parts.

      I attached a small application showing the problem, along with 2 screenshots.

      The application displays a tab bar with 8 tabs and a "Test" button (before.jpg). When the button is pressed, the current index (which in this case is 0) is moved to position 6. At this point index 0 shows a selected close button but not a selected tab, index 6 is selected but shows a disabled close button and index 1 shows no close button at all (after.jpg).

      I've tested it only on Windows 7.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            ntoskrnl Daniel Pistelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes