Definitely seeing some historical evidence of different behavior of QPrinter::HighResolution on Unix compared to Windows/Mac. Perhaps an os-based ifdef is in order.
Also, I can crash Sigil on Arch (invalid pointer) by clicking the print button again while waiting on the print preview dialog from the first click. Interestingly enough, the same action will produce the same rare Gumbo assertion error you just fixed recently (with the 1.9.30 codebase). After the fix, there is only the invalid pointer when clicking the button twice.
Last edited by DiapDealer; 03-18-2023 at 12:09 PM.
|