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 3217 - WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes wrong
Summary: WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes ...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Windows (All)
: P2 normal
Assignee: David Ludwig
QA Contact: David Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-31 06:29 UTC by David Ludwig
Modified: 2015-12-31 06:43 UTC (History)
1 user (show)

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-31 06:29:59 UTC
The following bug was observed via an SDL2-based UWP (Windows 10's flavor of WinRT) app, one using the latest version of SDL2 on hg.libsdl.org/SDL, as of this writing.  (https://hg.libsdl.org/SDL/rev/c8fd9b498b67)

Steps to Reproduce:
1. launch an SDL2 UWP app into windowed-mode
2. make the app go fullscreen
3. observe that the mouse cursor is the standard, Windows, arrow cursor
4. alt-tab to a different Windows app
5. alt-tab back into the SDL2 UWP app

(Often) Observed Result:
The mouse cursor switches to Windows' 'wait' cursor, which as of this writing, is a spinning, blue circle.  This cursor does not switch away to the arrow, not until the app is brought out of fullscreen mode, or control is switched to another app.

Expected Result:
The mouse cursor is, upon resuming the app, Windows' arrow cursor.
Comment 1 David Ludwig 2015-12-31 06:43:18 UTC
Fixed via https://hg.libsdl.org/SDL/rev/5843ea14ca5c