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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: