[Pkg-chromium-maint] Bug#807531: chromium: [Regression] scrollbars are snapping back moving mouse away from scroll bar

David Fries David at Fries.net
Thu Dec 10 04:42:12 UTC 2015

Package: chromium
Version: 46.0.2490.71-1~deb8u1unix
Severity: normal
Tags: upstream

Dear Maintainer,

Upstream chromium broke the scroll bar behavior, move a few pixels
away from the scroll bar and it jumps back someplace else, this is so
annoying I had to make a patch to continue to use the browser.

Reported bug upstream, but they seem to be hostile/don't care about
how broken this leaves chromium or how it doesn't match how any other
X11 platform scroll bars I've ever used work.  Suggestions?  Seems
like something that should be at least a setting, or in the theme, or
something so Google/chrome doesn't drive Unix users away.


>From 1c2da7540a6840234ed10b99ca04581c8ff9389b Mon Sep 17 00:00:00 2001
From: David Fries <David at Fries.net>
Date: Sat, 5 Dec 2015 15:15:15 -0600
Subject: [PATCH 1/2] Conform to platform expectations, no snapback on Linux

Besides it's ultra annoying.
 content/renderer/webscrollbarbehavior_impl_gtkoraura.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/content/renderer/webscrollbarbehavior_impl_gtkoraura.cc b/content/renderer/webscrollbarbehavior_impl_gtkoraura.cc
index 8dfa998..179d17f 100644
--- a/content/renderer/webscrollbarbehavior_impl_gtkoraura.cc
+++ b/content/renderer/webscrollbarbehavior_impl_gtkoraura.cc
@@ -25,6 +25,15 @@ bool WebScrollbarBehaviorImpl::shouldSnapBackToDragOrigin(
     const blink::WebPoint& eventPoint,
     const blink::WebRect& scrollbarRect,
     bool isHorizontal) {
+// no snapback at all, this is the expected behavior for everything, otherwise
+// you can't use your mouse to point out things in the center of the
+// document while scrolling, use escape to snap back (apparently someone
+// disabled escape)
+#if defined(OS_LINUX)
+  return false;
   // Constants used to figure the drag rect outside which we should snap the
   // scrollbar thumb back to its origin. These calculations are based on
   // observing the behavior of the MSVC8 main window scrollbar + some

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-rc7+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chromium depends on:
ii  libasound2           1.0.28-1
ii  libatk1.0-0          2.14.0-1
ii  libc6                2.19-18+deb8u1
ii  libcairo2            1.14.0-2.1
ii  libcups2             1.7.5-11+deb8u1
ii  libdbus-1-3          1.8.20-0+deb8u1
ii  libexpat1            2.1.0-6+deb8u1
ii  libfontconfig1       2.11.0-6.3
ii  libfreetype6         2.5.2-3+deb8u1
ii  libgcc1              1:4.9.2-10
ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u3
ii  libglib2.0-0         2.42.1-1
ii  libgnome-keyring0    3.12.0-1+b1
ii  libgtk2.0-0          2.24.25-3
ii  libjpeg8             8d-1+deb7u1
ii  libnspr4             2:4.10.7-1
ii  libnspr4-0d          2:4.10.7-1
ii  libnss3              2:3.17.2-1.1+deb8u2
ii  libnss3-1d           2:3.17.2-1.1+deb8u2
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libpci3              1:3.2.1-3
ii  libspeechd2          0.8-7
ii  libsrtp0             1.4.5~20130609~dfsg-1.1
ii  libstdc++6           4.9.2-10
ii  libx11-6             2:1.6.2-3
ii  libxcomposite1       1:0.4.4-1
ii  libxcursor1          1:1.1.14-1+b1
ii  libxdamage1          1:1.1.4-2+b1
ii  libxext6             2:1.3.3-1
ii  libxfixes3           1:5.0.1-2+b2
ii  libxi6               2:1.7.4-1+b2
ii  libxml2              2.9.1+dfsg1-5
ii  libxrandr2           2:1.4.2-1+b1
ii  libxrender1          1:0.9.8-1+b1
ii  libxslt1.1           1.1.28-2+b2
ii  libxss1              1:1.2.2-1
ii  libxtst6             2:1.2.2-1+b1
ii  x11-utils            7.7+2
ii  xdg-utils            1.1.0~rc1+git20111210-7.4

chromium recommends no packages.

Versions of packages chromium suggests:
ii  chromium-inspector  46.0.2490.71-1~deb8u1unix
pn  chromium-l10n       <none>

-- no debconf information

More information about the Pkg-chromium-maint mailing list