Skip to content

Mouse back/forward buttons run action on both button press and release #1115

@Maxr1998

Description

@Maxr1998

Describe the bug
Since upgrading to Jellyfin Desktop/2.0.0, when pressing the back button on my mouse, the client will return two screens instead of one.
The same happens with two different mice. I also verified with wev that only a single press and release event is triggered by my mouse when clicking/releasing the button, so a hardware failure can be ruled out.

To Reproduce

  • Go to any nested screen in the client
  • Press the back button once, keep it pressed
  • Observe that the client will go to the previous screen
  • Release the back button
  • Observe that the client will go back once more

Expected behavior
The client should only go back once when releasing the back button and not when initially pressing it.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: 2.0.0
  • Installation Method: AUR package jellyfin-desktop 2.0.0-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions