Repository navigation
[Bug]: Background stays blank (gray) after the window restores from tray when the game closes #917
Description
Affected Version
Collapse 1.84.7 Preview (commit e2dc748)
Bug Behavior
When the game closes, Collapse comes back from the system tray. The launcher UI shows again (buttons, news carousel, social bar). But the background image does not show. The full window area behind the UI stays dark gray.
The background file is still on disk. The background loads correctly when Collapse starts.
Expected Behavior
When the window restores from the tray after the game closes, Collapse shows the background image again, the same as before the game started.
Steps to reproduce
- In Settings, set "After game launched" to "To Tray" (
GameLaunchedBehavior=ToTray,MinimizeToTray=True). - Select Genshin Impact - Global (static .webp background).
- Click "Start Game". Collapse goes to the tray.
- Play for a few minutes (in my log, about 5 minutes, so the aggressive GC task ran once).
- Close the game. Collapse restores from the tray.
- The background is blank (dark gray).
Workaround: change the region and change it back, or restart Collapse.
Related Issues
None found. May relate to the 1.84.7 "Background CPU and Memory utilizations" change (hide WinUI elements while minimized/in tray) and #915.
Screenshot(s)
Launcher window after it restores from the tray when the game closes. The UI shows, but the background is dark gray:
Additional Information
Console Log
Log from the session where the bug occurred (locale lines removed):
[23:19:22.14][Scheme] Running Collapse Launcher [1.84.7], [Preview], under Windows 11 (build: 26200.0), as [REDACTED]
[23:19:22.14][Scheme] Runtime: .NET 10.0.13 - WindowsAppSDK 3.2.3
[23:19:22.14][Scheme] Built from repo https://github.com/CollapseLauncher/Collapse
Branch preview - Commit e2dc748 at 2026-10-22T10:53:21+07:00
[23:19:22.22][Scheme] [TrayIcon] Initializing Tray with parameters:
GUID: f4e15e64-3487-47fc-a92e-5950440d905a
Instance Count: 1
[23:19:22.92][Error] [ImageDecoderValueConverter] An error has occurred while trying to load BitmapImage from: file:///C:/Users/%username%/AppData/Local/CollapseLauncher/current/Assets/Images/PageBackground/default_honkai.avif
[23:19:22.97][Info] Vulkan test passes and GPU mode can be used.
[23:19:22.98][Scheme] Initializing game: Genshin Impact - Global...
[23:19:23.15][Scheme] Game: Genshin Impact - Global has been completely initialized!
[23:19:29.17][Info] Collapse process [PID 28784] priority is set to Below Normal, PriorityBoost is off, carousel is temporarily stopped
[23:19:37.74][Warning] GAME STARTED
[23:24:32.01][Info] [StartAggressiveGCCollectTask] Background GC Collection has been finished executing in: 300 seconds
[23:24:59.90][Warning] GAME STOPPED
[23:24:59.90][Info] Collapse process [PID 28784] priority is set to Normal, PriorityBoost is on, carousel is started
The log shows no error when the window restores.
System Information
- OS: Windows 11 Home 25H2 (build 26200)
- GPU: NVIDIA GeForce RTX 3080, driver 32.0.16.1714
- Other display adapters present: several virtual display drivers (Virtual Desktop, Meta, SudoMaker, Sunshine)
LowerCollapsePrioOnGameLaunch=TrueEnableAcrylicEffect=TrueGlobalKeepPlayVideoWhenWindowUnfocused=TrueGlobalIsBackgroundParallaxEffectEnabled=FalseUseCustomBG=False
dxdiag:
Activity
#917 (Hopefully) Fix background state while restored/minimized from tray
neon-nyan commentedon Oct 25, 2026
Should (hopefully) be fixed with: f337d68 🤞
Preview 1.84.8 Release (#920)
Stable 1.84.8 Release (#924)
neon-nyan commentedon Oct 30, 2026
The issue should be fixed with the latest release. Closing this issue for now.
bagusnl commentedon Oct 30, 2026
Unfortunately still replicated on mine at Pre 1.84.8, seems like an aggressive GC?
neon-nyan commentedon Oct 31, 2026
Based on what the debug log says, seems the presenter layer got disposed while trying to be shown after the idle.
Gonna investigate this further.