Skip to content

Document the application freeze during window drag/resize on Windows using SDL_main with internal loops #13435

@daninsky1

Description

@daninsky1

There is this historic issue: #1059

This problem is like the "how to quit Vim" of SDL — it happens to many users, but the information about it is scattered across GitHub issues, Reddit threads, Stack Overflow, etc.

It would be very helpful to have official documentation explaining when this happens, why this happens, and how to solve it. Without proper documentation, new users are likely to get confused or assume SDL is bad designed.
Please consider adding this to the SDL3 documentation or wiki. It would save time and frustration for a lot of developers.

Here's an example of a relevant solution in SDL3: using the new callback system:
#12972 (comment)

But at the same time, the current documentation doesn't strongly recommend using the new callback system:
https://wiki.libsdl.org/SDL3/README-main-functions#main-callbacks-in-sdl3
And many developers aim to support Windows. So, this can easily lead to app freeze.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions