Topic: mouse jumps and scrolling with right mouse button too fast
Gaben22 Topic Opener |
Posted at: 2022-04-18, 16:25
Hi everyone,
Edited: 2022-04-18, 16:26
Top Quote |
kaputtnik |
Posted at: 2022-04-18, 16:46
Hi Gaben22 and welcome to the forums I am also on archlinux but i do not get this strange effects. I remember there was a similar bug report long (long) time ago, can't find find it … probably it was closed as won't fix, i don't know anymore. Did you tried with another mouse? Maybe a mouse connected with a cable? Which graphics card do you use?
Sometimes i get this also, but i think this is related to automatic saves Glad to have the POS1-shortcut Top Quote |
Gaben22 Topic Opener |
Posted at: 2022-04-18, 18:37
Hi Kaputtnik, thank you for answering. Good news, based on your suggestion I may have narrowed down the issue. I use an old Ati Radeon 7990 (dual GPU) card with AMDGPU (mesa 22.0.1-3) but looks this is not the culprit. My daily driver is a wired mouse but as you suggested I connected an other one, restarted (just in case...) and this time no issues. This got me thinking and I remembered I have 1 very specific setting with my daily driver mouse in ~/.bash_profile:
This sets the mouse speed/acceleration based on my taste. If I comment above out and restart (again, just in case :D), the issues cannot be reproduced with my daily driver mouse either. If I execute above command and start Widelands, they come back. I need to make 1 correction on my original "report", when the xinput set-props... "enabled" the right mouse button scroll looks completly ignores the direction of the mouse movement and it just moves top left diagonally no matter what I do. The "angle" similar to my first observation (pointer jumping top left after every left "click type action"). Thank you for the suggestion this pretty much solved my problem but now I am wondering if this is specific to my setup or this is a potential issue? I never had problems with this mouse. Yesterday I played Corsix-TH a bit and no issues observed there. BTW I went back to 1.0 release and tried above with that. Edited: 2022-04-18, 18:59
Top Quote |
kaputtnik |
Posted at: 2022-04-18, 19:39
Might be an SDL issue? widelands is close to a new release (1.1) so playing the current development version should be fine. In general the development versions are running fine Glad you found the reason for your issue! Top Quote |
Gaben22 Topic Opener |
Posted at: 2022-04-18, 20:45
It could be very well an SDL issue. I installed OpenTTD (did not know I did not have it installed, shame on me :D) which is, based on their development page, also uses libSDL2 (although pacman is not showing it as a dependency, looks it is compile time dependency, maybe statically compiled?). I managed to reproduce the right mouse button scroll behavior. Exact same thing is happening on OpenTTD with scrolling.
to: And play OpenTTD right mouse button scrolling works exactly as it should. Probably the cursor jump could be reproduced too although I cannot recall any action that would do cursor focusing the same way as Settlers II did. Could you advice how to proceed, should I report this and if so how and where? Maybe here: http://bugzilla.libsdl.org/ ? Top Quote |
kaputtnik |
Posted at: 2022-04-19, 18:06
You can try that. But AFAIK Corsix-TH does also use SDL so i am not sure if this is really an SDL issue. Maybe wait for a developer with more knowledge about this SDL stuff for an answer. Top Quote |
Gaben22 Topic Opener |
Posted at: 2022-04-19, 21:45
I tried Corsix-TH again but in there there is no right mouse button scroll only edge scroll. Would that be acceptable to report this issue on Widelands issues page too? I would need to be "game specific" (in other words non-technical) with describing my issue on SDL issues and maybe they won't accept that. Top Quote |