Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.0, 5.15.2
-
None
Description
Setting very big font size, adding multiline markdown text and calling QTextDocument's size() method makes app stuck in infinite while loop inside QTextDocumentLayoutPrivate::layoutBlock().
Way to reproduce:
- Create QFont with very big pointSize (i.e. 20'000'000).
- Create QTextDocument and set this font as default font.
- Set document content with setMarkdown with multiline text (i.e. "TEST \n\n\n STRING").
- Call document's size() method.
- App freezes.
Please let me know if you need more information