Results 1 to 6 of 6

Thread: Bug in Qt5.12 or PyQt5.11.3???

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2019
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Bug in Qt5.12 or PyQt5.11.3???

    Hey anda_skoa,

    thanks for your answer.

    Yes, the pageSize is still set to A4.
    This is also true when I try to print via printdialog (and not directly into a pdf-file). The settings are passed correctly, but I get wrong output with my HP printer and also when I print to pdf with the installed pdfprinter of my system.

    I've also tried this with pySide2 (i. e. Qt for Python) and the result is the same.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Bug in Qt5.12 or PyQt5.11.3???

    That sounds very much like a bug indeed.

    Is it just wrong with A4 or does it always end using Letter even when you use any other different size?

    Given that you experience this with portrait but not landscape, have you tried setting page size after page orientation?

    You could also try QPdfWriter but I guess it will have the same problem (very likely sharing most of the implementation).

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    barkowski@shinobi-mail.de (26th January 2019)

  4. #3
    Join Date
    Jan 2019
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Bug in Qt5.12 or PyQt5.11.3???

    The output is always in portrait and us-letter (setting landscape has no effect) and the wrong page dimensions are independent of the desired page orientation.
    It is not depending on A4, too. Same result with othe page dimensions as A5 or A3.

    Should I place a bug-report here: https://bugreports.qt.io/secure/Dashboard.jspa?

  5. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Bug in Qt5.12 or PyQt5.11.3???

    Quote Originally Posted by barkowski@shinobi-mail.de View Post
    The output is always in portrait and us-letter (setting landscape has no effect
    Oh, wow, even worse than how I interpreted it.

    Quote Originally Posted by barkowski@shinobi-mail.de View Post
    Should I place a bug-report here: https://bugreports.qt.io/secure/Dashboard.jspa?
    Yes, definitely.

    I looked a bit and couldn't find a simlar report.

    Ideally attach a minimal test program, e.g. using Qt for Python, that shows the problem.

    Cheers,
    _

Similar Threads

  1. PyQt5 Questions
    By Miton in forum Newbie
    Replies: 6
    Last Post: 30th January 2017, 12:10
  2. PyQt5 tutorials
    By riverbee in forum General Discussion
    Replies: 0
    Last Post: 5th August 2016, 01:42
  3. PyQt5 chart
    By ecce in forum Newbie
    Replies: 2
    Last Post: 24th April 2016, 14:06
  4. How can I install pyQt5
    By prachi kamble in forum Installation and Deployment
    Replies: 0
    Last Post: 4th June 2015, 12:13
  5. PyQt5 QPixmap
    By ChrisOfBristol in forum Newbie
    Replies: 4
    Last Post: 4th April 2015, 21:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.