Linux, Debian Sid, GTX 680
Short description of error
This is what happens: if mouse sensitivity is default, everything works fine. If mouse sensitivity is, for example, 0.9 instead of 1, and I try to rotate view by holding middle mouse button, when I release it, mouse cursor jumps to position it would reach with default sensitivity. Automatic cursor wrapping in Blender also ignores xinput sensitivity, so if it happens, mouse cursor will jump unexpectedly even before I release mouse button. The same thing happens when I try to rotate or move objects. When sensitivity is set to low value, for example, 0.3, mouse cursor jumps to edge of the screen almost every time I release mouse button or move/rotate some object with mouse. And because of this, mouse does not wrap around from one edge of the screen to another seemlessly, it just starts behaving crazy, like rotating view at extreme speed.
I have very sensitive mouse, and I cannot change its hardware sensitivity. So I have to adjust it with xinput, otherwise cursor will be "flying" too fast. This used to work with Blender in older distros where it was possible to adjust "Device Accel Constant Deceleration" to change mouse sensitivity. However, this seems to be not possible for a while now because this xinput property was removed. Instead, to change mouse sensitivity I have to adjust Coordinate Transformation Matrix. This works everywhere except in Blender. In case somebody does not know this, in Linux I have to use xinput to adjust sensitivity, because as far as I know there is no other way to do it (for example, in KDE systemsettings I can adjust only acceleration, and even if I set it below 1x, even to minimum 0.1x, it does not do much, and this is expected, since acceleration and sensitivity are completely different settings).
Exact steps for others to reproduce the error
Set mouse sensitivity to anything but 1. For example:
id="pointer:Mouseemu virtual mouse"; speed=0.3; xinput set-prop $id "Coordinate Transformation Matrix" $speed, 0, 0, 0, $speed, 0, 0, 0, 1
Of course, you need to replace pointer name (text after "pointer:" prefix) with your own (if you do not know it, see output from "xinput list"). Then try to rotate view with middle button. You will see cursor to jump unexpectedly when you release mouse button or if you hit edge of the screen.
As far as I can tell, it feels like Blender always assumes default "Coordinate Transformation Matrix", and ignores real one. And as a result, Blender does not calculate mouse position correctly. This pretty much makes Blender practically unusable with mouse which needs xinput sensitivity adjustment. So far I was not able to found any workaround, and it is very hard to work with default sensitivity in my case. If you need more information, please let me know.