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 5148 - SDL_DROPFILE events are delivered before SDL_MOUSEMOTION event when SDL is built in Release mode
Summary: SDL_DROPFILE events are delivered before SDL_MOUSEMOTION event when SDL is bu...
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.12
Hardware: x86_64 Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-20 14:20 UTC by Raffaele Bratta
Modified: 2020-05-20 14:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raffaele Bratta 2020-05-20 14:20:25 UTC
As the summary says, if I drop a file over a SDL window, the order in which drop file and mouse motion events are delivered is not consistent among Debug and Release configuration. When SDL is built in Debug mode, the mouse motion event is delivered before the drop file events, while the contrary happens when SDL is build in Release mode.
Which is the expected behavior? Can I rely on the fact that the events delivery order remains constant among Debug and Release configuration?

SDL: 2.0.12 (built in Debug|x64 and Release|x64 using SDL.sln)
Windows SDK Version: 10.0.18362.0
Platform Toolset: Visual Studio 2019 (v142)

OS: Windows 10 Pro 18363.836