Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
Galaxy S3
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
For Gerrit Dashboard: QTBUG-40159 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91551,2 | Android: Remove native views when their window is destroyd. | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |
143039,2 | Handle native views visibility properly. | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |