Arrow keys register twice in browser source interact window #361
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser#361
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Operating System Info
macOS 12.0
Other OS
No response
OBS Studio Version
27.2.4
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/N-lR1rzq9O25veQ9
OBS Studio Crash Log URL
No response
Expected Behavior
The arrow keys in a browser interact window should only register once when pressed, unless held.
Current Behavior
The arrow keys register twice when pressed once. For instance, when the left arrow key is pressed once in a text field, the insertion point moves two spaces to the left.
Steps to Reproduce
...
Anything else we should know?
I've noticed that OBS only behaves this way on MacOS (both x86 and Apple Silicon through Rosetta). Linux Mint did not have the same issue and testing over the phone with a Windows user did not produce the same problem.
For me, this causes problems for HTML slideshow presentations. The slide moves two forward or back instead of one!
Hmm, my first guess is that it's treating both press and release as press+release, resulting in the event firing twice.
I've opened up OBS and that seems to be correct. The second registered "press" appears to correlate with how long I hold the key before releasing.
Can confirm with this tester. Seems to be specific to the arrow keys.
Though for me it's keydown twice, while other event's (like press and up) aren't sent at all.
Bug is still present in OBS version 30.0.2 with macOS 13.5.2. If this seems like a "good first issue"-level bug, I could take a stab at it if someone has any hypotheses or ideas about where to look.
bug seems to be still there OBS 31.03 macOS 15.5
The bug still here