[ 
https://issues.apache.org/jira/browse/CB-11750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edwin Lijnzaad updated CB-11750:
--------------------------------
    Description: 
I use the InAppBrowser to display the content of a PDF using WKWebView. 
Everything works fine and it looks exactly like in UIWebView. However in the 
Xcode console these messages appear:

{{
2016-08-22 17:05:05.355 InspectAndGo[2278:1043666] Setting the WebView's frame 
to {{0, 0}, {1024, 724}}
2016-08-22 17:05:05.387 InspectAndGo[2278:1043666] THREAD WARNING: 
['InAppBrowser'] took '62.119873' ms. Plugin should use a background thread.
objc[2278]: UIPDFPageRenderOperation object 0x13e144930 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e14bdb0 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e14c0f0 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e116700 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13cdf8050 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
}}

The messages appear only on opening the PDF, no messages on closing. They do 
not seems to affect the working of the plugin, as on screen everything seems to 
be working fine.

I've filed this bug with the guys from the WKWebView plugin, but they advised 
me to copy you in as well. 
https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/27

  was:
I use the InAppBrowser to display the content of a PDF using WKWebView. 
Everything works fine and it looks exactly like in UIWebView. However in the 
Xcode console these messages appear:

{{monospaced}}
2016-08-22 17:05:05.355 InspectAndGo[2278:1043666] Setting the WebView's frame 
to {{0, 0}, {1024, 724}}
2016-08-22 17:05:05.387 InspectAndGo[2278:1043666] THREAD WARNING: 
['InAppBrowser'] took '62.119873' ms. Plugin should use a background thread.
objc[2278]: UIPDFPageRenderOperation object 0x13e144930 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e14bdb0 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e14c0f0 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13e116700 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
objc[2278]: UIPDFPageRenderOperation object 0x13cdf8050 overreleased while 
already deallocating; break on objc_overrelease_during_dealloc_error to debug
{{monospaced}}

The messages appear only on opening the PDF, no messages on closing. They do 
not seems to affect the working of the plugin, as on screen everything seems to 
be working fine.

I've filed this bug with the guys from the WKWebView plugin, but they advised 
me to copy you in as well. 
https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/27


> Xcode warnings when opening PDF in WKWebView using InAppBrowser
> ---------------------------------------------------------------
>
>                 Key: CB-11750
>                 URL: https://issues.apache.org/jira/browse/CB-11750
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Plugin InAppBrowser
>    Affects Versions: 1.4.0
>         Environment: Cordova version: 6.3.1
> cordova-plugin-inappbrowser 1.4.0
> cordova-plugin-wkwebview-engine 1.1.0-dev
> Xcode 7.3.1
>            Reporter: Edwin Lijnzaad
>            Priority: Minor
>
> I use the InAppBrowser to display the content of a PDF using WKWebView. 
> Everything works fine and it looks exactly like in UIWebView. However in the 
> Xcode console these messages appear:
> {{
> 2016-08-22 17:05:05.355 InspectAndGo[2278:1043666] Setting the WebView's 
> frame to {{0, 0}, {1024, 724}}
> 2016-08-22 17:05:05.387 InspectAndGo[2278:1043666] THREAD WARNING: 
> ['InAppBrowser'] took '62.119873' ms. Plugin should use a background thread.
> objc[2278]: UIPDFPageRenderOperation object 0x13e144930 overreleased while 
> already deallocating; break on objc_overrelease_during_dealloc_error to debug
> objc[2278]: UIPDFPageRenderOperation object 0x13e14bdb0 overreleased while 
> already deallocating; break on objc_overrelease_during_dealloc_error to debug
> objc[2278]: UIPDFPageRenderOperation object 0x13e14c0f0 overreleased while 
> already deallocating; break on objc_overrelease_during_dealloc_error to debug
> objc[2278]: UIPDFPageRenderOperation object 0x13e116700 overreleased while 
> already deallocating; break on objc_overrelease_during_dealloc_error to debug
> objc[2278]: UIPDFPageRenderOperation object 0x13cdf8050 overreleased while 
> already deallocating; break on objc_overrelease_during_dealloc_error to debug
> }}
> The messages appear only on opening the PDF, no messages on closing. They do 
> not seems to affect the working of the plugin, as on screen everything seems 
> to be working fine.
> I've filed this bug with the guys from the WKWebView plugin, but they advised 
> me to copy you in as well. 
> https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/27



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to