FS#16809 - [wesnoth] mouse doesn't work properly

Attached to Project: Arch Linux
Opened by Marco Pessotto (melmothx) - Friday, 23 October 2009, 21:10 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 24 May 2010, 00:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After some updates the mouse clicking on wesnoth doesn't work any more. This is the list of freshly installed/updated

-rw-r--r-- 1 root root 385401 23 ott 12:55 xorg-fonts-cyrillic-1.0.0-4-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 6133230 23 ott 12:55 xorg-fonts-misc-1.0.0-4-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 1536754 23 ott 12:55 xorg-fonts-type1-7.3-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 363201 23 ott 12:54 awesome-3.4-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 76378 23 ott 12:54 xproto-7.0.16-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 664063 23 ott 12:54 xorg-apps-7.5-1.1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 2524 23 ott 12:54 xineramaproto-1.2-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 3712 23 ott 12:54 xf86vidmodeproto-2.3-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 489010 23 ott 12:54 xcursor-themes-1.0.2-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 25887 23 ott 12:54 xbitmaps-1.1.0-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 3328 23 ott 12:54 recordproto-1.14-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 2002357 23 ott 12:54 nss-3.12.4-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 197725 23 ott 12:54 mpd-0.15.5-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 1933867 23 ott 12:54 live-media-2009.09.28-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 18919 23 ott 12:54 libxxf86dga-1.1.1-0.1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 4727 23 ott 12:54 xf86dgaproto-2.1-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 3402 23 ott 12:54 dmxproto-2.3-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 136459 23 ott 12:54 dbus-glib-0.82-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 7290 23 ott 12:54 compositeproto-0.4.1-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 2624545 22 ott 17:38 dnsutils-9.6.1-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 3876697 22 ott 17:09 net-snmp-5.4.2.1-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 2195935 22 ott 10:02 python-numpy-1.3.0-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 20818494 22 ott 10:01 xulrunner-1.9.1.3-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 6706 22 ott 10:01 xorg-util-macros-1.3.0-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 3683 22 ott 10:01 xf86miscproto-0.9.3-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 301841 22 ott 10:01 setuptools-0.6c11-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 26695 22 ott 10:01 randrproto-1.3.1-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 2617454 22 ott 10:01 pygtk-2.16.0-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 7189291 22 ott 10:01 libwebkit-1.1.15.3-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 24654 22 ott 10:00 kbproto-1.0.4-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 2851 22 ott 10:00 fontcacheproto-0.1.3-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 629276 22 ott 10:00 tzdata-2009o-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 16115830 22 ott 10:00 perl-5.10.1-5-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 431435 21 ott 18:58 enscript-1.6.4-4-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 1047498 21 ott 13:02 a2ps-4.14-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 650405 21 ott 13:01 sdl-1.2.14-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 628610 21 ott 00:48 shared-mime-info-0.70-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 139710 21 ott 00:48 poppler-glib-0.12.1-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 1029934 21 ott 00:48 poppler-0.12.1-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 168023 21 ott 00:47 pixman-0.16.2-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 757703 21 ott 00:47 pango-1.26.0-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 404024 21 ott 00:47 lirc-utils-0.8.6-3-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 356027 21 ott 00:47 libsoup-2.28.1-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 32262 21 ott 00:47 libpciaccess-0.10.9-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 206875 21 ott 00:47 getmail-4.13.0-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 1736154 21 ott 00:47 exo-0.3.105-2-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 7149 21 ott 00:47 hicolor-icon-theme-0.11-1-any.pkg.tar.gz
-rw-r--r-- 1 root root 114924 21 ott 00:47 consolekit-0.4.1-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 426460 21 ott 00:47 sqlite3-3.6.19-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 root root 56056 21 ott 00:47 libgpg-error-1.7-2-x86_64.pkg.tar.gz

Before this batch I could play normally

Additional info:
* package version(s) wesnoth 1.6.5-1
* config and/or log files etc. none


Steps to reproduce:

pacman -S wesnoth

