We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2995 - SDL1.2 bug mousepointer teleports back and forth
Summary: SDL1.2 bug mousepointer teleports back and forth
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.12
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 07:13 UTC by Michael Ole Olsen
Modified: 2015-05-29 19:39 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 Michael Ole Olsen 2015-05-26 07:13:03 UTC
Full bug report:
http://rlogin.dk/sdl12-bug-debian-2015-05-mio

 SDL1.2 bug mousepointer teleports back and forth

Seems related to buffering
Mousepointer jumps back and forth
Mousepointer moves back to where it was before

Only happens in fullscreen mode of SDL
Works normally in windowed mode


Seems related to SDL1.2 , is a bug in SDL
SDL 1.2.8 has severe problems on macosx, but this is on linux/debian stable


Not fixed yet
SDL is unstable! , not a good stable lib


It is installed as stable though, it's just a bad lib to use...

Tagged: #SDL 1.2 mouse problem #SDL 1.2 bugs 


I HAVEN't BEEN ABLE TO FIND THIS BUG ELSEWHERE
BUT I HAVE HAD IT FOR 3-5 YEARS NOW AT LEAST ON DEBIAN STABLE, ON 3-5 systems
they all experience it
in different programs, at least 3-5 different SDL programs show this bug - mouse pointer jumps back and forth



Problem should be fixed in svn version 1.2 SDL your site says
but it isn't!
it's still here in 2015 on debian stable, using sdl 1.2

Maybe it's just a debian problem, I have just used the Stable SDL from Debian, which might not be newest stable version?
Comment 1 Michael Ole Olsen 2015-05-26 07:16:43 UTC
But something suggests its a SDL problem

http://www.mit.edu/course/6/6.115/src/sdl/SDL-1.2.9/docs.html

1.2.8 they hadn't even known how to produce a mouse that works! - and 1.2.8 was deemed 'stable'
was fixed in 1.2.8


it's a critical bug in my opinion, just as critical as the inverted mouse on mac osx

but it could be debian that is using too old stable libs too?

Here are my versions:
ii  libsdl-image1.2:i386                 1.2.12-2                           i386         Image loading library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-mixer1.2:i386                 1.2.12-3                           i386         Mixer library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-net1.2:i386                   1.2.8-2                            i386         Network library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-sound1.2:i386                 1.0.3-6                            i386         Sound library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-ttf2.0-0:i386                 2.0.11-2                           i386         TrueType Font library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl1.2-dev                        1.2.15-5                           i386         Simple DirectMedia Layer development files
ii  libsdl1.2debian:i386                 1.2.15-5                           i386         Simple DirectMedia Layer


I just think it is not a good idea to give people the suggestion SDL is 'stable', and then the mouse is totally broken
It has been broken at least since 1.2.8 , which should have been a stable release?

Many people use SDL 1.2 and rely on it as being stable
but then the mouse is totally broken

So I think this is a critical bug
Comment 2 Michael Ole Olsen 2015-05-26 07:21:31 UTC
I can attest to seeing this problem myself at least since 2010 (5 years now)

on 3-5 different debian stable systems


I experience Problems in these programs:
ioquake3 (icculus quake3 older versions/any version which uses sd1.2)
aprquake2
fs-uae , amiga emulator for linux
protracker23 - tracker for linux
Doom for SDL (many ports..)


Aprquake2 even had an inverted mouse also... was even more broken
seems to be the 1.2.8 bug in osx that was on linux too...

I rarely find a SDL program that works in fullscreen


It seems the problem is in my SDL1.2 lib, that is buggy
even though it should be STABLE

so critical bug?
Comment 3 Michael Ole Olsen 2015-05-26 07:54:15 UTC
Sorry for all the 'swearing' ;-) , I got in a bad mood from this bug, it really annoys me badly each time, and I've seen this bug for at least 5 years now

Nothing worse than a broken mouse across 5+ programs

I like SDL just like I do with ALSA; but it seems there are some great problems with both at times..

but not 100% sure this is an SDL problem yet, might not be, I'm trying to figure out by upgrading my debian right now


