Skip to content

GraphicsDeviceManager.ToggleFullScreen doesn't revert to windowed mode on OSX #254

@Chicken-Bones

Description

@Chicken-Bones
Running on OSX (v26.0.0) Arm64
SDL_GPU Driver: Metal
Metal Device: Apple M1
FNA 25.08
SDL 3.2.21

For example, on a 1440x900 screen. Toggling to fullscreen 1024x640 works correctly, the display is scaled up by 1.4x to fill the screen.
Toggling back to windowed does not restore the window borders. Instead, the 1024x640 area is rendered in the top left of a 1440x900 fullscreen view, with the remaining area black. graphics.IsFullScreen changes from true to false, but the OSX window manager still thinks the application is running fullscreen. If you three finger swipe up to see different desktops, the game is shown as a fullscreen app, and you can click the >< icon on it to revert it to windowed form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions