Uno.Gallery icon indicating copy to clipboard operation
Uno.Gallery copied to clipboard

[Gallery] Delay the splashscreen based on `FontFamilyHelper.PreloadAsync` completion

Open jeromelaban opened this issue 2 years ago • 2 comments

Fonts may be loaded completely after the main screen has been displayed, and delaying the splash screen disappearance (Window.Activate) could be a better way to handle this async behavior.

jeromelaban avatar Sep 08 '22 12:09 jeromelaban

@jeromelaban what is the priority of this issue at the moment please (high or medium)?

agneszitte avatar Sep 09 '22 15:09 agneszitte

medium

jeromelaban avatar Sep 09 '22 15:09 jeromelaban

@jeromelaban is this issue still relevant lately with the latest changes for fonts?

agneszitte avatar Jan 26 '23 22:01 agneszitte

Something we can use ExtendedSplashScreen and Loadable for?

kazo0 avatar Jan 26 '23 23:01 kazo0

It's still valid yes.

jeromelaban avatar Jan 27 '23 13:01 jeromelaban

@jeromelaban @kazo0 since we're using the fonts from Uno.Material now (#739), is there a way to use FontFamilyHelper.PreloadAsync("uno material fonts") with them?

Also, with the preloading done within the Wasm project, what's the best way to await the preloading right before the window.Activate inside the UWP head?

rajamatt avatar Jun 19 '23 15:06 rajamatt