Skip to content

Support mouse back/forward buttons for view navigation #547

@eladharitanwix

Description

@eladharitanwix

Feature Request

Summary

Support the back and forward side buttons (Mouse 4 / Mouse 5) found on Logitech and other mice for navigating view history in the dev3 GUI, similar to browser navigation.

Expected Behavior

The GUI should maintain a history stack of visited views (dashboard, task detail, etc.) and allow navigating through it via mouse back/forward buttons:

  • Mouse back button → go to the previous view in history
  • Mouse forward button → go to the next view in history (if you've gone back)

Example flow:

  1. Open Dashboard → click into Task A → click back to Dashboard → click into Task B
  2. Press mouse back once → returns to Dashboard
  3. Press mouse back again → returns to Task A

This is identical to how browser history navigation works.

Use Case

Users with mice that have dedicated back/forward thumb buttons (e.g. Logitech MX series) naturally reach for them when navigating between views. Currently these buttons do nothing in the GUI, breaking the ergonomic flow.

Notes

  • These buttons emit XF86Back / XF86Forward on Linux and BrowserBack / BrowserForward on Windows/macOS via standard OS input events
  • Electron apps can capture these via globalShortcut or by listening for mouse-button-x1/mouse-button-x2 events on the BrowserWindow
  • The same history stack could also power keyboard shortcuts (e.g. Alt+Left / Alt+Right) as a companion to mouse buttons

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience improvementenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions