You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem has been reported at the Arch forums as well, with many users experiencing it. Again, downgrading to sdl 1.2.13 solved it.
I can't really provide any details, wesnoth doesn't seem to be giving out any errors. All I can say is this: it just doesn't accept left mouse clicks in windowed mode (unless you are holding down the right mouse button at the same time, or the ctrl key). No problems in fullscreen mode.
Like the original comment in here said, Wesnoth's devs have labeled it an upstream problem..
Please make sure to monitor the updates in the Wesnoth bugtracker. As listed in there it does depend on the windowmanager used and the problems do not occur in fullscreen mode. In general you do get this warning in the beta versions (default log level is reduced to error again in final 1.8):
20100323 11:46:49 warning gui/event: distributor mouse button left [wml_message_left]: SDL left button up. The mouse button is already up, we missed an event.
So it looks like some strange stuff is going on with the click events. Yes, this warning only occurs when using libsdl 1.2.14. This is on KDE 4.x where things mostly work, all I have to do every now and then is activate another application and then go back to Wesnoth and clicking does work in this Window Manager. Other WMs are affected a lot more. All the info about this is available in the Wesnoth bugtracker at https://gna.org/bugs/index.php?14770 . It would be really good if this bug was fixed eventually since I would love to remove this warning about libsdl being broken in those regards from the Wesnoth release announcement. Even worse, the next Ubuntu LTS series is likely to ship with this problematic libsdl release...
On 2010-03-23 04:06:42 +0000, Nils Kneuper wrote:
Some more info:
If you want to get those warnings shown start wesnoth this was:
wesnoth --log-error=all
Once in a campaign you should get many of the messages I mentioned since the new gui dialogs do somehow still work when only receiving the mouse up event. Here is what mordante wrote in the related Debian bug report ([1]) about the way Wesnoth does use libsdl click events:
"The problem is that after the upgrade the buttons in the user interface no longer work. Clicking with the mouse on a button in the main menu does nothing at all, rendering Wesnoth completely unusable. I did some testing and it seems the widgets only receive a mouse button up event and no mouse button down event. The Wesnoth engine expects both events before registering a click on the widget."
Some more info:
If you want to get those warnings shown start wesnoth this was:
wesnoth --log-error=all
Sorry, wrong one:
wesnoth --log-warnings=all
On 2010-04-08 11:29:22 +0000, Nils Kneuper wrote:
A patch fixing this issue was posted in the debian bug tracker at [1]. A Wesnoth dev (who was affected by the issue) tested the patch and reports that it does fix it for him. It would be great if there was a 1.2.15 release fixing this issue.
To have some crosslinking between the reports:
The fix in the debian bugtracker does partly revert the fix for bug # 716. So it looks like the fix for this problem caused a (IMO quite bad!) regression. It would be really great if you could have a look at this.
ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
root 0xa3, subw 0x0, time 171216347, (144,119), root:(170,211),
state 0x10, button 1, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4a00001,
root 0xa3, subw 0x0, time 171216767, (144,119), root:(170,211),
state 0x110, button 1, same_screen YES
This is all legal, even if it's a little weird, so I'm downloading Wesnoth to see why it's complaining about this sequence of events. It's a little big, so it's going to take a while. :)
On 2010-07-20 00:10:30 +0000, Sam Lantinga wrote:
Okay, once I was able to reproduce this, I was able to get a good fix without breaking the previous bug 716.
This is fixed in revision 4aa31b9207f2. I'm attaching a patch relative to vanilla SDL 1.2.14.
Thanks!
On 2010-07-20 00:18:08 +0000, Sam Lantinga wrote:
Okay, I verified that this fix takes care of both Wesnoth and OpenTTD.
Woot! :)
On 2010-07-20 00:18:52 +0000, Sam Lantinga wrote:
Created attachment 524
Patch relative to vanilla SDL 1.2.14
On 2011-11-01 11:33:12 +0000, Alan Swanson wrote:
Could we please have this applied to the SDL-1.2 branch too?
On 2011-11-01 11:43:24 +0000, Alan Swanson wrote:
Hmm, looks like my hg pulls haven't been updating all files properly. Sorry for the noise.
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 1.2.14
Reported for operating system, platform: Linux, Other
Comments on the original bug report:
On 2009-11-26 08:23:26 +0000, Bernhard Rosenkraenzer wrote:
On 2009-12-11 07:18:33 +0000, Sam Lantinga wrote:
On 2009-12-24 06:51:51 +0000, pillz wrote:
On 2010-03-23 03:52:02 +0000, Nils Kneuper wrote:
On 2010-03-23 04:06:42 +0000, Nils Kneuper wrote:
On 2010-03-23 04:08:25 +0000, Nils Kneuper wrote:
On 2010-04-08 11:29:22 +0000, Nils Kneuper wrote:
On 2010-04-20 03:51:37 +0000, Nils Kneuper wrote:
On 2010-06-04 01:59:59 +0000, Remko Bijker wrote:
On 2010-07-18 10:44:49 +0000, Sam Lantinga wrote:
On 2010-07-19 22:45:10 +0000, Sam Lantinga wrote:
On 2010-07-20 00:10:30 +0000, Sam Lantinga wrote:
On 2010-07-20 00:18:08 +0000, Sam Lantinga wrote:
On 2010-07-20 00:18:52 +0000, Sam Lantinga wrote:
On 2011-11-01 11:33:12 +0000, Alan Swanson wrote:
On 2011-11-01 11:43:24 +0000, Alan Swanson wrote:
The text was updated successfully, but these errors were encountered: