Steps to Reproduce:
Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:57:51.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.2.0
Does this issue occur when all extensions are disabled?: Yes
I know it's duplicate of #71318, but that issue is closed and the problem is still existing.
Version: 1.43.2
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:34:57.037Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
The problem still exists.
Version: 1.47.1
Commit: 485c41f9460bdb830c4da12c102daff275415b53
Date: 2020-07-13T22:43:02.577Z (2 days ago)
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0
The problem still exists.
Can someone please have a look at this I really need the mouse buttons to work? They were working fine on my Ubuntu machine but on Mac, it does not work.
I cannot reproduce, clicking mouse buttons 4 and 5 on my mouse navigate back and forward. Make sure workbench.editor.mouseBackForwardToNavigate is set to true.

workbench.editor.mouseBackForwardToNavigate is set to true and not work either .
@TooXu can you do this:
@bpasero I'm experiencing the same issue and can reply to your question above:
On Mac:
If I open the fiddle in Safari clicking button 4 and 5 in the red area doesn't do anything.
In Chrome clicking button 4 and 5 results in the page navigating back/forward - no alerts.
Just a note: On Windows I can see the alerts.
I'm using a Logitech MX Master 3 and have the "Logi Options" software from Logitech installed.
@andrecasal yeah the browser navigation makes this hard to test, can you only test pressing the button that would normally "Forward" so that you dont leave the page and can still test this.
From what I have found out, MacOS doesn't support more than 3 buttons for the mouse. So button 4 and 5 might not be able to be detected as such.
The "Logi Options" software is set to map button 4 and 5 as Forward/Back. I'm not sure exactly what those mappings mean, but Chrome can use them properly.
@bpasero as mentioned, there are no alerts on MacOS for mouse 4 and 5. I have only mentioned that it navigates back/forward to validate that Chrome does catch it, the page itself never reacts to those buttons.
Some references:
https://apple.stackexchange.com/questions/110177/logitech-mouse-how-can-i-use-additional-buttons/303961#303961
https://superuser.com/questions/1216047/universal-back-forward-mouse-buttons-in-osx-instead-of-m4-m5
I am using a Logitech mouse btw and it works just fine in Chrome. Clicking mouse buttons 4 and 5 shows the dialog.
Since this seems to be hardware / upstream dependent, I do not see how VSCode can fix this. I suggest to open a bug against Chrome: https://bugs.chromium.org/p/chromium/issues/list
@bpasero do you have Logi Options installed? This link provides further information: https://superuser.com/questions/1216047/universal-back-forward-mouse-buttons-in-osx-instead-of-m4-m5
It seems that it simulates a swipe event, which VSCode probably doesn't detect.
No I do not have any specific software installed from Logitech. Regarding swipe to navigate setting, see https://github.com/microsoft/vscode/issues/79078 which is not in scope for the moment.
@bpasero I have uninstalled "Logi Options" and it started working. I can see the alerts now. It seems that Logi Options makes the buttons turn into swipe events. I haven't found a way to disable this.
I kind of need "Logi Options" for other things, I'm using Logitech Flow for cross-computer usage between Windows and MacOS.
Since it works in Chrome, and lots of other apps via the simulated swipe event, perhaps #79078 should be reconsidered.
@bpasero I have uninstalled "Logi Options" and it started working. I can see the alerts now. It seems that Logi Options makes the buttons turn into swipe events. I haven't found a way to disable this.
I kind of need "Logi Options" for other things, I'm using Logitech Flow for cross-computer usage between Windows and MacOS.
Since it works in Chrome, and lots of other apps via the simulated swipe event, perhaps #79078 should be reconsidered.
Is indeed caused by this reason
I can confirm all the things @andreialecu posted. I am using Logitech MX Master 1 on macOS.
The same reason I need the software for other apps. So maybe if there is a way to have it work please do let us know.
I think it would be safe to mention here that using the Logitech options we can assign keybindings to forward and back keys that can do what it should do.
I was able to find a workaround.
InLogi Options (top-right) you can create a new profile just for Visual Studio Code and map:
Forward to CTRL+SHIFT+-
Back to CTRL+-


I'm using a cheap series of mouse. It doesn't have the features you show.
I was able to find a workaround.
In
Logi Options(top-right) you can create a new profile just for Visual Studio Code and map:Forward to
CTRL+SHIFT+-
Back toCTRL+-
鏋滅劧鍗歌浇 缃楁妧鐨勯偅涓蒋浠跺氨鍙互鐢ㄤ簡
Most helpful comment
@bpasero I have uninstalled "Logi Options" and it started working. I can see the alerts now. It seems that Logi Options makes the buttons turn into swipe events. I haven't found a way to disable this.
I kind of need "Logi Options" for other things, I'm using Logitech Flow for cross-computer usage between Windows and MacOS.
Since it works in Chrome, and lots of other apps via the simulated swipe event, perhaps #79078 should be reconsidered.