Skip to content

🩹 fix #474#475

Open
xhugoliu wants to merge 1 commit intomulaRahul:mainfrom
xhugoliu:fix/474-mouse-side-buttons
Open

🩹 fix #474#475
xhugoliu wants to merge 1 commit intomulaRahul:mainfrom
xhugoliu:fix/474-mouse-side-buttons

Conversation

@xhugoliu
Copy link
Copy Markdown
Contributor

Summary

This PR fixes #474, where pressing side mouse buttons (mouse4 / mouse5) could cause the preview to stop reacting to any further input until the app was restarted.

Root cause

Extra mouse buttons were previously collapsed into a generic Other mouse button path. That left the preview state handling with an unsupported button value, which could break subsequent input visualization.

Changes

  • map common side mouse button codes to Back and Forward
  • ignore truly unknown mouse buttons instead of letting them enter the visualization state
  • add frontend support for Back / Forward display labels and filter selection

Testing

  • cargo test
  • npm run tauri dev
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mouse4/5 buttons cause crash

1 participant