2024-04-25 10:03 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005956Spring engineGeneralpublic2018-09-01 02:15
ReporterFloris 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0005956: Windows 10 Pro users have inverted mouse camera panning
Descriptionever since a windows 10 update months ago. (after version 1709)

Bluestone said its some SDL issue. And a quic ksearch results in other software experiencing this as well

I myself have this as well and am using zooming to move my camera around :/
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0005983closedKloot Camera stuttering while moving 
+Relationships

-Notes

~0019002

Floris (reporter)

I must note that its not just inverted, it tries to go in right direction but then moves the opposite direction, jittery

~0019003

silentwings (reporter)

After further reading, it seems even wider than just SDL using software: https://www.google.co.uk/search?q=windows+1709+mouse+jitter+site:answers.microsoft.com

~0019004

silentwings (reporter)

https://hg.libsdl.org/SDL/rev/c70cf178aacb

~0019005

abma (administrator)

SDL 2.0.8 seems to contain the workarround, so updating SDL in mingwlibs should fix this issue.

~0019006

hokomoko (developer)

will do

~0019007

hokomoko (developer)

k, the libs were updated, may be necessary to force builds later

~0019008

hokomoko (developer)

Floris can you test latest maintenance?
https://springrts.com/dl/buildbot/default/maintenance/104.0.1-399-ga506a03/win32/

~0019011

Floris (reporter)

still happening

~0019012

Kloot (developer)

Last edited: 2018-04-12 23:49

View 2 revisions

does the SDL version string in your infolog actually contain 2.0.8?

~0019013

abma (administrator)

i can confirm that mingwlibs were updated / spring completely rebuild here:
https://buildbot.springrts.com/builders/full-windows-test/builds/6119/steps/build%20dir%20create/logs/stdio

>= 104.0.1-779-g13f71b9 develop

>= 104.0.1-399-ga506a03 maintenance should contain updated SDL, too

if not its a buildbot bug.

so please, whats your line in infolog.txt, for me its on linux currently ( Spring 104.0.1-151-g11de57d maintenance)
        SDL version : 2.0.8 (linked) / 2.0.1 (compiled)

~0019015

Floris (reporter)

-399:
SDL version : 2.0.8 (linked) / 2.0.8 (compiled)

included infolog

~0019016

Kloot (developer)

+static SDL_bool
+IsWin10FCUorNewer(void)
+{
+...
+if ( (info.dwMajorVersion == 10 && info.dwMinorVersion == 0 && info.dwBuildNumber >= 16299) ...) return SDL_TRUE;
+...


"Microsoft Business Edition, 64-bit (build 9200)"


Spring's OS version check code was last touched seven years ago before Windows 10 existed, but if this build number matches what SDL is seeing the patch will do nothing on your system.

~0019110

Santibag (reporter)

I opened the duplicate of this. The difference is, I have this in Microsoft Home Premium Edition, 64-bit (build 9200), as stated in my infolog file at:
https://springrts.com/mantis/view.php?id=5983

Link is the same as the relation shown above.

~0019111

Kloot (developer)

the Windows build number in infolog can be ignored, what matters is the FCU detection code in SDL 2.0.8.

again though, you should test an engine **newer than 104.0.1-399-ga506a0** to know if the SDL patch helps at all.

~0019112

Floris (reporter)

still happening for me on -517

~0019324

Kloot (developer)

Fix 9d0297acf709c8e897fece2089838da78f1bab68 committed to develop branch: fix 0005956, repo: spring changeset id: 10614

~0019325

Kloot (developer)

Fix d83f7a005aecdc2ffe2664a56d147ae4b3be371c committed to maintenance branch: fix 0005956, repo: spring changeset id: 10615

~0019326

Floris (reporter)

I tried 104.0.1.677 and its moving in the right direction now but the mouse isnt kept in the center of the screen, so the cross direction indicator is odd and the mouse wont be in center when you exit the camera-pan mode.

(there is also still another (old)problem that the camera sometime jumps to some other place when you initiate the camera pan mode)

~0019327

Kloot (developer)

Last edited: 2018-08-31 18:41

View 2 revisions

strange, the mouse center position is explicitly restored on pan-exit. try 680-gdce9dc0 later.

setting the MouseRelativeModeWarp config added in 678 to 0 might work for you (but probably will just reintroduce jitter), I can't do much more about this without getting an actual Windows development environment.

~0019328

Floris (reporter)

tried .680, the mouse position gets placed in center when exiting camera-pan mode now. The pan cursor is still wrong.

Here is a recording of it that depicts the odd camera-pan cursor and the sudden camera jump when enabling camera-pan mode at 10 and 20 secs in the video:
https://www.youtube.com/watch?v=7XlIxMQMs9Q

~0019329

Floris (reporter)

... maybe not when enabling the camera-pan mode alone, but combined with directly moving cursor any bit as well right after

~0019330

Kloot (developer)

Last edited: 2018-09-01 02:15

View 2 revisions

cursor is back to normal.

idk what causes (and couldn't reproduce) the jumping glitch, but it looks unrelated.

+Notes

-Issue History
Date Modified Username Field Change
2018-04-10 23:04 Floris New Issue
2018-04-10 23:08 Floris Note Added: 0019002
2018-04-10 23:19 silentwings Note Added: 0019003
2018-04-10 23:44 silentwings Note Added: 0019004
2018-04-11 10:16 abma Note Added: 0019005
2018-04-11 13:20 hokomoko Note Added: 0019006
2018-04-11 18:30 hokomoko Note Added: 0019007
2018-04-12 18:28 hokomoko Note Added: 0019008
2018-04-12 20:42 Floris Note Added: 0019011
2018-04-12 23:47 Kloot Note Added: 0019012
2018-04-12 23:49 Kloot Note Edited: 0019012 View Revisions
2018-04-12 23:54 abma Note Added: 0019013
2018-04-13 11:14 Floris File Added: infolog.txt
2018-04-13 11:14 Floris Note Added: 0019015
2018-04-14 02:25 Kloot Note Added: 0019016
2018-05-13 21:07 Kloot Relationship added has duplicate 0005983
2018-05-13 21:21 Santibag Note Added: 0019110
2018-05-13 22:39 Kloot Note Added: 0019111
2018-05-13 22:51 Floris Note Added: 0019112
2018-08-31 16:39 Kloot Changeset attached => spring develop 9d0297ac
2018-08-31 16:39 Kloot Note Added: 0019324
2018-08-31 16:39 Kloot Assigned To => Kloot
2018-08-31 16:39 Kloot Status new => resolved
2018-08-31 16:39 Kloot Resolution open => fixed
2018-08-31 16:40 Kloot Changeset attached => spring maintenance d83f7a00
2018-08-31 16:40 Kloot Note Added: 0019325
2018-08-31 18:08 Floris Status resolved => feedback
2018-08-31 18:08 Floris Resolution fixed => reopened
2018-08-31 18:08 Floris Note Added: 0019326
2018-08-31 18:27 Kloot Note Added: 0019327
2018-08-31 18:41 Kloot Note Edited: 0019327 View Revisions
2018-08-31 21:36 Floris Note Added: 0019328
2018-08-31 21:36 Floris Status feedback => assigned
2018-08-31 21:39 Floris Note Added: 0019329
2018-09-01 02:14 Kloot Status assigned => resolved
2018-09-01 02:14 Kloot Resolution reopened => fixed
2018-09-01 02:14 Kloot Note Added: 0019330
2018-09-01 02:15 Kloot Note Edited: 0019330 View Revisions
+Issue History