printing: ACTION_PRINT and ACTION_PRINT_DIALOG are handled identically
GTK_PRINT_OPERATION_ACTION_PRINT
should not open the print dialog but it does when using the portal.
The reason is that gtk_print_operation_portal_run_dialog
does not abide by the show_dialog
flag. Instead of using the Print
function from the portal if show_dialog=false
, it always uses PreparePrint
.