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

QTableView grid painting broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.4, 5.14.0 Alpha
    • 5.12.2
    • Widgets: Itemviews
    • None
    • MinGW 7.3.0
    • All
    • 1029a2e01051cd35452941e7b49b36520481cdf0 (qt/qtbase/5.12)

    Description

      The painting of the gridlines for a QTableView does not work correctly anymore in Qt 5.12.2. If the grid is painted, then also for the outer cells (column 0) the outer grid line (left side) is painted. This leads to a "double" border because the QTableView also paints its border. Because the QHeaderView does not paint this "double" border for its first (last?) column, this problem is even more noticeable. The following picture shows a 500% zoom of a QTableView in Windows style:

      In Qt 5.9.2 this problem was not there:

      The attached test case shows this problem.

       

      Attachments

        1. ItemviewColumnSizeBug.zip
          3 kB
        2. Qt_5.12.2_Zoom.png
          Qt_5.12.2_Zoom.png
          30 kB
        3. Qt_5.9.2_Zoom.png
          Qt_5.9.2_Zoom.png
          7 kB
        For Gerrit Dashboard: QTBUG-74706
        # Subject Branch Project Status CR V

        Activity

          People

            chehrlic Christian Ehrlicher
            ukindler Uwe Kindler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes