Closed Bug 1675155 Opened 5 years ago Closed 7 months ago

Support autoscroll only while middle mouse is held down

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1923233

People

(Reporter: veganaiZe-bot, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

I middle click to autoscroll a web page (since my mousewheel is broken).

Actual results:

Sometimes the middle click acts like toggle, instead of a momentary-contact switch, and switches autoscroll on even though I only want to scroll just a little bit. When this happens, and I swing the mouse cursor out of the way, it causes the page to overscroll way too far (very annoying -- seems to happen a lot on javascript intense pages, like social media feeds, possibly because control isn't returning to the ui thread quick enough)

Expected results:

It would be nice if there was an (about:config) feature to make auto-scroll turn off whenever the middle mouse button is released instead of allowing it to sometimes toggle the state on or off.

Component: Untriaged → XUL Widgets
Product: Firefox → Toolkit

I'm encountering the same bug.

I can't predict whether middle-clicking on a link will open a new tab or will enable autoscroll this time. If I middle click, and then move to the tab list, I can't react fast enough to stop the autoscroll, and the fast animation makes me sick.

confirming based on multiple reports

Status: UNCONFIRMED → NEW
Ever confirmed: true
Type: enhancement → defect

veganaiZe: Is this still an issue for you? I've been unable to reproduce this particular issue, but perhaps it's because I haven't tested on a javascript intensive page. If I click and hold the middle mouse button, the autoscroll acts as a momentary switch. As soon as I let go of the middle mouse button, the autoscrolling stops. If I click the middle mouse button, the autoscroll is enabled as a toggle which then requires another middle mouse click to disable the autoscroll.

MarjaE: Would disabling autoscroll entirely be helpful for you? You can do this by unchecking the "Use autoscrolling" checkbox in Settings (about:preferences). Would you also want a similar option to do what veganaiZe mentioned in the original comment?

I can't predict whether middle-clicking on a link will open a new tab or will enable autoscroll this time

Can you share any websites where you've experienced this issue? I haven't been able to reproduce this particular behavior and so I'd like to figure out what steps I'm missing.

Flags: needinfo?(veganaiZe-bot)
Flags: needinfo?(erwinm)

MarjaE: Would disabling autoscroll entirely be helpful for you? You can do this by unchecking the "Use autoscrolling" checkbox in Settings (about:preferences). Would you also want a similar option to do what veganaiZe mentioned in the original comment?

No, and yes, respectively.

I'd prefer to page down, but it doesn't always work, and that's often a website issue. I'd also prefer plain middle-click-and-drag scrolling, without lock and without acceleration, but that's a systemwide issue. I now have a touchpad, and I set wide scrollbars, but they still require a lot of movement and careful aiming. I can't use wheels, balls, etc. without injury.

Flags: needinfo?(erwinm)

Can you share any websites where you've experienced this issue? I haven't been able to reproduce this particular behavior and so I'd like to figure out what steps I'm missing.

All websites. Here's one: https://bugzilla.mozilla.org/show_bug.cgi?id=1675155 It's hard to avoid.

(In reply to Tim Giles [:tgiles] from comment #3)

veganaiZe: Is this still an issue for you? I've been unable to reproduce this particular issue ...

Seems to be working okay in Firefox 115.30 ESR. And I finally replaced my mouse. =)

Flags: needinfo?(veganaiZe-bot)

Thanks for the info. Seems like we'd need to add support for only enabling autoscroll in the "middle mouse held down" mode. And likely another bug after that to add it to prefs. Going to move this to the autoscroll component

Component: UI Widgets → Panning and Zooming
Product: Toolkit → Core
Summary: Middle click locks autoscroll → Support autoscroll only while middle mouse is held down
Version: Firefox 82 → unspecified

Okay, so now it sounds to me this bug can be a duplicate of bug 1923233.

Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 1923233
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.