Middle button scroll
-
@sedative29rus said in Middle button scroll:
I was just surfing the Internet and somehow found this page.
Great find!
Let's scroll this page with style -
@sedative29rus said in Middle button scroll:
somehow found. this page
Well, tbh this only deepens the mystery. That article is new new new hot out of the oven [
Jul 19
]. It gives credit to https://askubuntu.com/a/4644/811896, but afaict that is only for the subsidiary script to disable MMB-paste, which i do NOT want [ie, i want my MMB-paste AND my shiny-new-lovely MMB-AutoScroll ]. In other words, we do not yet know the true source of this excellent new commandline switch! -
@guigirl said in Middle button scroll:
@sedative29rus said in Middle button scroll:
somehow found. this page
Well, tbh this only deepens the mystery. That article is new new new hot out of the oven [
Jul 19
]. It gives credit to https://askubuntu.com/a/4644/811896, but afaict that is only for the subsidiary script to disable MMB-paste, which i do NOT want [ie, i want my MMB-paste AND my shiny-new-lovely MMB-AutoScroll ]. In other words, we do not yet know the true source of this excellent new commandline switch!They mentioned this bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=1281028 -
@Stardust Oh well found!
Comment 7 by [email protected] on Mon, Jul 18, 2022, 5:06 AM GMT+10 (a day ago)
Okay after a bit of digging you can just enable it manually with this flag
--enable-blink-features=MiddleClickAutoscroll
Yes this works on all chrome versions (chrome/chromium stable/dev/beta) and electron too. It will just display a warning on chrome(ium) (and yeah I know you are not supposed to use this flag on production but it's the only solution for now)So all we have to do next is to post a question to that person, asking them where they found it. Easy!
Or... maybe instead simply stop now, accept the miracle, & happily mmb-autoscroll our days & nights away whilst sipping endless champagne...
-
@guigirl said in Middle button scroll:
So all we have to do next is to post a question to that person, asking them where they found it. Easy!
It was in the chromium code all this time...
Or... maybe instead simply stop now, accept the miracle, & happily mmb-autoscroll our days & nights away whilst sipping endless champagne...
I am just starting praying that this feature will be included in the Chromium
also ping V-team
-
@Stardust said in Middle button scroll:
in the chromium code all this time
See. SEE! This is why gargle is so evil. All this time, yet they never told us. What monsters!
-
@guigirl said in Middle button scroll:
@Stardust said in Middle button scroll:
in the chromium code all this time
See. SEE! This is why gargle is so evil. All this time, yet they never told us. What monsters!
But how do you think it was possible to use middle-click scrolling on Windows?
-
-
@Stardust said in Middle button scroll:
in the chromium code all this time
https://bugs.chromium.org/p/chromium/issues/detail?id=695163
Comment 4; Thu, Feb 23, 2017, 3:19 PM GMT+10
https://codereview.chromium.org/2705293009
Created:
3 years, 10 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago -
@guigirl said in Middle button scroll:
@Stardust said in Middle button scroll:
in the chromium code all this time
https://bugs.chromium.org/p/chromium/issues/detail?id=695163
Comment 4; Thu, Feb 23, 2017, 3:19 PM GMT+10
https://codereview.chromium.org/2705293009
Created:
3 years, 10 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago -
@Stardust said in Middle button scroll:
@guigirl said in Middle button scroll:
@Stardust said in Middle button scroll:
in the chromium code all this time
https://bugs.chromium.org/p/chromium/issues/detail?id=695163
Comment 4; Thu, Feb 23, 2017, 3:19 PM GMT+10
https://codereview.chromium.org/2705293009
Created:
3 years, 10 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago -
-
I am most happy to report that, as well as this switch working beautifully in my Arch KDE X11 session [which was active for all my earlier posts above], atm i am logged into my Arch KDE Wayland session, in which this switch continues to work perfectly [my V Snappie is herein running as a full-wayland app via my already-present other switch
--ozone-platform-hint=auto
].Happy happy!
-
Hello everyone. I'm the one who wrote the guide on Medium (and the comment on the chromium issue). The guide became a lot more popular than I anticipated and I'm trying to trace all the referrals to see where this was posted. This flag exists since 2013 and the code that disables the scrolling is here. Also people have been reporting that by compiling Chromium without that if statement, autoscrolling was working just fine on Linux. Basically all these where known but no one managed to put all the pieces together.
I'm happy this helped so many people -
Also I'm saying this again and again but the only way to possibly have an option for this in the future (and don't have to use flags) is to star this Chromium bug. If it stays with only 10-20 stars, no one from Chromium is going to even read it.
https://bugs.chromium.org/p/chromium/issues/detail?id=1281028
-
@1nikolas said in Middle button scroll:
no one from Chromium is going to even read it
Я знаю, что разработчики Vivaldi иногда вносят изменения в Chromium. Надо заставить их решить эту проблему
-
@1nikolas said in Middle button scroll:
This flag exists since 2013
Oh gaaaaaaaaaaaaaaaaaaaaaah, now that i know this, i feel pretty angry! All these years that i could have actually had native Linux chromium MMB-AS, except for this IMO dumb decision by the chromium devs to block it.
@1nikolas said in Middle button scroll:
I'm the one who wrote the guide on Medium (and the comment on the chromium issue)
Thank you for doing so !
@jon @Ruarí Is this viable for you to do, next time you build?
compiling Chromium without that if statement, autoscrolling was working just fine on Linux
-
@guigirl Actually it's much better to add an option for this because autoscroll conflicts with the X11 pasting feature (you can read more on my guide). That's why it's disabled in the first place.
I read a little bit about how Runtime Enabled Features work (which is what the flag enables) and it should be very easy for Chromium devs to convert this to a flag (chrome://flags), there is already the code for all this. That's why I ask you to just star the issue.
Also by adding this option, Electron apps (like Discord, Slack and many more) could also use this in the future.
If Vivaldi devs can add an option for this, that's fine. But enabling it by default could be problematic (they can maybe enable it only on Wayland?)
-
@1nikolas said in Middle button scroll:
autoscroll conflicts with the X11 pasting feature (you can read more on my guide).
Yes i know that some people say this, but i tested today in both X11 & Wayland, specifically using combinations of MMB-pasting & MMB-scrolling. I did not have a single problem, everything worked nicely for me. When doing the paste in a text field, yes it also triggers the scroll, but this is NOT any practical problem coz all you then do is cancel the scroll by immediately LMB-clicking. It's really simple. Tbh i just don't understand why some Linux people seem so prejudiced against this feature --- we can have our cake AND eat it, ie, MMB-pasting and MMB-scrolling.
-
@guigirl On some sites unfortunately it conflicts. Like Discord for example. It doesn't de-focus the message text field and it keeps pasting when you autoscroll. Also imgur says upload failed (cause it thinks you are trying to paste an image for upload)