View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005956 | Spring engine | General | public | 2018-04-10 23:04 | 2018-09-01 02:15 | ||||
Reporter | Floris | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005956: Windows 10 Pro users have inverted mouse camera panning | ||||||||
Description | ever 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 :/ | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
Floris (reporter) 2018-04-10 23:08 |
I must note that its not just inverted, it tries to go in right direction but then moves the opposite direction, jittery |
silentwings (reporter) 2018-04-10 23:19 |
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 |
silentwings (reporter) 2018-04-10 23:44 |
https://hg.libsdl.org/SDL/rev/c70cf178aacb |
abma (administrator) 2018-04-11 10:16 |
SDL 2.0.8 seems to contain the workarround, so updating SDL in mingwlibs should fix this issue. |
hokomoko (developer) 2018-04-11 13:20 |
will do |
hokomoko (developer) 2018-04-11 18:30 |
k, the libs were updated, may be necessary to force builds later |
hokomoko (developer) 2018-04-12 18:28 |
Floris can you test latest maintenance? https://springrts.com/dl/buildbot/default/maintenance/104.0.1-399-ga506a03/win32/ |
Floris (reporter) 2018-04-12 20:42 |
still happening |
Kloot (developer) 2018-04-12 23:47 Last edited: 2018-04-12 23:49 |
does the SDL version string in your infolog actually contain 2.0.8? |
abma (administrator) 2018-04-12 23:54 |
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) |
Floris (reporter) 2018-04-13 11:14 |
-399: SDL version : 2.0.8 (linked) / 2.0.8 (compiled) included infolog |
Kloot (developer) 2018-04-14 02:25 |
+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. |
Santibag (reporter) 2018-05-13 21:21 |
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. |
Kloot (developer) 2018-05-13 22:39 |
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. |
Floris (reporter) 2018-05-13 22:51 |
still happening for me on -517 |
Kloot (developer) 2018-08-31 16:39 |
Fix 9d0297acf709c8e897fece2089838da78f1bab68 committed to develop branch: fix 0005956, repo: spring changeset id: 10614 |
Kloot (developer) 2018-08-31 16:40 |
Fix d83f7a005aecdc2ffe2664a56d147ae4b3be371c committed to maintenance branch: fix 0005956, repo: spring changeset id: 10615 |
Floris (reporter) 2018-08-31 18:08 |
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) |
Kloot (developer) 2018-08-31 18:27 Last edited: 2018-08-31 18:41 |
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. |
Floris (reporter) 2018-08-31 21:36 |
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 |
Floris (reporter) 2018-08-31 21:39 |
... maybe not when enabling the camera-pan mode alone, but combined with directly moving cursor any bit as well right after |
Kloot (developer) 2018-09-01 02:14 Last edited: 2018-09-01 02:15 |
cursor is back to normal. idk what causes (and couldn't reproduce) the jumping glitch, but it looks unrelated. |
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 |