Seeing a sudden file explorer white flash dark mode glitch every time you open a folder or new tab is painful for your eyes. The cause of this Windows 11 file explorer white flash dark mode bug is a legacy GDI window drawing frame initializing before the modern WinUI XAML dark theme layer finishes rendering.
Open File Explorer, click the three dots (...) menu → Options → View tab. Scroll down and check "Launch folder windows in a separate process". Click Apply. This isolates window redraws from Explorer shell lag.
Run these commands in PowerShell to delete the stale pre-render cache that forces white background repaints:
taskkill /f /im explorer.exe && del /f /q "%localappdata%\IconCache.db" && start explorer.exe
Go to Settings → Personalization → Colors and toggle Transparency effects to Off. This bypasses DWM compositing latency that exposes the raw white Win32 frame during tab transitions.