Skip to content

Changing focus away from pysdl2 window causes animations to stop #95

Open
@marcusva

Description

@marcusva

Originally reported by: Fernando Quivira (Bitbucket: fquivira, GitHub: fquivira)


I hope this is the best way to figure out if I'm doing something dumb or this is really an issue

I have some basic animation with sprites using pysdl2 on Windows 10 with python3.5. The demo animation works fine, but if I switch the focus to a different application, the animation and the whole program just stops and goes into "not responding" mode.

Is this expected behavior? Is there a way to do let the application flow while I do other stuff like debugging for example? I've tried using Visual Studio python tools to debug, but the render methods don't seem to work when I step through with the debugger

Thanks for the good work! I very much like pysdl2


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions