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

Qt Quick key event / accessibility problems on Ubuntu 14.04 x64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.4.2, 5.5.0
    • None
    • Ubuntu_14.04_x64 (A new CI configuration that exists since Jan 2015. It keeps randomly passing, and thus keeps getting marked as significant until it gets disabled again and again due to these problems...)

    Description

      Several key handling related Qt Quick Controls auto tests are failing in the Ubuntu 14.04 CI machine:

      QWARN  : qtquickcontrols::Tests_TextField::test_cursorPosition() QSpiApplication::keyEventError  "org.freedesktop.DBus.Error.NoReply" "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
      FAIL!  : qtquickcontrols::Tests_TextField::test_cursorPosition() Compared values are not the same
         Actual   (): 0
         Expected (): 1
         Loc: [/work/build/qt/qtquickcontrols/tests/auto/controls/data/tst_textfield.qml(192)]
      

      Example CI log: http://testresults.qt-project.org/ci/QtQuickControls_dev_Integration/build_00525/linux-g++_shadow-build_Ubuntu_14.04_x64/log.txt.gz

      It's also easy to reproduce these errors by running qtquickcontrols/examples/quick/controls/gallery and for example tab-navigating around.

      There's also some suspicious warning output about item geometries being null:

      QWARN  : qtquickcontrols::Tests_Shortcut::test_shortcut(checkbox) CheckBox_QMLTYPE_102 QVariant(Invalid) QRect(0,0 0x0)
       PASS   : qtquickcontrols::Tests_Shortcut::test_shortcut(checkbox)
       QWARN  : qtquickcontrols::Tests_Shortcut::test_shortcut(radiobutton) AbstractCheckable_QMLTYPE_100 QVariant(Invalid) QRect(0,0 0x0)
      

      If you run qtquickcontrols/examples/quick/controls/gallery and interact with the app, you'll get plenty of these warnings. I'm not sure if these are related to the failures or not.

      Attachments

        Issue Links

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

          Activity

            People

              frederik Frederik Gladhorn
              jpnurmi J-P Nurmi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes