MantisBT - Zandronum
View Issue Details
0003784Zandronum[All Projects] Bugpublic2020-05-04 03:562020-05-28 23:44
Microsoft Windows 10
0003784: Mouse view desyncs when using SR50
With 0003314 fixed, a new issue was brought to light: when using SR50 (the one-key implementation as seen in Steps To Reproduce), your view gets slightly desync'd and snaps back to an angle roughly 1 tic before you pressed the SR50 key. This only happens when smooth_mouse 0. This problem was also present in older versions of GZDoom, but it has since been fixed there. Unfortunately, I wouldn't know where to find it, but I'd assume all that must be done to resolve this is to port over their mouse fix.
- Add the one-key SR50 alias seen here: [^]
- Press the SR50 key while doing hard turns;
- Notice your view "snapping" back at the immediate previous angle you were looking at before pressing the SR50 key.
No tags attached.
Issue History
2020-05-04 03:56SoulNew Issue
2020-05-04 04:14SoulNote Added: 0021307
2020-05-07 19:44Ru5tK1ngNote Added: 0021327
2020-05-28 23:44SoulNote Added: 0021346

2020-05-04 04:14   
After further testing, it's been discovered this only happens with uncapped FPS, so there's a chance the problem might not be associated with the mouse code, but with the renderer instead. With capped FPS, there are no such visual problems.
2020-05-07 19:44   
I can't seem to replicate this bug with 3.1 in both renderers. Maybe someone can post a gif or video.
2020-05-28 23:44   
I've recorded a video illustrating this bug for a minute. I press the SR50 bind as I turn during my strafe-runs here. Notice my view jerking ever-so-slightly in the opposite direction every time I activate SR50. It's perhaps easiest to see in the middle of the video where I'm mashing the bind. I recommend going frame-by-frame to get a good look at what's going on. [^]