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

QColumnView: mouse press and move in non-current column do not update current item

    XMLWordPrintable

Details

    Description

      Consider the following:

      A QColumnView with three columns (including the column for the preview widget) has an item in the second column selected and current. The user presses the mouse button on an item in the first column, and moves the mouse up and down to highlight other items in the first column.

      The expected result is that when the item in the first column is pressed, the item is made current and the contents in the second column is updated. The same result is expected when moving the mouse over other items while the button is pressed.

      The actucal result is that the item pressed on, or moved over while the mouse button is pressed, in not made current, and the contents in the second column are not updated. If the mouse button is released on a different item to the one that was pressed, the user ends up with a column view where the highlighted item in the first column is not reflected in the second column, which looks wrong. If the user releases the button on the same item that was pressed, the clicked() signal is emitted, the item made current and the contents of the second column is updated accordingly.

      Once an item in the first column has been made current, pressing on an item or moving the mouse over other items in the first column makes the item current and updates the second column properly.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes