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

QPrintPreviewWidget subclass crash on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.5.0
    • GUI: Printing
    • Qt 5.5 on Windows 8.1
    • a5f470240f31d35e694a40fe837fc4f49bc32072 (qtbase/5.5, 29.9.2015. 5.5.2)

    Description

      When subclassing QPrintPreviewWidget the application crashes if the user

      • selects the printer 'Microsoft XPS Document Writer'
      • clicks the Print button
      • and then clicks the Cancel button on the file dialog to choose the XPS file name

      The attached file Test.zip contains a minimal example application which triggers the error (in my environment at least).
      The application works correctly if compiled with Qt 5.4.

      Attachments

        1. qtbug48203_stack1.txt
          20 kB
        2. qtbug48203.zip
          3 kB
        3. Test.zip
          2 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-48203
          # Subject Branch Project Status CR V

          Activity

            People

              johnlayt John Layt
              riccardo.penco@gmail.com Riccardo Penco
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes