Open sherief opened 8 years ago
I fear that this is mouse driver dependent. Since we depend on the mouse driver to deliver fine-grained scrolling events, we are at its mercy if it chooses not to for a background window. On my Windows 7 Dell with Alps trackpad, my initial testing showed that background windows don't receive any scrolling events at all, which is arguably worse than your symptoms.
However, on further testing, (again on my system) everything works as expected if the background Visual Studio window is owned by the same process as the foreground window and Chrome behaves the same way. So the mouse driver is messing with us.
You can try your own experiments, e.g. foreground Notepad and background Chrome to see if inter-process mouse events are dispatched to the background window with your mouse driver. Likewise you could try to confirm that scrolling of background detached Visual Studio editor window DOES work.
Exactly what it says on the can. It's buttery smooth if I have another window in focus and I move my mouse over to a background VS window and use the two finger scroll gesture on my Synaptics trackpad attached to my 2015 Razer Blade laptop. With the VS window in focus, same gesture scrolls by seven lines at a time - which is weird since with the extension disabled I had the two finger scroll set to scroll one line at a time. Any idea what could be causing this, or how can I debug the issue and / or provide any useful diagnostics?