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

QTabBar::setSelectionBehaviorOnRemove autoscroll to the top the tab selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.12.5
    • GUI: Window management
    • None
    • 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

            Unassigned Unassigned
            jetownfeve21 Pierre Luddens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes