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

regression: QTableView unnecessary scrolls when a column is selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 4.7.4
    • 4.6.3, 4.7.1
    • Widgets: Itemviews
    • None

    Description

      In the attached test case, the first row spans over the columns. When you click Column2, the Column2 scrolls to the left of the tableview, which is unnecessary.
      It seems to be caused by the wrong selection region returned by QTableView::visualRegionForSelection.
      This is a regresstion introduced by 463. 462 doesn't have this problem.

      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)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes