-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Ghost window (DesktopWindowXamlSource) is shown again (see issue #6507) #16183
Comments
I also tried this with Windows Terminal version 1.18.2822.0, I have the same effect. |
Huh. I coulda swore this was fixed with #15165. A possibly dumb question - does this repro on a "cold launch" of the Terminal? Like, there are no other terminal windows running, there's no tray icon, nothing. Just the first, single window? (this would help eliminate window refrigeration as a possible root cause). |
In most of the cases, the ghost window appears immediately when performing a "cold launch" of the terminal. Yet, in some rare cases the ghost window is not shown. One more observation: I have the application window on the second display, it also appears there when it's launched. In most cases when the ghost window is shown, the window is opened on the second display and the ghost window is also shown in the taskbar of the second display. The taskbar entry for the actual window appears on the first display, though. When I move the application window to the first display and back, the taskbar entry is taken along to the second display. I even had one case, where no ghost window was shown but the taskbar entry for the application window was still shown on the wrong display. |
I've also been experiencing this recently. In my case, it seems to happen only when I have FancyZones enabled. |
Thanks for bringing this up, @fighur ! I'm also using FancyZones and can confirm that the issue goes away when I disable it. It even seems sufficient to disable the FancyZones option "Move newly created windows to their last known zone". |
I have the same issue on Windows 10, using Terminal 1.18.2822.0, and I'm using FancyZones too |
I can confirm that behavior. Win10 22H2, Window Terminal 1.18.2822.0, PowerToys 0.75.1 |
I also have this issue and can confirm, that disabeling this single fancyzone option is enough to get rid of the ghost window. |
Yes, I can confirm that too. The extra window is gone after deactivating the FancyZone option |
Just to be clear, this does NOT solve the issue. It's a workaround, the bug is still there. Please fix it. I quite like my workflow with fancy zones. |
Also experiencing the exact same thing, FancyZones + WindowsTerminal. |
I think I have a workaround which can be used for now if someone can confirm. Close all Terminals. In FancyZones, uncheck "move newly created windows to their last known zones", then in Excluded apps put (note no extension) exactly DesktopWindowXamlSource Then recheck "move newly created windows to their own zones". I haven't had a repro since (I had a reliable one before this workaround where it appears when you open a terminal, then switch to another program in the same zone, then close the terminal, and finally launch a terminal [now it shows the ghost window - i.e. switching to a 2nd program before closing was significant for the repro]). |
Thanks for pointing this out! Just want to note 2 things about your procedure:
That said, simply adding the FancyZones exclusion for "DesktopWindowXamlSource" seems to have fixed the issue for me, but it would be better if it was fixed properly. |
PowerToys 0.79.0, Terminal 1.19.10573.0, Windows 10 22H2 19045.4046 The DesktopWindowXamlSource ghost opens when I launch Terminal fresh from a reboot or closing all other terminal windows/tabs. |
Same issue here, very annoying. The workaround of adding |
Windows Terminal version
1.19.2831.0
Windows build number
10.0.19045.0
Other Software
No response
Steps to reproduce
Expected Behavior
Just one window being shown in the taskbar/window switcher list.
Actual Behavior
Besides the actual application window, another dummy window with the name "DesktopWindowXamlSource" is shown. When the dummy window is closed, the actual window is also closed.
The text was updated successfully, but these errors were encountered: