You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2021. It is now read-only.
mouse buttons should trigger forward/backward in browsing history #487
I have a Razer Deathadder mouse, and I'm very used to using MB4/MB5 for going backwards and forwards in my browser history. Patchwork has the same kind of buttons, but when I press MB4/MB5 on my mouse nothing happens!
It's not a big thing, but it would feel a lot better navigationally if you could use those buttons in the same way as when browsing in Firefox or Chrome.
Reacted by Matt McKegg, Drew Harwell and Colin Fletcher
Since it bugs me a lot, i opened an MR utilising an external library. In case anyone else is interested in this before the Electron releases their fix 😄
Activity
mmckegg commentedon Apr 9, 2017
In addition it would be nice if macOS style back/forward page gestures worked.
fenwick67 commentedon Dec 28, 2017
Some FYIs for anybody wanting to implement these:
At least for Windows the
app-commandevent can be used to grab the back button clicks.On MacOS the
swipeevent is used for three-finger swipes.The lack of support for mouse buttons for linux is a known problem, Brave has encountered it and hasn't solved it yet.
This is basically the code needed for Windows support:
ThunderFD commentedon Jun 25, 2018
oh yes please, I was about to open an issue about this. Has someone tried implementing this already?
kroppt commentedon Oct 31, 2018
Looks like someone is going at a solution in Electron: electron/electron#15441
gergelypolonkai commentedon Jan 14, 2019
Since it bugs me a lot, i opened an MR utilising an external library. In case anyone else is interested in this before the Electron releases their fix 😄
gergelypolonkai commentedon Jan 18, 2019
I will keep an eye on that Electron PR; whenever that is released, my solution will be obsolete.
cblgh commentedon Jan 18, 2019
what a ride
lostmsu commentedon May 9, 2020
This does not seem to be working on Windows 10 with v3.17.7 (probably haven't worked before either).