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

Summary: SDL_DROPFILE events are delivered before SDL_MOUSEMOTION event when SDL is built in Release mode
Product: SDL Reporter: Raffaele Bratta <raffaele.bratta>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.12   
Hardware: x86_64   
OS: Windows 10   

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