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

QPrintPreviewWidget hangs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.3, 5.3.1, 5.13.1
    • GUI: Printing
    • Windows 7 32Bit and 64Bit, Windows XP
      OSX
    • 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

        1. qtbug20677_stack.txt
          37 kB
          Friedemann Kleint
        2. qtbug20677.zip
          2 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              johnlayt John Layt
              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