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 - WinRT: alt-tab doesn't work correctly with full-screened, UWP (Win10 Store) apps
Summary: WinRT: alt-tab doesn't work correctly with full-screened, UWP (Win10 Store) apps
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Other
: P2 normal
Assignee: David Ludwig
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 05:21 UTC by David Ludwig
Modified: 2015-12-22 06:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.