that it is broken across so many programs definitely seems to suggest a lib problem, but could be debian that uses old libs too

The problem is not recognized officially in your ChangeLogs, thats what bothers me too
Comment 4 Michael Ole Olsen 2015-05-26 08:03:02 UTC
Changed severity to Major, since it definitely looks like a bug in SDL (90% sure)

I'm upgrading my debian to test, currently on oldstable while stable is out


It should still be stable, since oldstable used only stable SDL libs.
So that is why it is a major problem with SDL, if it is a SDL  bug, mousepointer bugs are bad... makes the whole program unuseable


and should definitely be stable when the lib says it is! - but doesn't seem to be stable at all, problem is there 100% of the time
Comment 5 Ryan C. Gordon 2015-05-28 18:29:34 UTC
I can't reproduce this problem here, but SDL 1.2 is obsolete in any case; we've rewritten all of this code for SDL 2.0, so moving to that will likely fix your problem better for a number of reasons.

--ryan.
Comment 6 Michael Ole Olsen 2015-05-29 01:22:44 UTC
 
Shame it shouldn't get resolved, there are like 20 other topics with this problem! confirming it is a bug in SDL
 
i just upgraded to newest stable debian , problem is still there for me
 
maybe the bug is only on certain machineS?
 
I have had this bug on 4-5 machines now, so just closing the bug like this makes no sense... unless you dont care of course


- 20 other bugs like this one here
- big problem with mousepointer in osx in same 1.2.12 version (which should be stable!)
- its a severe bug


so it really shouldn't be closed, but whatever if you have rewritten it all

it is still a stable bug, 1.2.12 should be stable
but it isn't! - so a severe bug

See all the other bug reports.... they are the same as mine
Comment 7 Michael Ole Olsen 2015-05-29 01:25:38 UTC
What should debian stable users do, they run 1.2.12 ?

Maybe its an issue from upgrading, since I had a person test it and he didn't have the problem...

I still have it on 1.2.12 version..
newest debian stable, which should be very stable, debian is known for being stable

but it seems your lib is the only thing that is broken there


and reinstall may fix it, but on the other hand I have had 3-4 other machines with this problem, happens in many programs
seems the SDL lib


will you just tell debian stable group to just throw out 1.2.12 ? because its obsolete?

then they need a MAJOR version upgrade in their repos
Comment 8 Michael Ole Olsen 2015-05-29 01:26:08 UTC
looking for answer
Comment 9 Michael Ole Olsen 2015-05-29 01:30:32 UTC
change prio to normal, since it seems you cannot replicate it you say
Comment 10 Alex Szpakowski 2015-05-29 02:36:20 UTC
(In reply to Michael Ole Olsen from comment #6)
> - big problem with mousepointer in osx in same 1.2.12 version (which should
> be stable!)

SDL 1.2.15 is the most recent bugfix release of SDL 1.2 – so SDL 1.2.12 is 3 bugfix releases out-of-date compared to the latest stable version of SDL 1.2.
Comment 11 Ryan C. Gordon 2015-05-29 19:39:11 UTC
(In reply to Michael Ole Olsen from comment #7)
> What should debian stable users do, they run 1.2.12 ?

Under those conditions, my recommendation would be to stop using Debian Stable.

Running something as old as 1.2.12 is not stability, it's a liability. 1.2.15 is the last stable build of 1.2. 1.2.12 is _eight years_ old on the 1.2 branch and many many many fixes went into 1.2 since then.

I don't know if this is an SDL bug, but it doesn't happen here, even with 1.2, and I haven't gotten this bug report from the thousands of users of SDL 1.2 that played games I shipped over a decade with it. I don't know what to tell you about it.

Also, as I said, we aren't working on 1.2 any more; we are focused on 2.0 now. If you can track down the bug to SDL 1.2, send Debian a patch to include with their package, but 1.2 is obsolete and we will not be spending engineering resources on it.

Also, please, don't write four more comments in reply; I get an email for each of these and it's getting out of control.

--ryan.