Decouple Splash Screen from UWP App Activation #72
-
Currently, only UWP apps are capable of displaying a splash screen during their activation. Since splash screens are a valuable way to provide instant feedback to a user upon invoking an app (also in other non-Windows platforms), the team should invest in the following solution: Decoupling this experience from the UWP app modelCurrently the only way to perform actions like extending the splash screen is to access it during the activation process, and "imitate the splash screen that Windows displays for your app." I'm proposing we provide a WindowSplashScreen object as part of the lifetime management of the WinUI 3 Window abstraction. For scenarios where using CoreWindow is not desired, the WinUI team should work with the Project Reunion team to develop a DesktopWindow which is a direct abstraction of a Win32 hWnd to include the new WindowSplashScreen and UWP titlebar style by default. Essentially, the WinUI 3 Window object should abstract away the details of both CoreWindow and DesktopWindow. Furthermore, the WindowSplashScreen should have a built-in way to control the extended visibility of the SplashScreen without developers needing to imitate the main one. What does everyone think of this proposal? Is it feasible? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I know @marb2000 will have valuable input for the discussion. 😉 |
Beta Was this translation helpful? Give feedback.
-
A future Splash Screen implementation could take on board the Extended Splash Screen ideals, and become something more customisable. |
Beta Was this translation helpful? Give feedback.
-
I suspect, activation services will be changed, and maybe even it will be possible to switch off initialization of services and disable splash screen. |
Beta Was this translation helpful? Give feedback.
I know @marb2000 will have valuable input for the discussion. 😉