Bug 39 - Alt+Tab does not work well in fullscreen applications
Summary: Alt+Tab does not work well in fullscreen applications
Status: RESOLVED FIXED
Alias: None
Product: DXGL
Classification: Unclassified
Component: ddraw (show other bugs)
Version: 0.5.6
Hardware: PC Windows 8.1 (64-bit)
: Normal normal
Target Milestone: ---
Assignee: William Feely
URL: DXGL
Depends on:
Blocks:
 
Reported: 2014-12-02 14:17 EST by smibu90
Modified: 2015-01-04 08:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description smibu90 2014-12-02 14:17:18 EST
When pressing Alt+Tab in Elasto Mania, the game window is deactivated, BUT the game screen still stays on top of everything, so I cannot see other windows/applications at all.

Shareware version of the game can be downloaded from: http://elastomania.com/elma.exe
Comment 1 William Feely 2014-12-03 05:47:22 EST
This issue is currently present for all fullscreen applications.  This game expects ddraw.dll to handle loss of focus of the fullscreen window and automatically minimize it.  DXGL does not yet handle this behavior.
I have renamed this bug to better represent the issue.
Comment 2 William Feely 2014-12-20 08:20:38 EST
Fixed as of SVN r574.
Comment 3 William Feely 2014-12-20 08:26:48 EST
Turns out it is not 100% fixed yet.
Comment 4 William Feely 2014-12-21 12:15:06 EST
Fixed and works perfectly with Elasto Mania demo.
Please note that if the sound messes up when Alt+Tabbing out of the game, that is the problem with the game, not DXGL.
Comment 5 smibu90 2014-12-21 14:45:42 EST
Nice! I confirm that Alt+Tab works now, with one minor bug - the application crashes on exit. I'll post a separate report for it.
Comment 6 William Feely 2015-01-04 07:32:56 EST
Fullscreen handling should be complete now.
Please try r581 and make sure there are no regressions from me completing this fix.
Comment 7 smibu90 2015-01-04 08:07:39 EST
Works fine! I noticed only a minor cosmetic issue: When Alt+Tabbing, the desktop quickly flashes with the game's resolution before the resolution switches. You can fix that if it's easy; it's not really a big deal.