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

QTableView shows partial grid when showGrid = false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.8.2
    • Qt 6.8.2
      Windows 11 24H2
      Reproducible with both light and dark color schemes
    • Windows

      QTableWidget and QTableView show an extra vertical border to the right of every item cell, using Qt 6.8.2 on Windows 11.

      This issue is visible in Designer with a QTableWidget (example .ui file attached), as well as in compiled applications containing custom QTableViews. Replacing the 6.8.2 DLLs with the 6.8.1 DLLs in the build directory removes the issue.

      EDIT: After further testing, styles/qmodernwindowsstyle.dll seems to be the sole culprit.

       

      Appearance with Designer 6.8.1 (expected behavior, no grid lines are shown):

      Appearance with Designer 6.8.2 (unexpected vertical lines are visible):

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fgalliot Félix GALLIOT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes