Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31039

Resize the height of a dialog make jump the position for a moment. Regression Mac Only

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.0.2
    • GUI: Window management
    • None
    • Bug appeared on Mac OS 10.7 & 10.8
    • macOS

    Description

      It's a mac only issue and it's not present on 4.8.4, it's a regression since Qt 5.0

      I need to manually resize my windows with the resize function or setFixedSize function, where it happens to work perfectly for the width, when I resize the height, the position of the windows move on the y() (jump up) and go back to it's original position (jump down) during the resize. The final position is correct but there is a glitch during the resize (jump up and down).

      I attached a small example of the situation that work fine on Qt 4.8 and bug on Qt 5.0. The example include 2 buttons in the layout of a dialog, one increase the width and the second one increase the height with an arbitrary value (25px). When you increase the with, the window doesn't move but when you increase the height, you can see a jump that occurs on the Mac OS X 10.7 platform.

      Attachments

        For Gerrit Dashboard: QTBUG-31039
        # Subject Branch Project Status CR V

        Activity

          People

            vestbo Tor Arne Vestbø
            johnlamericain Jonathan Courtois
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes