Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.4, 5.5.0
-
None
-
Window 7, Qt 4.7.4
Description
There is an issue in undo – redo for QTextEdit control. We can duplicate this issue with the help of following steps.
1. Enter some text in QTextEdit.
2. Select the text by Ctrl+A
3. Override the text as "test"
3. Ctrl+Z to undo the changes
>> "t" character remained "est" undone
Sample Code:
#include <QApplication> #include<QtGui> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWidget *w = new QWidget(); QTextEdit *textEdit = new QTextEdit(w); w->show(); return a.exec(); }
Attachments
For Gerrit Dashboard: QTBUG-38825 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
123990,3 | QTextEdit/QQuickTextEdit undo issue - Part #1 | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
123991,5 | Fix QTextEdit/QQuickTextEdit undo bug - Part #2 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
123992,4 | Fix QTextEdit/QQuickTextEdit undo issue - Part #3 | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |