Open Bug 1449275 Opened 7 years ago Updated 6 months ago

Scrollbar not responding to middle mouse button click

Categories

(Core :: Widget: Gtk, defect, P5)

Unspecified
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jeff, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180316021353 Steps to reproduce: Firefox Quantum 59.0.1 Xubuntu 17.10 Something changed in a very recent update to Firefox. Clicking B2 in the scrollbar gutter should position the scrollbar to that location. This has worked for ages. It is being completely ignored in the current version of Firefox. Same failure under Windows 10. Actual results: B2 click in scrollbar gutter is ignored. Expected results: Content and scrollbar should be positioned where B2 click indicates. Note that this issue was raised and resolved 18 years ago in bug #24117 https://bugzilla.mozilla.org/show_bug.cgi?id=24117
Here is something interesting. I just went to file a bookmark for this link. I have the bookmarks sidebar menu open and the scrollbar there DOES respond to B2 clicks! See what is different between the two scrollbars!
Summary: Scrollbar not responding to B2 click → Scrollbar not responding to middle mouse button click
OS: Unspecified → Linux
The OS is Xubuntu 17.10
(In reply to Jeffery Small from comment #2) > The OS is Xubuntu 17.10 Also tested on Windows 10.
(In reply to Jeffery Small from comment #3) > (In reply to Jeffery Small from comment #2) > > The OS is Xubuntu 17.10 > > Also tested on Windows 10. For Windows, the feature is disabled by default. So, to enable it, you should set middleumouse.scrollbarPosition to true in about:config.
typo s/middleumouse.scrollbarPosition/middlemouse.scrollbarPosition/
Well, that fixed the problem on Windows, apparently for all pages. Thanks. Of course, this is set to true already in Linux, so there is some other problem. I'm noticing other places where the scrollbar does work. For example, it works on the Add-on Manager Extensions & Get Add-ons pages as well as other Add-on pages such as https://addons.mozilla.org/en-US/firefox/ page and on the about:config page. However, it will not work on regular content pages, whether internal or external (Google, Facebook, etc.)
Probably, this is duplication of Bug 1197590 Workaround, see Bug 1197590 Comment 4, (and it need to restart Linux)
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Version: 59 Branch → Trunk
(In reply to Alice0775 White from comment #7) > Probably, this is duplication of Bug 1197590 > > Workaround, see Bug 1197590 Comment 4, (and it need to restart Linux) Thanks for the suggestion. I was part of that discussion and I have the suggested workaround which is: 1: Create a ~/.config/gtk-3.0/settings file 2: Add the lines: [Settings] gtk-primary-button-warps-slider = false This is still in place, but the bug persists. It only started with the last point releases of version 59.0.1. This problem seems to be something different as it only affects certain scrollbars, not all of them. For example, it doesn't work with the scrollbar on this bug report page under Xubuntu, but it does now work for this page under Windows 10 (running in a VM under my Xubuntu system!) with the about:config suggestion above.
Any progress on this? It's very annoying.
Severity: normal → S3

This bug suddenly reached me in Firefox 124.0.1 on KDE Neon (kind of like Kubuntu). The scrollbars worked on middle click before. Unfortunately I don't know which of the updates exactly caused the breakage.

Well, this is working for me now on current releases of Firefox (e.g. 124.0.1). This bug is so old that I have no memory of how/when things started working again. I do think it is an interaction problem with GTK. Looking at my note above I see a typo. or else something changed over the years. The file should have a .ini extension. Try this:

1: Create a ~/.config/gtk-3.0/settings.ini file

2: Add the lines:
[Settings]
gtk-primary-button-warps-slider = false

Now, I'm not sure if this is what fixed the problem for me. I'm very puzzled because doing this did not fix the identical problem in GIMP and GTK is the GIMP Took Kit, so if it was going to work anywhere, I'd think that would be the place to start.

BTW, I'm now on Xubuntu 22.04.4.

rybak-a-v, try this and please report back if this solved the problem for you.

You need to log in before you can comment on or make changes to this bug.