Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.13.2
-
None
Description
After i load a large text(>50MB) using QPlainTextEdit,i use QPrintPreviewDialog to view the print preview,but the result is empty.
When i use qt source debugging ,i find that in the QTextDocument::print() function,the pageCount() returns a negative value.i think this is abnormal.
You can verify the above statement with the attached code.
Attachments
Issue Links
- is duplicated by
-
QTBUG-97531 Dynamicpagecount failed
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-96443 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
370242,9 | Use max pageCount Preview page when print big file | dev | qt/qtbase | Status: NEW | 0 | 0 |