RFC: Firefox general.autoScroll to true
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.0 (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: firefox
Hey,
When you run firefox on windows, get on a big page and press the scroll wheel you get this [1].
When you press it on linux in firefox you get... nothing...
It looked like mozilla intended to make it on (true) by default [2] but could not find a later document of it.
The advantage of having this turned to true by default is to get the expected behavior compared to firefox for windows.
[1] http://
[2] http://
In Mozilla Bugzilla #216899, Wayne Davison (wayned) wrote : | #2 |
I have a different suggestion for when both flags are set: leave autoscroll
starting first, but allow the user to middle-click even inside the autoscroll
icon to paste the URL. This would allow the user to double-middle-click to go to
the clipboard URL, or to click, see the autoscroll icon, and click again
(without having to move outside the icon). Since a left-click inside the icon
already turns it off, I think we don't need middle-click inside the icon to do
the same thing IFF middlemouse.
For the original bug reporter: you will get your desired behavior by simply
turning off middlemouse.
In Mozilla Bugzilla #216899, Loonxtall (loonxtall) wrote : | #3 |
David's solution in comment #1 makes more sense to me. If middle-clicking inside
the icon activates Paste, this same bug report will come in. And AFAIK, there's
no decent way to decide on the double-click delay on Linux.
If disabling middlemouse.
a pref for it ASAP. Nobody should need about:config.
In Mozilla Bugzilla #216899, Wayne Davison (wayned) wrote : | #4 |
I think the suggestion in comment #1 will be very confusing. People who know
about how the feature works won't remember what they have at the top of the
clipboard (so you'll always have to check or always have to select something
everytime you want to autoscroll). People who don't know how the feature works
will file bug reports saying that autoscroll only starts up some of the time
(and I doubt if many people would figure out why on their own).
If you want less confusion for newbies, I'd suggest setting only one of the
options by default and adding a pref that lets the user choose if they want
autoscroll, paste, or both. It would thus only be the people who explicitly
select "both" that would have to learn that you can only turn off autoscroll
with a left click (since a middle click after starting autoscroll would paste).
Finally, your comment on the double-click delay only becomes relevant if someone
decides to differentiate a double-middle-click from a middle-click inside the
icon after a delay (in my suggestion both did the same thing: paste).
In Mozilla Bugzilla #216899, Loonxtall (loonxtall) wrote : | #5 |
Wayne: I understand what you mean now. Sounds good, with the exception that
left-clicks to stop autoscroll conflicts with left-clicks on links. Users
shouldn't have to care where the pointer is (on the document at least;
preferably within the whole window) to stop autoscroll.
I think autoscroll-only should be default. It seems completely unintuitive that
middle-clicking the read-only document text should be "go to URL in X
selection". Can MMB on the address bar's favicon or tab be "replace URL", and
clicking elsewhere in the address bar keep the current paste behavior?
In Mozilla Bugzilla #216899, Davidpjames (davidpjames) wrote : | #6 |
Chad,
Links are treated differently by all forms of clicking... that's just the way it
is. You can't activate autoscroll (or LoadURL) by middle-clicking on a link
since that will open the link in a new tab.
ContentLoadURL has a long history in the *NIX world - the early versions of
Netscape had this and so does every other *NIX browser in existence; it's simply
a logical extension of the MM paste function. It's no more unintuitive than
autoscroll if you think about it - the first time autoscroll appeared I was
really pissed because this funny icon appeared and the page started bobbing
around apparently at random; at the time I didn't even know what autoscroll was
or that it even existed. The *REAL* issue is how to inform new users of both of
these great features in a non-annoying (and non-conflicting) way.
In Mozilla Bugzilla #216899, Daihardm3-yahoo (daihardm3-yahoo) wrote : | #7 |
If one of the two options needs to be disabled by default as a workaround, I
strongly believe that contentLoadURL must be left ON. As David eloquently
explained, middle-clicking to paste the content of the clipboard is the default
behaviour of UNIX/Linux. I don't see any reason autoscroll should take
precedence over it.
In Mozilla Bugzilla #216899, Jmd (jmd) wrote : | #8 |
Finally found this bug. Could someone please inform me as to how to disable this
newfangled scrollthingamabob, so my good old paste function works once again?
"Find" in about:config didn't turn up anything on "autoscroll".
(I highly advise this bug be set to block the next release, and one method
simply be disabled on UNIX for the time being, probably the autoscroll since
UNIX users expect middle click to paste.)
In Mozilla Bugzilla #216899, Wayne Davison (wayned) wrote : | #9 |
Jeremy: my version of firebird has "general.
to disable. The alternative is to middle-click, move the mouse out of the
circle, and middle-click again to get to the paste functionality you're missing.
In Mozilla Bugzilla #216899, Jmd (jmd) wrote : | #10 |
Was autoscroll disabled for the 0.7 release, or are we torturing users with
click overloads?
In Mozilla Bugzilla #216899, Ari Pollak (aripollak) wrote : | #11 |
*** Bug 222816 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Ari Pollak (aripollak) wrote : | #12 |
*** Bug 218686 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Jruderman (jruderman) wrote : | #13 |
Yesterday, bryner checked in a change to make autoscroll default to off on
Linux. He checked it into both the trunk and branch.
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #15 |
fixed, branch and trunk
In Mozilla Bugzilla #216899, Rparenton (rparenton) wrote : | #16 |
Mike, this isn't fixed, Brian Ryner just disabled autoscroll by default on
Linux. If you re-enable autoscroll on Linux, the problem persists. Jesse was
simply pointing out what Brian Ryner had checked in, as he could have resolved
this bug himself.
In Mozilla Bugzilla #216899, Davidpjames (davidpjames) wrote : | #17 |
Yeah, Mike, the problem still exists. It just doesn't exist by default anymore.
Reopening
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #18 |
using that logic, this bug exists on Windows too, since someone could turn
contentLoadURL on there...
In Mozilla Bugzilla #216899, Rparenton (rparenton) wrote : | #19 |
Mike, is contentLoadURL a function that is dependant on X? For some reason I
remember it having something to do with being X specific. See comment #1.
In Mozilla Bugzilla #216899, Rparenton (rparenton) wrote : | #20 |
Argh. Forgot to mention that if it is X specific then it is Linux/Unix
specific. Sorry for the bugspam.
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #21 |
*** Bug 232244 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Bugzilla-babylonsounds (bugzilla-babylonsounds) wrote : | #22 |
*** Bug 231161 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #23 |
*** Bug 233427 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Bugzilla-spray (bugzilla-spray) wrote : | #24 |
*** Bug 235907 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, max (maxozilla) wrote : | #25 |
If autoscroll is enabled, middle-click pasting should be disabled. To be honest,
middle-click pasting is probably the most ridiculous enabled "feature" X has.
I've seen it drive countless people new to Linux mad. When I enable autoscroll,
I want middle-clicking to _do_ autoscroll, not search for what might be
something important in my clipboard into google.
In Mozilla Bugzilla #216899, Offerk (offerk) wrote : | #26 |
By default Firefox comes with autoscroll off, and the option to enable it is in
the Advanced preferences window- unlike middlemouse.
in the preferences but instead can be found by typing "about:config" in the URL
bar. The solution to this bug is I think therefore simple- change the location
of the middlemouse.
preferences window, and make sure that middlemouse.
are mutually exclusive selections (radio buttons). This will highlight the
problem(?) to the newbie user (me :-) and allow everyone to choose whichever
behaviour suits them.
You might put an advanced option in the about:config options to enable both
behaviours at the same time as some of the previous comments suggested, but
personally I feel these really are mutually exclusive options which should not
be able to work together.
In Mozilla Bugzilla #216899, Osaier-hotmail (osaier-hotmail) wrote : | #27 |
(In reply to comment #26)
> By default Firefox comes with autoscroll off
I'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040617
Firefox/0.9.0+, which (as well as v0.9) came with Autoscrolling ON and Use
Smooth Scrolling OFF.
In Mozilla Bugzilla #216899, Kidgenius2002 (kidgenius2002) wrote : | #28 |
Well, the suggestion Offer Kaye was a good one. When I set the value of
"middlemouse.
problem of those missed middle-clicks. Example, if I tried to middle-click a
link, and I happend to not be on the link, the page would load to some *random*
page. I say random, because I haven't quite figured out what page it is loading.
Some pages are pages I've recently visited, while others are pages I've never
visited. A missed middle-click shouldn't cause the problem I saw. The windows
version treats the middle-click autoscroll properly, whereas the linux version
does not.
In Mozilla Bugzilla #216899, Bugs-bengoodger (bugs-bengoodger) wrote : | #29 |
->P4, which means this is likely cut. Succinctly explain the remaining problem,
contribute a patch, and we may reconsider.
In Mozilla Bugzilla #216899, Chofmann (chofmann) wrote : | #30 |
need to minus at this point. if a patch appears in the next couple of weeks
renominate. otherwise this will be a good addition for the next release
In Mozilla Bugzilla #216899, Philringnalda (philringnalda) wrote : | #31 |
*** Bug 266517 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, dogshu (dogshu) wrote : | #32 |
I just want to add my support for the idea that autoscrolling and
middlemouse.
autoscrolling is enabled should always result in autoscrolling, instead of the
crap shoot behaviour Firefox currently has.
The first part of suggestion #5 of bug #258751 is a good idea for how to solve
this.... a radio button in the preferences menu to allow you to change the
behaviour of the middle mouse button. This will also help to make it clear
exactly what is and how to use the "autoscrolling" option. Since the
preferences menu does not say exactly what autoscrolling is, people may enable
it without realizing it will change the behaviour of the middle mouse button.
By the way, I've also filed a bug report related to this on Gentoo Bugzilla:
http://
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #33 |
not going to block on this, will take patch if a properly implemented one appears
In Mozilla Bugzilla #216899, Peterph-bugzilla (peterph-bugzilla) wrote : | #34 |
What about a preference for setting different actions for middle buton with
modifiers. Like middle = X11 paste, Ctrl+middle = autoscroll/
(see bug #305540)
In Mozilla Bugzilla #216899, Elmar-ludwig (elmar-ludwig) wrote : | #35 |
*** Bug 316854 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Elmar-ludwig (elmar-ludwig) wrote : | #36 |
*** Bug 263036 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #37 |
Created an attachment (id=224002)
Make autoscroll override contentLoadURL
This very simple patch (for Firefox) will make autoscrolling override contentLoadURL if both are enabled. (This is not the default pref configuration on any platform, so this only affects users who have changed their prefs.) There are several reasons why I think doing the override this way rather than the opposite is preferable; ask if you'd like to hear them.
This makes no changes to the preferences window. I don't think there's additional clarity to be had from adding radio buttons to the prefs UI for this.
If this behavior is desirable, then in theory, collapsing the two existing prefs into one (integer?) pref controlling "middle mouse behavior" might better parallel the browser functionality. I don't see a big reason to do that right now, either, especially since it would be a migration obstacle for users who've manually twiddled these prefs.
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #38 |
Created an attachment (id=224006)
Don't include crap from another bug
Oops. Try a version of the patch without a bunch of stuff from another bug in it. Thanks to ispiked for the catch.
In Mozilla Bugzilla #216899, Mike Connor (mconnor) wrote : | #39 |
(From update of attachment 224006)
r+a=me, patches in browser don't need SR if they have review from an owner/peer.
In Mozilla Bugzilla #216899, Brettw-gmail (brettw-gmail) wrote : | #40 |
Fixed on trunk and 1.8 branch.
In Mozilla Bugzilla #216899, Ria-klaassen (ria-klaassen) wrote : | #41 |
Does this error belong to this bug:
Error: gPrefService.
Source File: chrome:
Line: 1056
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #42 |
No, I don't think it does. My patch doesn't touch anything like that.
In Mozilla Bugzilla #216899, Onemen-one (onemen-one) wrote : | #43 |
The fix for bug 216899 make autoscrolling override contentLoadURL if both are enabled.
why autoscrolling need to override contentLoadURL if user click on tab or tabbar ?
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #44 |
(In reply to comment #43)
> why autoscrolling need to override contentLoadURL if user click on tab or
> tabbar ?
In my builds at least, middle-clicking a tab closes it. That leaves middle-clicking in the empty part of the tab strip. It's not clear what this is supposed to mean. Having autoScroll basically just override contentLoadURL entirely seems clearer than having it override it "except if you click in the empty part of the tab strip". Plus the patch is simpler.
In Mozilla Bugzilla #216899, Onemen-one (onemen-one) wrote : | #45 |
(In reply to comment #44)
> Having autoScroll basically just override contentLoadURL
> entirely seems clearer than having it override it "except if you click in the
> empty part of the tab strip".
But as it now users can't use both middlemouse.
i also think that if user want to use middlemouse.
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #46 |
(In reply to comment #45)
> But as it now users can't use both middlemouse.
> middlemouse.
Yes... because using both makes very little sense, as I said above. That's basically what this entire bug was about.
> maybe its time to add the contentLoadURL to the
> main context menu or find another way to activate this option.
Why? This isn't the sort of behavior any normal user will want to toggle. It's very confusing to people who aren't used to it, which is why we default it off except on Linux, where it's more of a platform convention.
And how does this follow from contentLoadURL being overridden by autoScroll, anyway?
> i also think that if user want to use middlemouse.
> middlemouse on tab need to use this option instead of then close the tab.
If you mean in the case where autoScroll is false, then maybe, but I'd bet more of our Linux users want the tab closing behavior than the contentLoadURL behavior when clicking on a tab. You can file a bug on it, but it seems very iffy. If my content area and my URL bar both respond to middle-clicks this way already, what additional utility am I gaining from removing the "close tab" behavior in the tab strip?
If you mean in the case where autoScroll is true, then no.
In Mozilla Bugzilla #216899, Onemen-one (onemen-one) wrote : | #47 |
what is your suggestion for convenient replacement to call middleMousePaste() if user enable middlemouse.
In Mozilla Bugzilla #216899, Pkasting (pkasting) wrote : | #48 |
(In reply to comment #47)
> what is your suggestion for convenient replacement to call middleMousePaste()
> if user enable middlemouse.
I don't understand the question. If you need to discuss/debate functionality in general, please bring this topic up on an appropriate newsgroup; bugzilla isn't really the place.
In Mozilla Bugzilla #216899, Bugzilla-snugmail (bugzilla-snugmail) wrote : | #49 |
this "bug" has been a great feature for me; it's how I managed to use both autoscroll and middlemouse.
In Mozilla Bugzilla #216899, Blue-cube (blue-cube) wrote : | #50 |
(In reply to comment #49)
> this "bug" has been a great feature for me; it's how I managed to use both
> autoscroll and middlemouse.
> same time
>
i agree with that - would it be possible to have a pref for closing / loading x sel when a tab is clicked?
In Mozilla Bugzilla #216899, Adam Guthrie (ispiked) wrote : | #51 |
*** Bug 310019 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Vseerror (vseerror) wrote : | #52 |
*** Bug 302349 has been marked as a duplicate of this bug. ***
In Mozilla Bugzilla #216899, Elmar-ludwig (elmar-ludwig) wrote : | #53 |
(In reply to comment #50)
> i agree with that - would it be possible to have a pref for closing / loading
> x sel when a tab is clicked?
I guess bug 291768 is what you are looking for (without the need for a pref).
Verified FIXED on Minefield/3.0a3pre ID:2007022304 [cairo]
markg85 (markg85) wrote : | #54 |
Binary package hint: firefox
Hey,
When you run firefox on windows, get on a big page and press the scroll wheel you get this [1].
When you press it on linux in firefox you get... nothing...
It looked like mozilla intended to make it on (true) by default [2] but could not find a later document of it.
The advantage of having this turned to true by default is to get the expected behavior compared to firefox for windows.
[1] http://
[2] http://
markg85 (markg85) wrote : | #55 |
Sorry, this should be filled against firefox 3.0.*
But the same is true for firefox 2.
max (maxozilla) wrote : | #56 |
I agree with this, general.autoscroll should be set to true by default.
John Vivirito (gnomefreak) wrote : | #57 |
Marked incomplete and wishllist. This will not be added to firefox 2. have you also filed this upstream? to see if they will set it?
Changed in firefox: | |
importance: | Undecided → Wishlist |
status: | New → Incomplete |
markg85 (markg85) wrote : | #58 |
@comment #3
No need to fill it because the link i gave [1] has 3 links on it to the issue [2] [3] [4]
And there is a whole lot more if you search for it.
Also in unix it "seems" to be the default action to paste text when you press the scrollwheel.
I don't know who or how that was ever made up but i don't think that "standard" should be followed in firefox.
And one of ubuntu's goals is to have a seamless transition between Windows and Linux right? then this autoscroll should be set to true since that's the default for windows. (described here [5])
The idea is simple. A windows user that starts using Linux (ubuntu distribution) is gonna expect to have autoscroll when they press the mousewheel.
[1] http://
[2] https:/
[3] https:/
[4] https:/
[5] http://
John Vivirito (gnomefreak) wrote : | #59 |
Upstream stated in all cases that this was fixed in 3.0 and i am unable to reproduce in 3.0.7 or higher.
If this is still a problem please file this bug upstream at: https:/
Changed in firefox-3.0 (Ubuntu): | |
status: | Incomplete → Invalid |
I think what we've got here is a conflict between middlemouse. contentLoadURL and
Autoscroll which results from an inadequately thought-out implementation of
autoscroll.
contentLoadURL works as follows (as far as I can tell): it parses the contents www.mozdev. org or mozilla. org or canada.info, it loads that page. If the contents of the
of the X buffer (similar in concept to a clipboard, but not quite the same
thing). If it finds something that looks like a url, eg http://
bugzilla.
buffer is something other than a URL, eg "Mozilla Firebird", it invokes the
Google "I'm Feeling Lucky" search and takes you to that page.
I have autoscroll turned off, since I use contentLoadURL quite a bit, but I
would also like to get autoscroll to work.
Here's what I think we should do if both general.autoScroll and contentLoadURL are both set to true:
middlemouse.
We parse the X buffer as I explained above; if the contents look like a url we
load it. If not, instead of going off and performing a nearly-useless "I'm
Feeling Lucky" search, we engage autoscroll. A second middle-click (outside the
autoscroll icon) should then disengage autoscroll, unless you highlight a url in
the interim, in which case it ought to load that and leave autoscroll engaged.
This solution should make just about everyone happy. If (as is default) you've
got both set to "true" and you want to engage autoscroll, just ensure that
something other than a url is present in the buffer (eg, highlight "are") and
autoscroll will engage.
Confirming, taking QA and altering summary.