execute wesnoth. The game doesn't respond because clicking doesn't produce any effect.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 24 May 2010, 00:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  using sdl-1.2.14-2
Comment by Marco Pessotto (melmothx) - Saturday, 24 October 2009, 15:04 GMT
I have tried to recompiled it, but same outcome. The left click doesn't produce any effect.
I've been a short conversation with another user on IRC, reporting the same problem
Comment by Illya Klymov (xanf) - Saturday, 24 October 2009, 19:40 GMT
Let me describe this a bit more:
fullscreen mode works perfectly, but in windowed mode in order to make left click work you must hold RIGHT mouse button and click with LEFT - and it is counted as simple left click
Comment by Marco Pessotto (melmothx) - Saturday, 24 October 2009, 20:00 GMT
I can confirm this behaviour. I'd add that in the same period, the mouse itself stopped to have the 3rd button emulation (i.e., left+right click doesn't work as a middle click). While this can be easily fixed with the proper option in hal, I'm guessing if this bug isn't related to the changes to mouse behaviour.
Comment by Anders Holmström (lillis) - Sunday, 25 October 2009, 11:07 GMT
I get the same error with awesome 3.4 and openbox 3.4.7.2, and it can be worked around using the tip provided by xanf, but obviously isn't playable.

Have had a conversation with two people on IRC, one of them reporting that it works with dwm and gnome but not awesome/openbox, the other that it works under awesome(!).
Comment by Wieland Hoffmann (Mineo) - Sunday, 25 October 2009, 11:13 GMT
There have been several people wth the exact same problem in the wesnoth irc-channel. They all could solve this by downgrading sdl to 1.2.13-3.
Comment by Johannes Jordan (FoPref) - Sunday, 22 November 2009, 12:02 GMT
I can confirm this, using http://mirror.pacific.net.au/linux/archlinux/extra/os/i686/sdl-1.2.13-3-i686.pkg.tar.gz resolved the issue.
I run fluxbox.
Comment by Tobias Powalowski (tpowa) - Sunday, 22 November 2009, 19:38 GMT
sounds like a sdl problem then and not a wesnoth specific one.
Comment by Ivan Yurasov (vanDake) - Tuesday, 29 December 2009, 18:50 GMT
I can confirm this bug.
I have a terminal output:
20091229 21:45:00 warning gui/event: distributor mouse button left [transient_message]: SDL left button up. The mouse button is already up, we missed an event.

sdl 1.2.14-1
Comment by Gavin Bisesi (Daenyth) - Sunday, 03 January 2010, 18:39 GMT
I can confirm also. Can't click anywhere.
Comment by David Pflug (Viaken) - Saturday, 06 February 2010, 04:49 GMT
There's a bug open upstream for this.

https://gna.org/bugs/index.php?14770

And there's a bug open upstream from THAT.

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

They're not quite decided on where the fault lies, but it's being worked on.
Comment by Johannes Jordan (FoPref) - Saturday, 06 February 2010, 12:30 GMT
Shouldn't wesnoth package explicitely depend on lower lib version until this is fixed, and it being provided in the repos? this is awkward situation for months..
Not for me, as I downloaded old sdl package long time ago. But any new user installing wesnoth has this problem.
Comment by Russ (vaganto) - Friday, 19 February 2010, 17:07 GMT
I can confirm this behavior under wmii, and actually this looks very similar for me to bug with flash plugin in FF.
I have similar behavior in flash - left click on buttons there doesn't do anything. If I hold right button and then click left - it does the work, if I make a youtube video to full screen then everything start working correctly.
Looks like same problem to me.
Comment by Tobias Powalowski (tpowa) - Friday, 30 April 2010, 06:13 GMT
is this still an issue in 1.8?
Comment by Johannes Jordan (FoPref) - Friday, 30 April 2010, 07:44 GMT
Hi Tobias!

Unfortunately, yes! The behaviour did not change.
Comment by Neil Munro (niadh) - Sunday, 23 May 2010, 02:29 GMT
I just updated SDL tonight, in windowed mode Wesnoth now dectects regular left clicks as left clicks.

I tested this on 686 and have had the same issue, so hopefully the 64 bit one will work too, with that in mind I will request the bug be closed unless most users don't have a fix.
Comment by Wieland Hoffmann (Mineo) - Sunday, 23 May 2010, 10:27 GMT
SDL 1.2.14-2 fixes the bug on x86_64, too.

Loading...