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

QTableView/QHeaderView incorrect behaviour with moveSection()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.3.1
    • None
    • Linux Mint 17 x64

    Description

      The column header of a QTableView is not behaving as expected when the QHeaderView::moveSection() function is used. I have attached a test program that creates and displays a simple table in a QMainWindow. The table is set to single selection mode and row selection behaviour. When a row is selected, the last column header is "not highlighted", but all other column headers are.

      If the moveSection() line is commented out, all headers are highlighted as expected.

      When this problem occurs, the header will become highlighted if the mouse cursor is hovered over it or the window is moved.

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            gsxruk Dan Allen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes