Skip to content

Fix WinUI splash screen icon not rendering#4876

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
winUI-SplashScreen
Jun 4, 2026
Merged

Fix WinUI splash screen icon not rendering#4876
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
winUI-SplashScreen

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

This pull request updates the splash image handling in the main window to improve theme support and fix rendering issues. The SVG splash image is replaced with a theme-aware PNG, and logic is added to select the appropriate image based on the current theme. ( #4874)

Splash image improvements:

  • Changed the splash image in MainWindow.xaml from an SVG (SvgImageSource) to a PNG (SplashScreen.png), and set up the Image control with the name SplashImage for dynamic source assignment. [
  • Added the ApplySplashImage method in MainWindow.xaml.cs to select and set the splash image (SplashScreen.theme-dark.png for dark theme, SplashScreen.png otherwise) at runtime based on the current theme.
  • Called ApplySplashImage() during main window initialization to ensure the correct splash image is displayed on startup.

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 586edea into main Jun 4, 2026
3 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the winUI-SplashScreen branch June 4, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants