Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.1
-
None
-
Linux/X11 running KDE Plasma 5.14.5 with glibc 2.26, kernel 4.19.12
-
b4cc29434769b1d6c08ab2fc76cdcc2dac5dede9 (qt/qtbase/5.12)
Description
When QTextDocument contains a QImage of a certain size, pageCount returns a non-sensical value.
How to reproduce:
Launch the attached example from example.zip and observe the console.
Expected result: A positive number should be printed.
Actual result: A negative number is printed.
Note: This is a regression compared to 5.12, where this bug did not occur. It still happens in the current 5.13α Snapshot
Attachments
Issue Links
- resulted from
-
QTBUG-59886 Layouting of text after an image taller than page size is positioned on top of the image
- Closed