Skip to content

Fixing the backspace code thats sent to UE#518

Merged
mcottontensor merged 1 commit intoEpicGamesExt:masterfrom
mcottontensor:backspace_fix
Mar 3, 2025
Merged

Fixing the backspace code thats sent to UE#518
mcottontensor merged 1 commit intoEpicGamesExt:masterfrom
mcottontensor:backspace_fix

Conversation

@mcottontensor
Copy link
Copy Markdown
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
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

Thanks a lot guys !

We will be waitting for the new version.

@mcottontensor
Copy link
Copy Markdown
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