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

tst_QDialog::keepPositionOnClose flaky on Opensuse

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes