Microsoft's browser developers think the Chromium approach to mouse scrolling is so bad that it's really a bug and that it can be solved with some smarts from Edge.
Microsoft has shared its thoughts on Chromium's mouse behavior in a proposal to bring the Microsoft Edge browser's "smooth scrolling" functionality to Chromium that would fix the "janky" movements when scrolling on the scrollbar using Google's existing methods.
The proposal comes as Microsoft gears up to release its first preview of the newly-minted Chromium-based version of Edge, which swaps out the EdgeHTML rendering engine for Chromium's Blink.
As part of the shift towards Chromium, Microsoft has said it will contribute differentiating features back to the Chromium open-source project, including browser-accessibility features, as well as optimizations for touch and Chromium for Arm.
But Microsoft also has its eye on how Chromium interacts with the mouse, an input device that Microsoft has been working on for decades, bringing the world the IntelliMouse in 1996 and the Microsoft Mouse three years earlier.
As reported by Thurrott.com, Microsoft's proposal aims to address the high latency when people use a mouse with Chrome to slide a page up and down from the scrollbar.
"Scrollbar scrolling using the mouse happens on the main thread in Chromium. If the main thread is busy, scrolling by clicking on the scrollbar will appear to be janky as the events keep getting queued up [and] wait for the main thread to free up," writes a Microsoft engineer, pointing to a Microsoft Edge page on GitHub that explains how Microsoft thinks a browser should handle mouse events.
"We observe on average scrollbar drags have [over double the] latency in Chromium as compared to EdgeHTML today, worse on particularly busy sites. We attribute this gap primarily to EdgeHTML's feature for off-thread scrollbar drags. By avoiding the main thread in Chromium as well, we believe we can bring the performance of scrollbar drags more in line with what we observe in EdgeHTML."
SEE: How to build a successful developer career (free PDF)
Microsoft has also filed an issue on Chromium's bug-report site, including a file that shows how Chromium handles scrollbar mouse controls. Microsoft notes that the browser currently handles scrolling in the main thread and that to avoid the janky scrolling experience, the mouse event needs to happen elsewhere.
Microsoft's proposal would mean that when the main thread is busy, users can continue to scroll using scrollbars.
A Chromium developer politely told Microsoft the issue that was reported is not a bug but a "feature request". Nonetheless, the Chromium developer agreed to pass it on for closer inspection.
"Thanks for filing the issue," the Chromium developer replied. "As the issue seems to be a Feature request, hence marking it as Untriaged and requesting someone from respective team to look into it."
Microsoft says it has already kicked off discussions with a Chromium developer about the feature.
Previous and related coverage
Microsoft still has yet to release to external developers a first preview of its coming Chromium-based Edge browser. But it may be getting closer to its debut, if leaked screen shots of it are any indication.
Internet Explorer is a 'compatibility solution' and should only be used selectively, warns Microsoft exec.
Enterprise customers running Windows Server 2012 have one year to change from IE10 to IE11.
Microsoft's Chromium-based Edge browser could close the extension gap.
Microsoft's move probably won't help Edge and it's also bad for the open web, say Mozilla, Vivaldi.
Microsoft is going to remake its Edge desktop browser by using Chromium components and by bringing it to Windows 7, 8.1 and macOS, in addition to Windows 10.
Microsoft's grand browser experiment flopped in the marketplace, so the company is turning to an unlikely successor: the open-source Chromium project. Can it succeed where EdgeHTML failed?
Safari could join Firefox, Chrome, and Edge support for Web Authentication.
The world of web renderers could be down a significant member should Microsoft can its EdgeHTML renderer.
Tab groups and a scrollable tabs bar are coming to Chrome. When? Yet unknown.
How to use Vivaldi Quick Commands TechRepublic
Why you should stop pointing and clicking your way around an interface and instead Vivaldi's new Quick Commands feature.
A more rigorous review process that includes more humans seeks to better scrutinize extensions that demand lots of power.