Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0
-
None
-
fdc2a052a (dev), 37e41ed75 (6.8)
Description
Trying to edit cells in a TreeView. But the TextEdit starts editing the parent node or some other nonsensical location. Pretty sure this used to work fine in Version 6.7.3.
Starting Point:
After Double clicking on "Child 1":
Also after hitting enter the "Child 1" text doesn't become visible again either:
$Model ist just a simple QStandardItemModel I bound to the context. In Qml I'm using the TreeViewDelegate but also I managed to reproduce it with a custom delegate.
import QtQuick import QtQuick.Controls ApplicationWindow { width: 800 height: 600 visible: true TreeView { id: treeView anchors.fill: parent anchors.margins: 10 clip: true selectionModel: ItemSelectionModel {} editTriggers: TableView.DoubleTapped model: $Model delegate: TreeViewDelegate { font.pointSize: 14 } } }
Attachments
For Gerrit Dashboard: QTBUG-130589 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
602785,2 | Fix TreeView cell edit | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
602889,2 | Fix TreeView cell edit | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |