Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
4.7.0
-
None
-
Gentoo Linux, KDE 4.5, Kernel 2.6.36
Description
See attached pyqt test case, bug also occurs in C++ programs.
First, notice there are different colors in QListWidget for (a) a selected item and (b) a selected and hovered item, the latter is slightly lighter.
Now, right-click on an item in the list to open the context menu, move the mouse out of the window and click there to close the context menu again. The color for the item you originally right-clicked stays at "selected and hovered". Only when you bring the mouse back into the widget, the color changes to "selected and NOT hovered".
Expected behaviour: Set the color to "selected and NOT hovered" when the mouse leaves the clicked ListItem or, at the latest, when the context menu is closed.
The same issue occurs for QTreeWidget, so I suppose it is in QAbstractItemView or above.
The original bug occurs in Dolphin's places panel. The selection behaviour is different there, so the missing "unhovering" is very well visible there. https://bugs.kde.org/show_bug.cgi?id=182914