Is there a way to turn off the PWA splash-screen that Chrome shows, or at least control when the splash-screen goes away?

2,448 views
Skip to first unread message

Abhishek Ghosh

unread,
May 4, 2018, 7:03:53 AM5/4/18
to Chromium-discuss
Chrome introduced splash-screens as a PWA feature to make it look and feel more like native apps. It generates the splash-screen from name, icon and bg_color in the web app manifest. More details here:


While all of that is fine, I couldn't find any no proper documentation on how long Chrome decides to keep the splash-screen visible. Ideally I'd imagine that it should be till the point something is meaningful painted on the screen (just the above-the-fold stuff) but in my experience it seems like Chrome keeps this splash-screen for a quite long time (might as well be till page load?).

This could be pretty bad for people browsing a website from slow connections - previously at least they could see something working and happening on the screen, now they just see a static image (splash-screen with icon and name) - they don't know how long it will take to open the web app, can get bored and drop-off. Sounds quite risky to me.

Can we control when the splash-screen goes away or even disable it altogether?

If somebody could point me to any chromium source code that implements this behaviour (when the splash-screen goes away), that too would be extremely helpful!

Thanks,
Abhishek


Mounir Lamouri

unread,
May 5, 2018, 5:06:19 AM5/5/18
to Abhishek Ghosh, Chromium-discuss
The splashscreen should hide when the first paint happens. You can find the logic here: https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappSplashScreenController.java

-- Mounir
> --
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Chromium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to chromium-discu...@chromium.org.

Abhishek Ghosh

unread,
May 17, 2018, 11:45:24 AM5/17/18
to Chromium-discuss, abhishek...@gmail.com
Thanks a lot for pointing this out!
Reply all
Reply to author
Forward
0 new messages