dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.06k stars 1.73k forks source link

What's going on with the splash-screen? #12395

Open a-einstein opened 1 year ago

a-einstein commented 1 year ago

Description

I am converting from XamarinForms to MAUI, for platforms Android and Windows. I am trying to get the splash screen working again on Windows.

Depending of my setup, I get several problems, none of them leading to a desired result.

What's going on? How to get this working?

Steps to Reproduce

In the central project-file there is a property like below. I found this described as being the only splash-screen needed. But this only works for Android. <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#58ACFA" BaseSize="350,350" />

Then I tried to recreate the setupfor Windows as on XamarinForms.

So, not getting anywhere yet.

All these attempts seem futile, as I would assume that MauiSplashScreen should suffice.

By the way, even VS crashes sometimes when working on the Visual Assets.

Link to public reproduction project repository

Current commit: https://github.com/a-einstein/PortableShop/commit/e32e23f00fd0cb25fa68e9c4d521941a0887b344

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

windows 10.0.17763.0

Did you find any workaround?

No.

Relevant log output

No response

Depends on

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

breenbob commented 1 year ago

I've also been struggling with this. Turns out it is not implemented in WinUI yet. Doesn't seem to be high up on the agenda, either. None of the suggested workarounds work like how you'd expect, and are a bit trickier to implement in a Maui WinUI application. Very disappointing.

See: https://github.com/dotnet/maui/issues/3870 https://github.com/microsoft/microsoft-ui-xaml/issues/4055

Sofiya2696 commented 1 year ago

Any update for splash screen to support in UWP?

AhsanAli2546 commented 12 months ago

any update for splash screen in UWP?

Zhanglirong-Winnie commented 12 months ago

Visual Studio Enterprise 17.8.0 Preview 3.0. Can repro on windows platform.

NeerajGulia commented 5 months ago

Its been more than an year and still not worked upon. The another issue without a spalsh screen is that if user click on the app icon on Windows - it can launch more than 1 app in parallel.

samhouts commented 3 months ago

We agree that this is an important issue. As our roadmap indicates, for the near future, we are focused on:

I am marking this as a p/2 issue because it does not meet our focus areas right now, but we are constantly revisiting the backlog for important issues to address as time allows. Thank you for your patience and understanding!

nguyenvuhoang commented 3 months ago

Have any solution Cannot install or update package O24Toolkit_qcvtrzgcjzrs0 because the splash screen image [O24Toolkit.png] cannot be located

mattleibow commented 3 months ago

Just a not, WinUI does not have splash screen support: https://github.com/microsoft/microsoft-ui-xaml/issues/4055

You can maybe have a look at some of the comments if you really need to have a splash as there may be some ideas. Otherwise, we have to wait for the WASDK and OS team to come up with something.