We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3210

Summary: WinRT: alt-tab doesn't work correctly with full-screened, UWP (Win10 Store) apps
Product: SDL Reporter: David Ludwig <dll>
Component: videoAssignee: David Ludwig <dll>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Other   

Description David Ludwig 2015-12-22 05:21:09 UTC
Steps to Reproduce: 
1. launch app 
2. observe app opens in full-screen mode 
3. press Alt-Tab (to switch away from app) 

Observed Results: 
* app is still on-screen, albeit in windowed mode, possibly with one or more windows on top of it 
* alt-tabbing back to app doesn't restore fullscreen mode 

Expected Results: 
* app is minimized, and not on-screen 
* alt-tabbing back to app restores fullscreen mode
Comment 1 David Ludwig 2015-12-22 06:04:10 UTC
Fixed via https://hg.libsdl.org/SDL/rev/bcb6bd590d03
Comment 2 David Ludwig 2015-12-22 06:11:18 UTC
To note, it looks like alt-tab in other full-screened Win10/UWP games, including at least one Microsoft one (Minecraft Win10 edition; there's no Win10 CoreWindow sample apps, AFAIK), only ever minimize the window if there is at least one other window to alt-tab to.  If the game is the only window, alt-tab doesn't appear to minimize the game window.
Comment 3 David Ludwig 2015-12-22 06:37:00 UTC
(In reply to David Ludwig from comment #2)
> To note, it looks like alt-tab in other full-screened Win10/UWP games,
> including at least one Microsoft one (Minecraft Win10 edition; there's no
> Win10 CoreWindow sample apps, AFAIK), only ever minimize the window if there
> is at least one other window to alt-tab to.  If the game is the only window,
> alt-tab doesn't appear to minimize the game window.

Correction: there are no *fullscreen-capable* Win10 CoreWindow sample apps (provided by Microsoft), that I am aware of.  Microsoft does provide a few CoreWindow app templates with MSVC 2015, however they default to windowed-mode, do not provide controls to go fullscreen, and do not provide any direct calls to Win10's full-screen APIs.