This page was last modified 09:27, 4 March 2008.
KIS000355 - Browser Control interface stops working after delete/reconstruct
From Forum Nokia Wiki
Browser Control interface stops working after delete/reconstruct
| KIS000355
|
Overview
| An instance of the Browser Control interface class does not work properly after it has been deleted and reconstructed.
|
Reported against
| S60 3rd Edition
|
Date identified
| July 7, 2006, updated March 4, 2008
|
Symptoms
| -
|
Detailed description
| When an instance of the Browser Control interface (CBrCtlInterface) is constructed (see CBrCtlInterface::CreateBrowserControlL()), the interface will remain functional until the end of its life cycle. However, if the object is deleted and another one is created in the same session, the Browser Control API stops working. No errors are returned, but Web content will not be rendered onto the parent control anymore.
|
How to reproduce
| This issue can be reproduced with the BrCtlSampleApp example application from the S60 3rd Edition SDK. The example application deletes and reconstructs the CBrCtlInterface object for each test case (whenever the capabilities for browser control are changed).
|
Solution
| Add the following line
iBrCtlInterface->ActivateL();
after every CreateBrowserControlL() function call.
|