Bug 716 - Application doesn't receive SDL_ACTIVEEVENT when dragging from other window
Summary: Application doesn't receive SDL_ACTIVEEVENT when dragging from other window
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 1.2.13
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-1.2.14
Depends on:
Blocks:
 
Reported: 2009-03-15 04:35 UTC by Armin Burgmeier
Modified: 2010-04-20 03:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Burgmeier 2009-03-15 04:35:45 UTC
When I hold a mouse button down on another (non-SDL) window, then move the mouse over an SDL window and releasing the mouse button there, then the application does not receive an SDL_ACTIVEEVENT with state SDL_APPMOUSEFOCUS and gain 1.

Furthermore, SDL_GetAppState() reports the application not having mouse focus until moving the mouse out of the window and back in again.

Tested on x86_64 linux on a GNOME desktop using the Metacity window manager.
Comment 1 Armin Burgmeier 2009-03-16 03:39:29 UTC
The problem does not occur on Windows.
Comment 2 Ryan C. Gordon 2009-09-13 16:33:27 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 3 Sam Lantinga 2009-09-27 16:25:19 UTC
This is fixed for the next release.  Thanks!
Comment 4 Nils Kneuper 2010-04-20 03:49:38 UTC
The fix for this bug introduced the regression which is reported in bug #894. Personally I see this bug fix as less important compared to the regression it introduced. Please do recheck the fix for the problems it does cause.

http://bugzilla.libsdl.org/show_bug.cgi?id=894