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

tst_qcolordialog fails in RHEL7.1 due to native dialog

XMLWordPrintable

      With GNOME_DESKTOP_SESSION_ID environment variable set, the dialog is chosen to be RHEL's own, thus failing the test. Without it, Qt selects it's own dialog which is compatible with the autotest.
      Attached screenshots of the 2 different dialogs.

      PASS   : tst_QColorDialog::initTestCase()
      QWARN  : tst_QColorDialog::defaultOkButton() QObject::connect: invalid null parameter
      
      ========= Received signal, dumping stack ==============
      GNU gdb (GDB) Red Hat Enterprise Linux 7.8-21.el7
      ...
      QFATAL : tst_QColorDialog::defaultOkButton() Test function timed out
      FAIL!  : tst_QColorDialog::defaultOkButton() Received a fatal error.
         Loc: [Unknown file(0)]
      Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted
      

        1. not_native.JPG
          not_native.JPG
          42 kB
        2. native_dialog.JPG
          native_dialog.JPG
          29 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mmutz Marc Mutz
            tosaraja Tony Sarajärvi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes