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

tst_QDialog::keepPositionOnClose flaky on Opensuse

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.10.0 FF
    • 6.9
    • Quick: Dialogs
    • None
    • Linux/X11
    • 6ea2657ad (dev)

    Description

      tst_QDialog::keepPositionOnClose is flaky on Opensuse 15 due to a race condition.

      The flakiness itself is not from the test, but from the Qt library.

       

      When passing m_dirtyMargins is set to true, and the size is updated afterwards.

       

      When failing m_dirtyMargins is set to false, after the size has been updated. Resulting in no real update being made. When failing the size of the frame is considered to be (0,0) and the dialog.geometry() and dialog.frameGeometry() are equal. These are erroneous and are due to the update being done before m_dirtyMargins is set to false. 

       

      NEW! - Flaky/Crashed/Failed Tests - Coin - Dashboards - Grafana

      Attachments

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

        Activity

          People

            fredericl Frederic Lefebvre
            fredericl Frederic Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes