+++ This bug was initially created as a clone of Bug #556608 +++ Description of problem: There is a bug for this in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565788 And one in Wesnoth: https://gna.org/bugs/index.php?14770 When I make a development build of Wesnoth on rawhide I see the problem as described in the wesnoth bug. Plain left click doesn't work. Left click with the right mouse button held down does work. I tested this with a version of wesnoth built from source on a rawhide system. I'll recheck with the version of wesnoth inherited from f12 and add a comment on that. Version-Release number of selected component (if applicable): SDL-1.2.14-1.fc13.i686 How reproducible: I didn't do a lot of testing. It happens with openbox, but not with gnome. --- Additional comment from bruno on 2010-01-18 22:33:45 GMT --- I tested this some more and the f12 wesnoth inherited by rawhide shows the same issue. The problem did not show up with fvwm. And I forgot to note, this is only a problem when running in windowed mode. In full screen things work OK. --- Additional comment from fedora-triage-list on 2010-03-15 14:07:21 GMT --- This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping --- Additional comment from bruno on 2010-04-08 20:03:45 GMT --- On the Wesnoth dev list it was reported that Debian has a fix for this (in SDL not Wesnoth). http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565788#19 I look into this some more later to see if we have gotten a fix into SDL yet or if I need to reassign this bug to something SDL related. --- Additional comment from msaft.cz on 2010-07-30 13:45:43 GMT --- There is a patch for this from upstream: http://bugzilla.libsdl.org/show_bug.cgi?id=894 Please apply. --- Additional comment from ppisar on 2010-08-12 15:48:03 GMT --- Patch verified with Wesnoth in Fluxbox on F13. I will look if I can complete other bugs and then I will bump new SDL release. --- Additional comment from updates on 2010-08-12 16:39:51 GMT --- SDL-1.2.14-7.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/SDL-1.2.14-7.fc14 ---- Maintainer summary: This bug exposes unexpected mouse button event handling between certain window managers and SDL applications. Despite there is now enterprise-like reproducer, this issue can emerge anytime. This issue has been fixed by upstream using simple patch.
Created attachment 451922 [details] Fix Patch from upstream fixing this issue.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Pressing left button in a SDL application running in a window mode and when using certain window manager (like Fluxbox). Consequence Left-button event is not reported to the SDL application. Fix Window-leave notification dispatching to SDL window has been fixed in case a parent window is not interested in grab/ungrab events to handle window focus changes. Result Button press event is reported to the application even if window manager takes care about grab events.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0446.html