diff options
author | Stefan Löffler <st.loeffler@gmail.com> | 2020-04-26 12:03:28 +0200 |
---|---|---|
committer | Stefan Löffler <st.loeffler@gmail.com> | 2020-05-14 07:20:55 +0200 |
commit | 09ee4282e5eedf5b44245e8b28b223339f87ddfa (patch) | |
tree | 82a17dc0513704b7b84e0294ff2b20cbb42651c2 /configure.pri | |
parent | 844967d297327dc72a1aa67644c1b2fa3fe6839c (diff) |
Fix invalid text layout data when a full layout run is interrupted
When a QTextDocument is laid out, this is done in "chunks" to keep
programs responsive. During the layout process, blocks are split into
lines. When a full (re)layout is interrupted (e.g. because a
QHighlighter changes some formats before the layout for all chunks is
completed), later chunks are skipped. This results in invalid data
(e.g., blocks not split into lines).
This change ensures that full layout runs of the root frame are
completed even after interruptions.
Fixes: QTBUG-20354
Change-Id: I041c73a532a5abe74d577ca49810191b5594dca2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'configure.pri')
0 files changed, 0 insertions, 0 deletions