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

cannot click on expand/collapse icon if left edge of row is beyond first column

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Beta 1
    • 5.0.0, 5.0.2, 5.1.0
    • Widgets: Itemviews
    • None
    • Windows 7, CentOS
    • 35ebdeb83eb4057f5e50042747b13d0772051459

    Description

      If you call setFirstColumnSpanned() on a row, but the left edge of the row is to the right of the first column, you cannot click on the row's expand/collapse icon. QTreeViewPrivate::itemDecorationAt() returns -1 in that case, because QHeaderView::logicalIndexAt() returns a non-zero column. It seems to me that itemDecorationAt() should take spanning into account.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              glevner Geoff Levner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes