Opened 6 years ago

Closed 6 years ago

#14731 closed defect (fixed)

wxGTK printing: it work only the first time

Reported by: wojdyr Owned by:
Priority: normal Milestone:
Component: wxGTK Version: stable-latest
Keywords: printing Cc:
Blocked By: Blocking:
Patch: yes


This is continuation of #13093

Apparently GTK doesn't allow GtkPrintOperation to be reused.

I'm attaching a patch that creates new GtkPrintOperation every time Print() is called.

Attachments (1)

do_not_reuse_GtkPrintOperation.diff download (1.6 KB) - added by wojdyr 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by wojdyr

comment:1 Changed 6 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [72642]) Recreate GtkPrintOperation every time when printing in wxGTK.

Apparently reusing GtkPrintOperation is not allowed, so create a new one
every time we need it.

Closes #14731.

Note: See TracTickets for help on using tickets.