[GH-ISSUE #1296] [Bug] Mouse button 5 appears to be displayed as mouse button 3 in recordings #3426

Closed
opened 2026-03-01 19:11:29 +03:00 by kerem · 0 comments
Owner

Originally created by @muzikbike on GitHub (Mar 25, 2024).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1296

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
When checking the fix for #1292, I noticed that mouse button 4 is correctly reported as expected, but mouse button 5 uses the middle mouse button colour instead of the mouse 5 colour.

To Reproduce
Steps to reproduce the behavior:

  1. Have a mouse with five or more buttons (in this case, a Logitech G402)
  2. Click using the fifth button
  3. Look at the recorded frames
  4. See error

Expected behavior
It'd use the fifth button colour - orange by default.

Screenshots
In order: left, right, middle, fourth, fifth
fifthismiddle
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 2.41.0

Additional context
Other programs recognise buttons 4 and 5 fine, so I can confirm the mouse in question is not misconfigured.
2024-03-25_10 39 31

Originally created by @muzikbike on GitHub (Mar 25, 2024). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1296 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** When checking the fix for #1292, I noticed that mouse button 4 is correctly reported as expected, but mouse button 5 uses the middle mouse button colour instead of the mouse 5 colour. **To Reproduce** Steps to reproduce the behavior: 1. Have a mouse with five or more buttons (in this case, a Logitech G402) 2. Click using the fifth button 3. Look at the recorded frames 4. See error **Expected behavior** It'd use the fifth button colour - orange by default. **Screenshots** In order: left, right, middle, fourth, fifth ![fifthismiddle](https://github.com/NickeManarin/ScreenToGif/assets/52297970/dcda34b1-3c35-4030-8e2f-14c0d85e01c4) ![image](https://github.com/NickeManarin/ScreenToGif/assets/52297970/b0eec1dd-19a5-4882-aacc-5994bda0520e) **Desktop (please complete the following information):** - OS: Windows 10 - Version 2.41.0 **Additional context** Other programs recognise buttons 4 and 5 fine, so I can confirm the mouse in question is not misconfigured. ![2024-03-25_10 39 31](https://github.com/NickeManarin/ScreenToGif/assets/52297970/fc7389b9-2289-445c-9df2-ea8cb1e8870d)
kerem 2026-03-01 19:11:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#3426
No description provided.