Potential bug in PyQt5 v5.11.3 or 5.12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Potential bug in PyQt5 v5.11.3 or 5.12

Sammy Barkowski
Hey there!

I have a problem with PyQt5 and QPrinter which seems to be related to PyQt 5.11.3 or Qt 5.12. I’m running Manjaro Linux with python 3.7.2, pyqt5-common 5.11.3, python-pyqt5 5.11.3 and Qt5 at v5.12.0.

I have a program which printed directly to a pdf-file in portrait- or landscape-orientation using QPrinter. Everything worked perfectly with PyQt5 v5.11.2 and Qt5 v5.11.
But now, whitout any code-changes, I always get documents in format "us-letter" in portrait-orientation.

I have a minimal working-example and some pdf-files to illustrate this here: https://www.dropbox.com/sh/feve6ubvylrko0x/AACC8W0hqEQWSu3t5zGdQI9ra?dl=0
(I had to remove names in two of the documents with LibreOffice Draw. Thus, the specs say that they are generated by LibreOffice instead of Qt5.12.)

In my example script, I let python print the printer-settings and they are correct, but the generated output is wrong.

Can anybody confirm and reproduce this behaviour with my working example? If this is not related to PyQt5, should I report a bug at Qt5.12?

Thank you!

Regards,

Sam Barkowski


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt