Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.0
-
None
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.