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

QTabBar autoscrolls unnecessarily

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.8
    • None

    Description

      SUMMARY
      If one opens a lot of tabs then the extra tabs get hidden and have to be scrolled to somehow. That works when you use the scroll wheel, but when you click on a tab the bar auto-scrolls to hide the overflown tabs.

      For example these are the tabs open, tabs hidden due to overflow are in parenthesis:

      1 2 3 4 5 6 7 (8) (9)
      ^

      When one scrolls to see the last tab, like this:

      (1) (2) 3 4 5 6 7 8 9
      ^

      Then clicking tab 8 will result in this:

      (1) 2 3 4 5 6 7 8 (9)
      ^

      Instead of proper (this happens when you use the mouse wheel to scroll):

      (1) (2) 3 4 5 6 7 8 9
      ^

      OBSERVED RESULT
      The tab bar auto-scrolls and hides items that are after the clicked tab.

      EXPECTED RESULT
      The tab bar doesn't auto-scroll, that it behaves the same using a mouse click than it does when using a scroll wheel.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            avamander Avamander /
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes