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

Modeless dialog moves and gets smaller when its parent is moved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.5.3, 6.6.0
    • GUI: Window management
    • None
    • Windows

    Description

      A QDialog that is created with a QMainWindow as parent will move and resizes until minimum when the QMainWindow is moved. ( See movie )

      The DialogTest project just allocates a QDialog : m_dialog = new ModelessDialog(this);
      and upon pressing the test button calls m_dialog->show();
      Then moving the main window will resize the dialog.

      Somehow this bug affects all Versions since Qt 6.5.3 ( 6.5.2 is ok )

      When de parent is not set, the dialog will stay as expected.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            timothee.keller Timothée Keller
            jeanc Jean Custers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes