You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/03/17 19:34:33 UTC

[jira] [Updated] (CB-10895) Transparent Splashscreen view sometimes remains

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

Shazron Abdullah updated CB-10895:
----------------------------------
    Component/s:     (was: iOS)

> Transparent Splashscreen view sometimes remains 
> ------------------------------------------------
>
>                 Key: CB-10895
>                 URL: https://issues.apache.org/jira/browse/CB-10895
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: 3.1.0
>         Environment: iPhone, iOS 9, Cordova 6.0.0, OSX Yosemite, XCode 7.2
>            Reporter: Andrew Ewanchyna
>            Priority: Minor
>              Labels: iOS
>
> If another view appears before the splash screen view has completed its animation, the splash screen view may remain in a transparent state, even after the blocking view is removed.
> Problem traces to CDVSplashScreen.m line 450:
> if (finished) {
>   [weakSelf destroyViews];
> where the finished flag doesn't get set during the fade-out animation completion callback. This may occur if another view appears while the fade-out animation is running. When this happens, there is no way to remove the invisible view that remains.
> I've removed the check to temporarily fix the problem. I've noticed that other plugins that have this type of logic don't usually include the check. The current logic doesn't seem to allow for a recovery when the finished flag is false.



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

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