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

QTabBar::setSelectionBehaviorOnRemove autoscroll to the top the tab selected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.12.5
    • Fix Version/s: None
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
    • Platform/s:
      Linux/Other display system

      Description

      The project is a web browser in Qt, there is a QtabBar that handle the different QWebengineWebviews.

      Using the QTabBar::setSelectionBehaviorOnRemove() to select a tab when the current tab is closed but the scroll position of the new tab selected is automatically reset to the top of the page.

      I use setCurrentIndex(index + 1) for now to avoid this strange behaviour.

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jetownfeve21 Pierre Luddens
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes