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

QMenu on Android is completely broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.2, 6.8.0 RC
    • GUI: Menus
    • None
    • Android

    Description

      QMenu on Android is completely broken in Qt 6.7.2 - no menu item can be activated.

      ADB log:

      I WindowManager: WindowManagerGlobal#removeView, ty=1002, view=android.widget.PopupWindow$PopupDecorView{6abb3ed V.E...... R....... 0,0-504,1368}, caller=android.view.WindowManagerGlobal.removeView:628 android.view.WindowManagerImpl.removeViewImmediate:208 android.widget.PopupWindow.dismissImmediate:2410
      W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda19@63c1e6e
      D OpenGLRenderer: endAllActiveAnimators on 0xb40000784b8efa00 (MenuPopupWindow$MenuDropDownListView) with handle 0xb4000077bb818280
      I ViewRootImpl@e3c0222[PopupWindow:8a53204]: dispatchDetachedFromWindow
      W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
      D InputTransport: Input channel destroyed: '917cd21', fd=151
      I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=org.gpxsee.gpxsee/org.gpxsee.gpxsee.Activity
      I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=org.gpxsee.gpxsee/org.gpxsee.gpxsee.Activity
      I ViewRootImpl@726d0f1[Activity]: handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
      D ViewRootImpl@726d0f1[Activity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb4000079ab7daae0}
      D InputMethodManagerUtils: startInputInner - Id : 0
      I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
      W QtActivityDelegate: No focused view when trying to open context menu
      

      To reproduce, compile GPXSee with Qt 6.7.2 on Android (use the attached patch to update the Gradle stuff to work with Qt 6.7.2).

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tumic Martin Tůma
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes