Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. segmentation fault, Qt app crash when XPS printer dialog is closed

segmentation fault, Qt app crash when XPS printer dialog is closed

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 897 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Calvev
    wrote on last edited by
    #1

    Hello,

    I encountered a 100% crash when I tried closing "Microsoft XPS Document Writer" SAVE FILE dialog box.
    This is what I have:

    • a class to handle printer
    • an invokable function for QML app to print text

    Repro step:

    • set "Microsoft XPS Document Writer" as default printer on Windows control panel
    • run app
    • populate text and trigger printing
    • Microsoft XPS Document writer will ask for a save file location via dialog box
    • click cancel on the dialog box

    My OS: Win 10

    My Investigation so far:

    • No crash occurred when I use physical printer, regardless whether the printer is connected or not
    • Since I'm building QML app and my printing function is a "QINVOKABLE" function

    Any suggestion and help is really appreciated.

    Thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What version of Qt are you using ?

        C Offline
        C Offline
        Calvev
        wrote on last edited by
        #3

        @SGaist

        Hi, thanks for the reply. I'm still using Qt 5.5.0

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you test that against a more recent version to check it's still misbehaving ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved