Firefox-UI-Fix icon indicating copy to clipboard operation
Firefox-UI-Fix copied to clipboard

Disable smooth scrolling feature

Open jamesWalker55 opened this issue 3 years ago • 11 comments

Is your feature request related to a problem? I have my own scroll settings set in about:config, after installing the theme my scroll settings are overridden with the ones defined in the theme. My own scroll settings are gone and I need to set them again every time I open the browser.

The solution I'd like Remove or allow disabling the included smooth scrolling settings, I don't think a UI fix should affect the behaviour of the browser or override user settings.

jamesWalker55 avatar Sep 22 '21 00:09 jamesWalker55

I don't think a UI fix should affect the behaviour of the browser or override user settings.

I feel the same.

dokax avatar Sep 22 '21 02:09 dokax

Yes I agree as well. While I'm sure some people like it, I don't. The smoothscroll stuff should be a different project.

I went into about:config and reverted all the changes it made and went back to the settings I already had. Then I deleted the smoothscroll section in user.js so it won't come back next time I open Firefox. Still love this mod but this was a bit annoying.

MarmotMentality avatar Sep 22 '21 23:09 MarmotMentality

Well. It seems to be a feature that can be disliked.

However, scrolling itself can still be targeted as a UX improvement target. There's no reason to give up on Better default. The problem is that the current scrolling settings can be annoying.

Has anyone tried the following settings? https://github.com/black7375/Firefox-UI-Fix/wiki/Tips#only-sharpen-scrolling It's a small change, but it improves responsiveness.

black7375 avatar Sep 23 '21 00:09 black7375

I agree that scrolling can be seen as a UX target, but the issue is that the theme overrides any custom user settings related to scrolling. If a user defined some scroll settings in about:config, those settings will be lost after installing the theme.

jamesWalker55 avatar Sep 23 '21 08:09 jamesWalker55

Unfortunately, I copied this repo's user.js blindly into my firefox profile, which caused smooth scrolling to be forced disabled somehow. "general.smoothScroll" was of course set to false, and user.js didn't change it, yet smooth scrolling happened when using the keyboard keys. Mouse scrolling was unaffected.

Only searching for "smooth" in about:config and manually reverting all listed settings (and then setting smoothScroll to false again) helped. It appears at least one of the settings changed by user.js ignores the global smoothScroll setting if set to a non-default. (As I said, "general.smoothScroll" was always set to false, except when I temporarily reverted it to its default along with other settings.)

I REALLY did not appreciate this and it took me some time to figure out. Next time, I will be more careful, and copy userChrome.css only. Actually, I hope there will be no next time, and I will have found a replacement for this horrible browser, because it's unacceptable that I have to spend an hour or longer to fix their worthless GUI changes every time. (I had to make some other changes, like moving the tab bar below the address bar. This project provides some CSS fragments to do it, I'm not affiliated with it: https://github.com/Aris-t2/CustomCSSforFx )

Also, could it be that the CSS changes make the main menu bar show icons besides the text? It's what you want for submenus and popup menus, but not the main menu. I'm not sure whether this repo's CSS does this, or if something else caused it.

plomari avatar Oct 03 '21 14:10 plomari

Yes, I feel the same too. Smoothscroll stuff should be a different project

kanlukasz avatar Oct 11 '21 05:10 kanlukasz

First of all, smooth scrolling will be removed in v4.5.

However, scrolling itself is a known shortcoming of Firefox and is something that needs improvement. If you have an appropriate profile value, please share.

black7375 avatar Oct 11 '21 07:10 black7375

Mind that removing this from user.js won't revert it to default value.

kr4ssi avatar Oct 12 '21 07:10 kr4ssi

So is it better to specify the default value in user.js?

black7375 avatar Oct 13 '21 01:10 black7375

I have the same issue. After changing the scroll settings to what I prefer, if I close and open the browser, it gets reset to the Lepton smooth scrolling settings.

edit: I just deleted the smooth scrolling settings on both user.js files and it kept my smooth scrolling settings/preferences

Name-Enter avatar Oct 17 '21 18:10 Name-Enter

If you remove a value from user.js, it does not get reset in prefs.js. However, if you keep a value in user.js and restart the browser, the values from user.js are automatically applied. So one would have to manually reset the config to default in about:config after removing the value from user.js. Ideally Firefox-UI-Fix should change as little preferences as possible for this exact reason.

remyabel2 avatar Feb 10 '22 11:02 remyabel2