P3: Somewhat important
5.15, 6.1.0, 6.2.0
I uploaded an example of a print preview program.
- run the demo, then open the text file called "SmallText.txt" I uploaded
- click the print button, you can preview the file, and also you can see the file page count
- but when you open a larger file(> 50M), you can see that the page count = 1, it's not true
In my opinion, I think even if I open a very large text file, I should be able to get the correct number of pages of the file.
I uploaded a video reproducing the problem.
QTBUG-96443 When the text is too large(>50MB),QPrintPreviewDialog can not preview the text.