Fix Windows key modifiers #236
No reviewers
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!236
Loading…
Reference in a new issue
No description provided.
Delete branch "windows-modifier"
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?
Description
I have altered the code responsible for key modifiers. Changes in #206 broke support on Windows, new logic has been implemented to return support.
Other values such as native_scancode should probably also be investigated, but I am not a linux desktop user.
Motivation and Context
This will solve issues https://github.com/obsproject/obs-studio/issues/3307 and dicsussions on the forum
How Has This Been Tested?
I have only tested this on windows, while I had backported obs studio to tag 25.0.1, I do not believe this will be an issue in regards to the patch.
Testing on both linux and macos would be appreciated. I have read that
nativeis also a thing for mac users in this CEF thread, therefore it is likely a further change will be neededTypes of changes
Checklist:
Thanks for investigating this and submitting a fix!
Don't need this blank line.
Wondering if by using an old tag my clangformat rules are out of date
I have put together a mac patch that I expect I'll need to force push at some point
https://gist.github.com/Scrxtchy/c7b8a32285176400a60517adaf061226
this swaps out the Linux defined methods to now work on macs. As it's easier to just define windows methods for it's own platform, the operation checks for this, then applying the existing linux methods on mac as well
After some deliberation, we have come to find that macos modifiers where indeed already broken. As I have no platform to develop the solution on a mac, I cannot commit to a fix on this. I have reverted the state to a previous version of the fix, back to only fixing the issue regarding windows users
Does that mean that this PR no longer addresses #238? Does this also mean that #206 did not introduce the breakage, but something else between OBS 25.0.1 and 25.0.2?
The comment is in regards to Mac support, the issue and patch is around Windows support
Hey, could you rebase this? Thanks!
I have rebased this patch and have tested it on my Windows machine, hopefully it still performs as it should on Linux