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 3540

Summary: Window title disappears after setting fullscreen then fullscreen desktop
Product: SDL Reporter: Intellectual Kitty <IntellectualKitty>
Component: videoAssignee: Sam Lantinga <slouken>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: 2.0.5   
Hardware: x86   
OS: macOS 10.12   

Description Intellectual Kitty 2016-12-30 23:13:10 UTC
When a window, beginning in standard windowed mode, is first set to fullscreen [by calling SDL_SetWindowFullscreen(m_pkWindow,SDL_WINDOW_FULLSCREEN)] and then to fullscreen desktop [by calling SDL_SetWindowFullscreen(m_pkWindow,SDL_WINDOW_FULLSCREEN_DESKTOP)], the title disappears when it changes back to windowed mode [by calling SDL_SetWindowFullscreen(m_pkWindow,0)].  If I then use another sequence, such as changing to either fullscreen or fullscreen desktop and then back to windowed mode, the title reappears.

I've tried every possible combination, and the title only disappears when the window is (1) first set to fullscreen, (2) then fullscreen desktop, and (3) then back to standard windowed mode.