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

Hidden column in new TableView sometimes cuts off columns at the column end

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Duplicate
    • Affects Version/s: 5.15.0, 5.15.1
    • Fix Version/s: 5.15.2
    • Labels:
      None
    • Platform/s:
      Linux/X11, macOS, Windows

      Description

      After I switched using the proper HeaderView component for the new TableView, see https://bugreports.qt.io/browse/QTBUG-87135 I noticed that one column at the end was missing when I scrolled too fast to the right of the window. The data column was missing, but the headerview could still be dragged, which revealed another column, but the data column was still missing.

      The example has 100 rows and 100 columns, one column is hidden and every second column has a red background. So the last column, column "100" should be red.

      Seems to me the same problem with dragging the horizontal scrollbar too fast outside the window (see screenshots)

        Attachments

        1. expected_result.png
          expected_result.png
          27 kB
        2. overshot_to_the_right.png
          overshot_to_the_right.png
          28 kB
        3. tableview_v2_toggle_column.qml
          5 kB
        4. tableview_v2.qml
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            richard Richard Moe Gustavsen
            Reporter:
            voodoo66 Voodoo Master
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes