qt6-bb10/tests/auto/gui/text
Santhosh Kumar 8a72508439 Skip 'off-by-one' adjustment in block length during undo operation
The adjustment of block length with 'off-by-one' affects content
length during undo operation. The issue occurs when we perform undo
operation for a set of group blocks that have same fragment
position. Since their positions are same, group block change
(QTextDocumentPrivate::documentChange) with respect to insertion
doesn't affect document block length and further adjustment to
'off-by-one' without considering this leads to incorrect document
content change information (such as invalid information with regard
to characters removed).

This patch skips adjustment of group block length during undo
operation.

Amends 8fbedf2196

Fixes: QTBUG-113865
Pick-to: 6.7 6.6 6.5 6.2 5.15
Change-Id: I315dcf01ba5b2f4ed6d95e9d6910d82848374aef
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-12-20 15:01:40 +00:00
..
qabstracttextdocumentlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qcssparser tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qfont QFont::Tag: use new comparison helper macros 2023-12-08 03:18:32 +01:00
qfontcache CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfontdatabase coretext: Support variable application fonts 2023-10-03 19:25:46 +02:00
qfontmetrics CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qglyphrun Skip mixedScript test on platforms with no Hangul font 2023-11-02 17:41:14 +01:00
qinputcontrol CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrawfont Adapt QRawFont to use QFont::Tag 2023-10-20 21:37:15 +02:00
qstatictext tst_qstatictext: remove dead code 2023-11-26 12:59:27 +00:00
qsyntaxhighlighter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextblock CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocument Skip 'off-by-one' adjustment in block length during undo operation 2023-12-20 15:01:40 +00:00
qtextdocumentfragment CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocumentlayout Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
qtextformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextimagehandler CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextlayout Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qtextlist CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextmarkdownimporter Add QTextDocument* constructor argument to QTextMarkdownImporter 2023-09-01 08:17:29 +02:00
qtextmarkdownwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextobject CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextodfwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextpiecetable qtextdocument::insertText: port to QSV 2023-10-05 22:08:45 +03:00
qtextscriptengine tst_QTextScriptEngine: replace QList with const array 2023-08-08 16:03:28 +02:00
qtexttable CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00