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

QPrintPreviewWidget hangs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.7.3, 5.3.1, 5.13.1
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Environment:
      Windows 7 32Bit and 64Bit, Windows XP
      OSX
    • Platform/s:
      macOS

      Description

      QPrintPreviewWidget and QPrintPreviewDialog hang when in page width zoom mode and view is sized just about where it needs a vertical scrollbar.

      To reproduce, build and run the TextEdit demo, delete most of the demo text so there is only one page. Open the print preview. Press the page width zoom button. Then size the window just to the point where the vertical scroll bar is required. You might have to tweak back and forth a few times to hit the bug.

      It appears that the code enters an endless loop resizing with and without the scroll bar.

        Attachments

          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:
              sthomsen@ncidea.com Sam Thomsen
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes