Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.3.0, 4.8.5, 5.2.0
-
None
Description
QTreeWidget::currentItemChanged() is emitted when the widget gains focus, and the first item in the list is set to be current item. A change of focus should not result in this signal being emitted.
simple example with QListWidget:
We use item views in tab widget:
When we change tabs, item view in activated tab gains focus and selects item, emitting currentItemChanged signal. Expected behaviour is to not emit signal.
Due to this signal calls the slot, that uses incorrect tab information(tabChanged signal emits after currentItemChanged)
Attachments
Issue Links
- is duplicated by
-
QTBUG-74386 Unexpected focus and editing behaviour in QTableView
- Reported