Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASM] Splash image disappears on subsequent runs #110

Closed
nickrandolph opened this issue Apr 11, 2023 · 3 comments · Fixed by #127
Closed

[WASM] Splash image disappears on subsequent runs #110

nickrandolph opened this issue Apr 11, 2023 · 3 comments · Fixed by #127
Assignees
Labels
kind/bug Something isn't working priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@nickrandolph
Copy link
Contributor

nickrandolph commented Apr 11, 2023

Current behavior

Create new app using Blank preset in Wizard
Build and run WASM - correct splash screen image appears (just Uno logo)
Stop, then build and run again

  • At some point the correct image isn't displayed and the default splash image is displayed (Uno log with "Uno platform" text)

Expected behavior

Correct splash should always be displayed

Repro steps

Create new app using dotnet new
dotnet new unoapp -preset blank -o CheckSplashApp

Open app in Visual Studio
Wait for "reload" message to appear (it may not, so can ignore this step if it doesn't) and click reload
Set Wasm target as start project
Rebuild wasm target
Run wasm target without debugging -> this will launch app with correct splash screen
Close browser
Rebuild the class library not the wasm project
Run wasm target without debugging -> this will launch app with the wrong splash screen

@nickrandolph nickrandolph added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Apr 11, 2023
@pictos
Copy link
Contributor

pictos commented Apr 11, 2023

@nickrandolph just to have an idea how urgent is this bug, on a released application does it happens?

@nickrandolph
Copy link
Contributor Author

Of course, now that I've logged the issue I can't seem to replicate it - I came across this whilst I was investigating issues raised by @MartinZikmund on the templates (eg unoplatform/uno.templates#60). In this case you can see that the image includes the "Uno platform" words, which isn't in the splash image (it comes from a hard coded image that's provide by the platform as a fallback)

@nickrandolph nickrandolph removed the triage/untriaged Indicates an issue requires triaging or verification. label Apr 12, 2023
@nickrandolph nickrandolph added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Apr 25, 2023
@pictos
Copy link
Contributor

pictos commented May 3, 2023

@nickrandolph I tried on my end, with the latest template and couldn't reproduce this issue. When you tested did you have the latest bits?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants