Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
deanis
256 discussion posts
(Searched before posting, but couldn't find anything in the sea of Alt+Tab discussions...)

Why is it that Closed windows are shown as Xs in the DF Alt+Tab switcher? If you're going through the effort of painting a different icon for a window that no longer has a valid handle, wouldn't it be just as easy to remove that icon entirely?
Jun 29, 2015  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
How long does the closed window stay there? That red X icon shows up because it couldn't get a preview from the Windows API (because it's already closed), but it should only be there for at most 1 second after closing a window.
Jun 29, 2015  • #2
User Image
deanis
256 discussion posts
Well, it stays there until I release Alt, but it is gone the next time. I would think a quick if `if !IsWindow(hWnd) then don't show in Alt+Tab` would do it, but I don't know the underlying code.
Jun 29, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm not 100% sure either, but I'll pass this on to Jon so he can take another look at it :)
Jun 30, 2015  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry for the delayed response on this. The reason this happens is because DF needs to poll to update the Alt+Tab Handler in the background when it's not actually open, so that stuff in the window isn't getting shuffled around after it opens. We could make the timer shorter, but that would negatively impact CPU performance, so unfortunately, it's about the best it's going to get right now.
Aug 28, 2015  • #5
User Image
deanis
256 discussion posts
I'm probably over simplifying , but does it force a poll just before display?
Sep 2, 2015  • #6
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
It doesn't force a poll, it tries to show the window as fast as possible.
Sep 4, 2015  • #7
User Image
deanis
256 discussion posts
Gotcha. I guess I'll have to live with it. I often close a window then immediately Alt+Tab to another window (mouse in one hand, other hand on the keyboard), so I see this red X quite often.

Perhaps an advanced option to force a poll before displaying the Alt+Tab? I could live with the slowdown if I knew that it's because of something I turned on.
Sep 5, 2015  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yeah, that might be possible actually. I've added this to our list and we'll let you know what we're able to figure out for this :)

Thanks!
Sep 9, 2015  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)