mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.02k stars 827 forks source link

Allow disabling chrome smooth scrolling #388

Closed BotoX closed 7 years ago

BotoX commented 7 years ago

I confirm (by marking "x" in the [ ] below):


Summary The desktop client forces smooth scrolling and does not provide a way to disable it. For some reason I become very dizzy when an application uses smooth scrolling and have to quit using it, so this is indeed an issue for me and not a feature request.

Steps to reproduce My setup consists of:

Scroll in the desktop client.

Expected behavior A possibility to disable smooth scrolling.

Observed behavior No obvious possibility to disable smooth scrolling.

Possible fixes Offer a way to visit chrome://flags inside the desktop app or provide an option in settings to disable smooth scrolling.

I'd also be very happy if I could disable it through the developer tools, config file, eg. something that is not patching and recompiling.

yuya-oc commented 7 years ago

Possibly Chromium's command line switches are applicable. http://peter.sh/experiments/chromium-command-line-switches/ Does --disable-smooth-scrolling have any effects?

BotoX commented 7 years ago

Yes indeed, thank you very much. This issue can be closed if you are okay with this solution (I am).

jasonblais commented 7 years ago

Thanks @BotoX :)

@yuya-oc The command line switches seem pretty comprehensive, wondering if we should add a reference somewhere in our docs?

yuya-oc commented 7 years ago

@jasonblais Yeah, it would make sense.

jasonblais commented 7 years ago

I was reading through the list and I ended up being a bit worried about referencing it in our docs before we've had a chance to test if they work fine with the app. I worry there might be a command that causes issues that we cannot troubleshoot.

So I think for now it's okay to reference them but I won't add them to our docs yet,

jasonblais commented 7 years ago

Closing the issue as resolved