Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97531

Dynamicpagecount failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.15, 6.1.0, 6.2.0
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

             I uploaded an example of a print preview program.

      [Step]

      1. run the demo, then open the text file called "SmallText.txt"  I uploaded
      2. click the print button, you can preview the file, and also you can see the file page count
      3. but when you open a larger file(> 50M), you can see that the page count = 1, it's not true

      [Hope]

              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.

        Attachments

        1. reproducing video.mp4
          5.71 MB
          Alan Fan
        2. SmallText.txt
          19.80 MB
          Alan Fan
        3. testpagecount.zip
          3 kB
          Alan Fan

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              johnlayt John Layt
              Reporter:
              fanruijie Alan Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes