Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the backspace code thats sent to UE #518

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

mcottontensor
Copy link
Collaborator

Relevant components:

  • Signalling server
  • Common library
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

Backspace was not working for widget input.

Solution

There's a fair amount of deprecated code in the input system that is what I think lead to this issue, but we have a special case for backspace so it gets sent to UE, only we weren't filling in the correct properties on the KeyboardEvent before sending it and so the event was never handled. I've now added the correct properties.

I've also done a small amount of cleanup and added some comments explaining a few things.

Copy link
Collaborator

@Belchy06 Belchy06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcottontensor mcottontensor added auto-backport Used to specify we want a PR to auto backport to a branch, must be paired with auto-backport-to-UEX. auto-backport-to-UE5.5 labels Mar 3, 2025
@mcottontensor mcottontensor merged commit 199825e into EpicGamesExt:master Mar 3, 2025
5 checks passed
Copy link
Contributor

github-actions bot commented Mar 3, 2025

💚 All backports created successfully

Status Branch Result
UE5.5

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

mcottontensor added a commit that referenced this pull request Mar 3, 2025
[UE5.5] Merge pull request #518 from mcottontensor/backspace_fix
@mcottontensor mcottontensor deleted the backspace_fix branch March 3, 2025 04:37
@lukehb
Copy link
Contributor

lukehb commented Mar 3, 2025

@mcottontensor Can I request a new version of the 5.5 frontend library be cut to include this change also, so downstream users can update to the newest frontend lib?

@PsiCondition
Copy link

Thanks a lot guys !

We will be waitting for the new version.

@mcottontensor
Copy link
Collaborator Author

Pushed a new frontend library version today. 1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Used to specify we want a PR to auto backport to a branch, must be paired with auto-backport-to-UEX. auto-backport-to-UE5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants