Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work #56964

Closed
wyldphyre opened this issue Aug 22, 2018 · 58 comments
Closed

Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work #56964

wyldphyre opened this issue Aug 22, 2018 · 58 comments
Assignees
Labels
electron Issues and items related to Electron info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues

Comments

@wyldphyre
Copy link

Issue Type: Bug

I've been using VS Code since shortly after it became a thing, and I think this has been an issue the whole time. It really needs to be fixed.

Horizontal scroll doesn't work with the horizontal scroll wheel on my Logitech MX Master (and presumably other similarly equipped mice). Typically whenever I try this the horizontal scroll moves slightly and then it refuses to work again, no matter how much I use the horizontal scroll wheel.

VS Code version: Code 1.26.1 (493869e, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.54GB (3.29GB free)
Process Argv C:\Users\craigr\AppData\Local\Programs\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (27)
Extension Author (truncated) Version
markdown-toc Ala 1.5.6
Bookmarks ale 9.0.3
pascal ale 6.3.0
spellright ban 2.5.32
unique-lines bib 1.0.0
bracket-pair-colorizer Coe 1.0.59
markdown-table-prettify dar 2.0.0
dart-code Dar 2.17.1
vscode-markdownlint Dav 0.20.0
xml Dot 2.3.2
vscode-great-icons emm 2.1.41
innosetup idl 1.2.0
copy-markdown-as-html jer 1.1.0
prettify-json moh 0.0.3
python ms- 2018.7.1
csharp ms- 1.15.2
PowerShell ms- 1.8.3
wordcount ms- 0.1.0
preview-control-characters nes 0.0.1
vscode-icons rob 7.25.0
vscode-text-tables Rom 0.1.5
code-settings-sync Sha 3.0.0
vscode-fileutils sle 2.10.3
vscode-autohotkey sle 0.2.2
sort-lines Tyr 1.7.0
vscode-todo-highlight way 1.0.4
markdown-pdf yza 1.2.0
@vscodebot
Copy link

vscodebot bot commented Aug 22, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the editor label Aug 22, 2018
@wyldphyre
Copy link
Author

You've closed #38831 (which is essentially the same request as this one) as a duplicate of #13612, but #13612 doesn't seem to be related at all. It talks about laggy scrolling, not non-functional scrolling, and it doesn't mention horizontal scrolling at all.

@Knightly-Spartan
Copy link

Facing the same issue. Thank you for reopening it.

@bpasero
Copy link
Member

bpasero commented Aug 23, 2018

@wyldphyre @SanwariyaAmit any difference if you configure window.smoothScrollingWorkaround: true ?

@bpasero bpasero added info-needed Issue requires more information from poster and removed editor labels Aug 23, 2018
@Knightly-Spartan
Copy link

Knightly-Spartan commented Aug 23, 2018

@bpasero Yes I have tried that, doesn't helps at all.
I tried these two together as well.
"window.smoothScrollingWorkaround": true, "window.titleBarStyle": "native"

Two finger scrolling on touchpad works fine, but tilting the scroll wheel on mouse for horizontal scroll doesn't works.

@bpasero
Copy link
Member

bpasero commented Aug 23, 2018

@SanwariyaAmit @wyldphyre any luck with this VSCode Exploration build that is using a much newer Electron (and thereby Chrome) version? https://az764295.vo.msecnd.net/exploration/a5cda44f872b9b55122a108b99a170e1ed5fa66e/VSCode-win32-x64-1.27.0-exploration.zip

@wyldphyre
Copy link
Author

I have the latest User installation version of VS Code, and I just tried setting the smooth scrolling setting, as you suggested. It didn't help. The scrollbar scrolled slightly and then stopped, and then wouldn't respond again.

@wyldphyre
Copy link
Author

I tried the Exploration build and it's no better, with or without the smooth scrolling set. The horizontal scroll bar moves briefly, then stops, and then it won't respond to the scroll wheel again until the app is restarted.

Does it work for you?

@bpasero
Copy link
Member

bpasero commented Aug 23, 2018

I do not own a Logitech MX Master, so I cannot say.

@bpasero bpasero added upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues labels Aug 23, 2018
@bpasero bpasero changed the title Horizontal scrolling via scroll wheel doesn't work Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work Aug 23, 2018
@bpasero
Copy link
Member

bpasero commented Aug 23, 2018

@wyldphyre can you install Electron Fiddle (another application that is using Electron) and run it and see if you can scroll in the editors of that application?

@wyldphyre
Copy link
Author

I'm assuming it's not limited to my particular mouse. I just left work, but I'll test with Electron Fiddle tomorrow.

@Knightly-Spartan
Copy link

I use the Logitech M720 Triathlon. I tested out the Electron Fiddle and got the same results, there's a jerk (brief movement) on trying to scroll but then it stops responding.

@wyldphyre
Copy link
Author

My experience with Electron Fiddle was the same. The horizontal scrollbar moved briefly, once, and then no more.

Is VS Code known to work at all with horizontal scroll wheels? I've yet to hear of any confirmation that it works for someone.

@bpasero bpasero added the electron Issues and items related to Electron label Aug 24, 2018
@Knightly-Spartan
Copy link

This can be marked as a duplicate of #54024

@wolf99
Copy link

wolf99 commented Sep 18, 2018

#8919 also relates to this

@mdnpascual
Copy link

Also has MX Master. I've only seen it once or twice working. Most of the time the horizontal scroll just doesn't work

@Knightly-Spartan
Copy link

Still facing the issue on Windows Build 1809 with Logitech Options 6.92.275

Previous Details:
Screencast of the Bug: https://www.screencast.com/t/3ot5VFKTBSEt
I'm using the Logitech M720 Triathlon
There's a jerk (brief movement) on trying to scroll but then it stops responding completely.

More Details:
Horizontal Scrolling on mouse doesn't works in VS Code stable, insider and exploration builds.
Also doesn't works in Electron Fiddle suggested by @bpasero
Works fine on the Monaco editor page: https://microsoft.github.io/monaco-editor/
window.smoothScrollingWorkaround: true doesn't helps at all.
Minimizing and restoring window fixes it, until resized.

@IgorKrupenja
Copy link

IgorKrupenja commented Nov 23, 2018

Just a note: I cannot repro this with MX Master in VSCode 1.29.1 on Ubuntu 18.10, scrolling using horizontal wheel works fine.

Edit: booted into a Windows 10 (1809) partition on the same machine I have Ubuntu and can actually reproduce this problem. Also reproducible with another Electron app I tried (Trello) on Windows.

@wyldphyre
Copy link
Author

I can confirm that horizontal scrolling now seems to work fine for me on Windows 10 using VS Code 1.29.1

@myfrom
Copy link

myfrom commented Nov 26, 2018

A question to people who report this is working: are you using User Setup version or the one that requires admin?

@wyldphyre
Copy link
Author

I'm using the User Setup now. I was probably on Admin when I reported this.

@ghost
Copy link

ghost commented Jan 27, 2019

Seems to be resolved, finally.

@thibka
Copy link

thibka commented Feb 10, 2019

Nope, it's not resolved. I have the same issue with 1.31.0.
Horizontal scrolling is working in Chrome, but not in VS Code (Windows 10). It does work in VS Code on macOS though.

@philo23
Copy link

philo23 commented Feb 15, 2019

I've run into this issue as well with my Logitech MX Master (on Windows), but as mentioned earlier minimising and reopening vscode seems to make it start working again.

I'm beginning to suspect the actual issue is with the driver/Logitech options software, not vscode itself.

@takiden
Copy link

takiden commented Feb 20, 2019

windows 10 Pro, build 1809, VSCode 1.31.1
Logitech MX anywhere 2S works only after:

  1. opening vscode
  2. minimizing it explicitly using the mouse by clicking the hyphen (super-key + down-arrow does not work)
  3. restore the vscode window by clicking the icon in the taskbar

this procedure should be repeated every time you open vscode ... not nice at all X|

@dandrestor
Copy link

Same here as @takiden described.
On VSCode 1.31.1, Win 10 Enterprise 10.0.16299

@jamesw2037
Copy link

@takiden thanks for the little guide, I am experiencing the same issue with MX Master 2s and minimizing works. I wish there was a proper solution for this

VSCode 1.31.1 (user setup), Windows 10 Enterpriise 10.0.14393

@wyldphyre
Copy link
Author

So it turns out despite my comment about horizontal scrolling working for me, that seems to not be the case, at least not all the time. At the time it seemed to be working but I had a case the other day where it wasn't. I guess it's just going to be one of those things.

@ghost
Copy link

ghost commented Mar 15, 2019

It seems to be working most of the time now, just sometimes when switching between windows, resizing the application window and switching virtual desktops it seems to stop working, it's not all the time (hard to reproduce at times, except for resizing the window then it always breaks for me).

The work around for me is: Aim the cursor at the horizontal bar and use the sidescroller and then it works again.

Edit: It seems when I resized the window 1 time, it continues to work. For me it seems like it's only the initial resize.

@ravemir
Copy link

ravemir commented Mar 15, 2019

@verantiadesign 's workaround did not work for me, while the one mentioned by @takiden did.

A tad annoying that we do have to do this at every startup, but way better than not working at all.

@s-devaney
Copy link

@takiden workaround worked for me with an MX Ergo

@Crocmagnon
Copy link

I've noticed that I have to apply @takiden's workaround everytime I resize VS Code window, but it seems to work indeed.

@takiden
Copy link

takiden commented Mar 26, 2019

@Crocmagnon if you are working on multiple external displays, then you'll have to apply this workaround when you move your VSCode window from one display to another...

I have to mention here, that I have tested the same mouse on OSX Mojave and Ubuntu 18.04 LTS and I didn't notice this faulty behaviour

@lukefan6
Copy link

lukefan6 commented Apr 3, 2019

It's also not working for Logitech M590 on Windows 10 Enterprise v.1803, vscode v.1.32.3
@takiden 's workaround works, though

@joel-felcana
Copy link

Same here. Working only after minimising and restoring after every time the window changes its size or position. If I change the window size or position, the horizontal scroll works for a single "jump" and then stops working. Two finger scrolling works, though

@spackmat
Copy link

I don't think this problem is directly Electron-specific. I have the exact same problem (scrolls some pixels horizontally and then refuses to do anything) also in Chromium-based browsers like Opera, but not, for example, in Excel or LibreOffice Calc or Firefox. So I assume there is an incompatibility between the horizontal scroll handling of Chromium and Logitech's implementation of this. So in my point of view, Logitech has to find a solution for that. Or are there mouses produces by other vendors with that problem?

@Crocmagnon
Copy link

After uninstalling Logitech Options, everything works fine for me on VS Code. This is not a solution though as it prevents from customizing the mouse behavior, but i thought it may be a useful insight.

@ghost
Copy link

ghost commented Jun 24, 2019

It used to work for a while, but since last update I cannot get it to work anymore. Seeing the last post, I start to think logitech options is the fault after all.

@Knightly-Spartan
Copy link

So I have been following this thread for quite a while.
I had shared the video on how to reproduce it and the workaround to fix it quite a while ago.

I had also asked if someone who's from USA can give Logitech Support (+1 646-454-3200) a call, since that's the only support option I found. Since the issue is inherent to Logitech Options (or maybe Chromium) and not VS Code.

@CosmicBara
Copy link

This issue continues to occur with the latest VS Code and the just-released MX Master 3. Any updates on resolving this?

@tariva
Copy link

tariva commented Sep 11, 2019

It works inthe current Versions with MXMaster S2!!!
My Versions:
VsCode:
1.38.0
3db7e09
x64
Election: 4.2.10
Chrome: 69.0.3497.128
NodeJS: 10.11.0
V8: 6.9.427.31-electron.9

LogitechOptions:
8.0.863
MX Master S2 Firmware:
012.000.00003
my settings on logitech Options
https://pasteboard.co/IwT8rN8.png
https://pasteboard.co/IwT8UkL.png

@bpasero
Copy link
Member

bpasero commented Oct 10, 2019

Ok to close then?

@felipe1982
Copy link

Still not working for me

@bpasero
Copy link
Member

bpasero commented Oct 11, 2019

@felipe1982 are you up for an experiment to see if this reproduces in Electron too? That would involve running https://github.com/atom/electron and opening a website in there to see if scrolling is any different?

@philo23
Copy link

philo23 commented Oct 11, 2019

This bug also happens in Spotify (horizontally scrolling recently played n the Home screen) and acts the exact same way (it works scrolls horizontally a little tiny bit once, then never again.) While Spotify isn’t actually Electron, it is using Chrome Embedded Framework from what I understand.

So I’m kinda convinced this isn’t a VSCode or even an Electron bug unfortunately, but some kind of issue with the way Logitech Options detects Chrome-based programs (except for Chrome itself) and then changes sending scroll events.

@felipe1982
Copy link

@felipe1982 are you up for an experiment to see if this reproduces in Electron too? That would involve running https://github.com/atom/electron and opening a website in there to see if scrolling is any different?

@bpasero I downloaded the latest electron release from the atom/electron releases page, double clicked on electron.exe, and greeting an Electron welcome screen. I do not see a way to open a website, to then attempt to try horizontal scrolling.

@bpasero
Copy link
Member

bpasero commented Oct 14, 2019

Given #56964 (comment) I have to close this as a fix is not something VSCode can provide.

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to the code. As such, I will go ahead and close it. If you can identify the component that is causing the issue, please report it upstream:

Thanks for understanding.

@bpasero bpasero closed this as completed Oct 14, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code) windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests