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

Native Android views cannot be removed when added through QWindow::fromWinId

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 5.3.1
    • QPA
    • Galaxy S3
    • Android

      I am able to add a native Android view through the QWindow::fromWinId api, but it will not be removed when deleting the window. Looking into the androidjnimain.cpp it appears to be that the insertNativeView function does not insert the id into the m_surfaces list. If the window id is not in the m_surfaces list, destroySurface will return before calling the jni method to remove the view.

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

            taipan BogDan Vatra
            mike12779 Michael Dippold
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes