The back / forward buttons on my mouse do nothing as far as I can tell. For example, when viewing an email and clicking on the back button on my mouse, I would expect to be taken back to the inbox. Instead, nothing happens.
Hmm can you open the Developer Tools in Mailspring (from the Developer menu), go to the console and type document.addEventListener('keyup', (e) => console.log(e.keyCode))? Then switch focus back to the Mailspring window and hit the back / forward buttons on the keyboard and let me know what keycodes are in the console.
You can probably map the back/forward ākey pressā events from your mouse in the keyboard shortcuts panel in Preferences > Keymaps (click a mapping to change it) but Iām curious to know if we can add them by default.
Not sure what you mean about the keyboard, but I did some looking around and it seems that electron doesnāt recognize the forward/back buttons on linux. (see electron#6996). However, I also found a module that can be used instead: mouse-forward-back
Iām getting the same behaviour. However, with document.addEventListener('keyup', (e) => console.log(e.keyCode)) , I am getting key codes 18 and 37 when pressing the back button on my mouse (equivalent to ALT + Left Arrow ) for example, but it does absolutely nothing. Where can I add custom key mappings for back and forth panel navigation? There doesnāt seem to exist an option in Preferences -> Keymaps for thisā¦
Alt+ā and Alt+ā are very common keyboard shortcuts, supported by Chrome, Firefox and a lot of file browsers. So can we consider adding them to the default keymap?
This would be great for usability. I use my mouse forward/back buttons all time time, and it throws me off not being able to do it in Mailspring. Iāve seen other Electron apps on Linux support them (just tested in a different app), so itās definitely possible.