Ghost window (DesktopWindowXamlSource) still appears in the Taskbar (See #6507 - #6861 - #16183 - #15047 - #15165 - #15402) #18784
Labels
Area-Performance
Performance-related issue
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-3
A description (P3)
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.24.250409001-llm (Canary) & 1.23.250314002-preview (Preview) & 1.22.250314001 (Stable)
Windows build number
Windows 10 - Version 10.0.19045.5608
Other Software
Microsoft PowerToys is not installed.
Steps to reproduce
Expected Behavior
After enabling WT to run in background and on clicking the "Close" icon, no Windows Terminal instance should be shown in the Taskbar.
Actual Behavior
After enabling WT to run in background and on clicking the "Close" icon, the WT closes but a ghost window of WT called "DesktopWindowXamlSource" still being shown in the taskbar. When the ghost window is closed, the actual window is also closed.
Other Tries
The same procedure have been tried in a clean-state VMware VM and Windows Sandbox and still the same issue occurs.
The issue is occuring whether the installation method was MSIX bundle or Installer or Portable.
The "%LocalAppData%\Microsoft\Windows Terminal" & "%ProgramFiles%\WindowsApps*WindowsTerminalFolder*" folders have been deleted before trying each method (MSIX bundle or Installer or Portable) to exclude any potential conflicts and ensure clean install.
EDIT: There was another combination of settings that revealed the "DesktopWindowXamlSource". That got pulled out and is being tracked in #18808. It's included as quoted below for convenience.
The text was updated successfully, but these errors were encountered: