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

tst_qquickmenubar fails on webOS

    XMLWordPrintable

Details

    • webOS
    • 37270a44a2 (qt/qtdeclarative/dev) 37270a44a2 (qt/tqtc-qtdeclarative/dev) cc177f45a9 (qt/qtdeclarative/6.3) cc177f45a9 (qt/tqtc-qtdeclarative/6.3) cc177f45a9 (qt/tqtc-qtdeclarative/6.3.1)

    Description

      QINFO : tst_qquickmenubar::Universal::mouse() Screen set to output 19 "Virtual1" QRect(0,0 1920x1080)
      QINFO : tst_qquickmenubar::Universal::mouse() shellSurface WebOSShellSurface(0x5625a7a43ea0) was created for WebOSPlatformWindow(0x5625a7f0e870) QPlatformSurface(0x5625a7f0e880, class=QSurface::Window, type=QSurface::OpenGLSurface, window=ApplicationWindow_QMLTYPE_412_QML_414(0x7f15442ba890))
      QWARN : tst_qquickmenubar::Universal::mouse() qt.qpa.wayland: Setting cursor position is not possible on wayland
      QWARN : tst_qquickmenubar::Universal::mouse() qWaitForWindowActive was called on a platform that doesn't support window activation. This means there is an error in the test and it should either check for the WindowActivation platform capability before calling qWaitForWindowActivate, use qWaitForWindowExposed instead, or skip the test. Falling back to qWaitForWindowExposed.
      QINFO : tst_qquickmenubar::Universal::mouse() Screen set to output 19 "Virtual1" QRect(0,0 1920x1080)
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() static void WebOSShellSurfacePrivate::position_changed(void*, wl_webos_shell_surface*, int32_t, int32_t)
      QDEBUG : tst_qquickmenubar::Universal::mouse() static void WebOSShellSurfacePrivate::position_changed(void*, wl_webos_shell_surface*, int32_t, int32_t)
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() webOS specific cursor handling for: Qt::ArrowCursor
      QDEBUG : tst_qquickmenubar::Universal::mouse() setting cursor Qt::BitmapCursor
      FAIL! : tst_qquickmenubar::Universal::mouse() 'viewMenuBarMenu->isVisible()' returned FALSE. ()
      

      It appears that webOS has such modifications and limitations that some test functions of tst_qquickmenubar should be skipped on webOS.

      "webOS specific cursor handling" print comes from qtwayland-webos:

      https://github.com/webosose/qtwayland-webos/blob/master/src/plugins/platforms/webos-wayland-egl/weboscursor.cpp#L98

      "Setting cursor position is not possible on wayland": 
      https://code.qt.io/cgit/qt/qtwayland.git/tree/src/client/qwaylandcursor.cpp#n286

      That happens probably because of 
      https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/quicktestutils/quick/visualtestutils.cpp#n70

      but this strange since there actually is a cursor / pointer in webOS (at least in TV models using LG's Magic Remote).

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-102120
          # Subject Branch Project Status CR V

          Activity

            People

              jannej Janne Juntunen
              jannej Janne Juntunen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes