Debian Bug report logs -
#723797
libsdl2/X: false positives in mouse wheel code
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#723797; Package libsdl2-2.0-0.
(Thu, 19 Sep 2013 21:18:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Darren Salt <bugspam@moreofthesa.me.uk>:
New Bug report received and forwarded. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Thu, 19 Sep 2013 21:18:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libsdl2-2.0-0
Version: 2.0.0+dfsg1-2
I've noticed that one mouse button, which was fine with SDL 1.2, didn't
appear to be working when using SDL 2.0.
Some digging showed that it's a consequence of two things: how SDL2 detects
mouse wheel usage, and a kernel patch to work around a problem with the mouse
in question regarding that button.
Since the mouse does not generate a release event when that button is
released (this appears to be by design), release events need to be
synthesised in order to avoid confusing X into thinking that a drag operation
is in progress when that button is pressed. This causes press time == release
time, and tricks SDL2 into handling it as a wheel – but, since SDL2 ‘knows’
elsewhere that Button4 and Button5 are the only possible wheel buttons, the
event is effectively discarded (it is sent with wheel.y = 0 and the button
information is lost).
(While investigating this, I noticed that the horizontal wheel ISN'T picked
up as a mouse wheel and, consequently, works without problems with SDL2 – it
fails the press time == release time test so doesn't fall foul of SDL2's X11
code only knowing about the vertical scroll wheel.)
--
| _ | Darren Salt, using Debian GNU/Linux (and Android)
| ( ) |
| X | ASCII Ribbon campaign against HTML e-mail
| / \ | http://www.asciiribbon.org/
You will find many bugs today.
[mouse-wheel-false-positives.diff (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#723797; Package libsdl2-2.0-0.
(Sun, 22 Sep 2013 20:39:07 GMT) (full text, mbox, link).
Acknowledgement sent
to "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Sun, 22 Sep 2013 20:39:07 GMT) (full text, mbox, link).
Message #10 received at 723797@bugs.debian.org (full text, mbox, reply):
Control: forwarded -1 https://bugzilla.libsdl.org/show_bug.cgi?id=2110
2013/9/19 Darren Salt <bugspam@moreofthesa.me.uk>:
> I've noticed that one mouse button, which was fine with SDL 1.2, didn't
> appear to be working when using SDL 2.0.
Thanks for the report. I forwarded the report upstream (URL at the
top) to see if they have any comment.
We will incorporate it soonish if there are no objections.
Cheers.
--
Manuel
Reply sent
to mafm@debian.org (Manuel A. Fernandez Montecelo):
You have taken responsibility.
(Sun, 20 Oct 2013 00:21:05 GMT) (full text, mbox, link).
Notification sent
to Darren Salt <bugspam@moreofthesa.me.uk>:
Bug acknowledged by developer.
(Sun, 20 Oct 2013 00:21:05 GMT) (full text, mbox, link).
Message #17 received at 723797-close@bugs.debian.org (full text, mbox, reply):
Source: libsdl2
Source-Version: 2.0.0+dfsg1-3
We believe that the bug you reported is fixed in the latest version of
libsdl2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 723797@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manuel A. Fernandez Montecelo <mafm@debian.org> (supplier of updated libsdl2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 20 Oct 2013 00:58:48 +0100
Source: libsdl2
Binary: libsdl2-2.0-0 libsdl2-dev libsdl2-dbg
Architecture: source amd64
Version: 2.0.0+dfsg1-3
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Changed-By: Manuel A. Fernandez Montecelo <mafm@debian.org>
Description:
libsdl2-2.0-0 - Simple DirectMedia Layer
libsdl2-dbg - Simple DirectMedia Layer debug files
libsdl2-dev - Simple DirectMedia Layer development files
Closes: 723797
Changes:
libsdl2 (2.0.0+dfsg1-3) unstable; urgency=low
.
* Build-Depends on pkg-config
* Apply patch accepted upstream to work around a false-positive in the
X11 mouse wheel code (Closes: #723797). Thanks Darren Salt for the
report and the fix.
* Review and removal of old patches not applied in SDL2, virtually of
them applied upstream, or rejected as invalid for good reason, or
don't apply any more (code/functionality removed upstream). I
forwarded and documented the remaining patches.
- 001_autogen_autotools_fix.diff
- 020_libcaca_new_api.diff
- 030_pulseaudio_enable.diff
- 040_propagate_pic_to_nasm.diff
- 050_altivec_detection.diff
- 060_disable_ipod.diff
- 205_lock_keys.diff
- 205_x11_keysym_fix.diff
- 206_gcc4_compilation_fix.diff
- 209_alsa_priority.diff
- 214_missing_mmx_blit.diff
- 215_kfreebsd_gnu.diff
- 216_page_size.diff
- 217_x11_keytounicode.diff
- 218_double_free.diff
- 218_joystick_memmove.diff
- 219_pulseaudio_crackles.diff
- 220_std_cld.diff
- 221_check_SDL_NOKBD_environment_variable.diff
- 222_joystick_crash.diff
- 310_fixmouseclicks
- 310_segfault_noGLX.diff
- 320_activate_xrandr_on_default.diff
- 320_disappearingcursor.diff
Checksums-Sha1:
542a8e48cba2f8bcf0d1d35584a5d14a6ad6e748 2546 libsdl2_2.0.0+dfsg1-3.dsc
bcfb125ed6b827fdf27298faf7f51941711e0676 11328 libsdl2_2.0.0+dfsg1-3.debian.tar.gz
2a576f033b1882e7d9c13a73047e39f328bc3057 277278 libsdl2-2.0-0_2.0.0+dfsg1-3_amd64.deb
43686b520213d77375c7664b96cff6d0d4b18bf1 985284 libsdl2-dev_2.0.0+dfsg1-3_amd64.deb
f1790a155d6863efef3e345e1812db9a788f5e30 1084192 libsdl2-dbg_2.0.0+dfsg1-3_amd64.deb
Checksums-Sha256:
d3d9c4c1827aa4ff20637a04bec62ad33efb3108431e75d22d82954d0ffe36ec 2546 libsdl2_2.0.0+dfsg1-3.dsc
16e59283e03156a1bd327305dec1a419309f0e84be0baec8f50405fb0714f667 11328 libsdl2_2.0.0+dfsg1-3.debian.tar.gz
b9f9e995dd3db9dd635af3bd760ae67030e5ceb473f5b27139eb38cb140bf1f5 277278 libsdl2-2.0-0_2.0.0+dfsg1-3_amd64.deb
1d18c658e68e2497dc2825a0fdacaec5d6606a953c95bc85b4f09ca1da9d5145 985284 libsdl2-dev_2.0.0+dfsg1-3_amd64.deb
2f733aa211cb72f6828400b8293399afbcd9fb77e89f57aaff4f981987fe545c 1084192 libsdl2-dbg_2.0.0+dfsg1-3_amd64.deb
Files:
ff5213a33a8334157cd975b68ab3af2c 2546 libs optional libsdl2_2.0.0+dfsg1-3.dsc
28f9b5dd6989ee09068a7113bb6b0baa 11328 libs optional libsdl2_2.0.0+dfsg1-3.debian.tar.gz
9fecc01456db88c147d5946c0545ebae 277278 libs optional libsdl2-2.0-0_2.0.0+dfsg1-3_amd64.deb
74cb3d8e14b0f8c6f3a46a8db62086b8 985284 libdevel optional libsdl2-dev_2.0.0+dfsg1-3_amd64.deb
e37197d97d037e347aa5a61be4ec9e24 1084192 debug extra libsdl2-dbg_2.0.0+dfsg1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCgAGBQJSYx1vAAoJEH92BqRF3KgOYesP/0K7AXO+qElFpRSug9+93xAK
7Gw//4j8ZFWD0teXH4498zpCBz2YcFGGLTGD1MAuwh8+MCeSSpW3+jA23G8lWlmH
WgHezIT82i4TXWAs3G/1v75ZpbIeJ3EJRfb4rqAl9bcHB9xhr5P2j7dt3Zp9LkhT
Jf9cxehUBXjuclqsIifZ7b6lzuHzNHEgC1l4qGN7T6V/1W4JvKJfJS8S2FR9PMqz
m7t45n+EvRWwOwfCfOF0+NxLdTOesmZDEvTm1qiK23g8j42GlX9aPAOeFUIDYQ5X
YsIPpS1LdLTqug0Uczq0F/CSDgA5AlAxcrobmtrIlhWTlKxlVh7hd+k3rbZ+l/py
pCemQHWuyyS4ngwA/TCztVkwYpDWi0zGPZ3zL7HRJZpGAQNn8jaR5/1XyYXoC6EP
XQrJk+ZYwAOhTlgmyqSOuhJWWC6QZ65Lec8CXCdrpjrGW/0HKQMkB+Tthmf7c2HN
a8BpiRtwVPaMoS83BQIqdKSIzQjZLsjHlM+y9WaW97t9/gEaJ2bK4MdhPtHCyTh9
qHlwAiW1LyvkzzYanjfHxGQGFry7TV+MGUqb/vECdRd/aIYbfzf0de2gPFaO8Qxg
QAV42beLsIKi4ZWREEUiPFsahHopjGK4ZqbhJZBg9M1hE+FNf5vOZOAsG3Tezt8n
jE9KKRsBx/ckpbHMAN4l
=KEwk
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 27 Nov 2013 07:35:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 08:32:37 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.