Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.9.5, 5.11.0, 5.12.3
-
None
-
Windows 10,Microsoft Pinyin
Description
In model/view program, such as Qt official demo "spinboxdelegate" in C:\Qt\Qt5.10.0\Examples\Qt-5.10.0\widgets\itemviews\spinboxdelegate
if openpersistenteditor function is used ,the application will crash.
1) openpersistenteditor in some cells for example in cell (0,0)
2) microsoft pinyin , windows 10, Qt mingw 5.9.1 later version (5.9.1 ok)
3) input chinese words in cells (1,1) ,do not input in cells having persistenteditor
4) crash!
Test with Qt official demo "spinboxdelegate" in C:\Qt\Qt5.10.0\Examples\Qt-5.10.0\widgets\itemviews\spinboxdelegate
main.cpp
int main(...) { ... // add this sentence , input some words using microsoft pinyin in cell (0,0), then crash! tableView.openPersistentEditor(model.index(0,1)); tableView.setWindowTitle(QObject::tr("Spin Box Delegate")); ... }
Attachments
Issue Links
- is duplicated by
-
QTBUG-68409 QTableView, Openpersistenteditor, inputmethod in chinese, crashed
- Closed
- resulted from
-
QTBUG-54848 Problem with QAbstractItemDelegate and IME (chinese Input Method) with edit trigger QAbstractItemView::AnyKeyPressed
- Closed