Qt Widgets stretching past the screen size (Main monitor) after updating from Qt 5.6 to Qt 5.12.4



  • Hello,

    Per the subject, we are observing a sizing issue with our QWidgets after upgrading our Qt SDK.

    Whenever an user opens a QDialog, the widget will stretch both horizontally and vertically until surpassing the bounds of the monitor.

    I have tried several properties that have given me no results (Size policy, setting minimum size, etc). I do observe that not all of our widgets are showing this problem.

    Not sure what to look for. Any thoughts? What other information can I provide?

    Christian



  • Hello,

    Through pattern following and experimentation, I noticed that the issue is only present when I do not set a parent for the dialog widgets. This wasn't an issue in 5.6, so I am curious why has this started to appear after upgrading.

    Any thoughts?

    Christian


  • Lifetime Qt Champion

    Hi,

    What version are you currently using ?
    Is it self-built ?
    On what OS are you running ?



  • Hi,

    Qt Version is 5.12.4 right from the Open Source website.

    Windows 10

    Christian


  • Lifetime Qt Champion

    Can you try with the latest Qt 5.13 version ?


Log in to reply