Skip to content

core: Fix focusing behavior in SWF 8- vs 9+#23398

Draft
ChrisCPI wants to merge 1 commit intoruffle-rs:masterfrom
ChrisCPI:fix-swf8-9-focus-behavior
Draft

core: Fix focusing behavior in SWF 8- vs 9+#23398
ChrisCPI wants to merge 1 commit intoruffle-rs:masterfrom
ChrisCPI:fix-swf8-9-focus-behavior

Conversation

@ChrisCPI
Copy link
Copy Markdown
Contributor

@ChrisCPI ChrisCPI commented Apr 5, 2026

The remaining changes from #23244, fixes #23182

The behavior is explained in the added comment in player.rs, which has been revised to hopefully be more clear.

@Lord-McSweeney Lord-McSweeney added A-core Area: Core player, where no other category fits T-fix Type: Bug fix (in something that's supposed to work already) labels Apr 5, 2026
As explained in the comment in player.rs, in SWF 9+, when needing to clear the focus, the focus only actually resets if the stage was clicked and the movie is AVM2.
@ChrisCPI ChrisCPI force-pushed the fix-swf8-9-focus-behavior branch from 70ff70f to dcb8877 Compare April 14, 2026 18:58
@ChrisCPI
Copy link
Copy Markdown
Contributor Author

Marking this as a draft for now, since I recently came across some other weird behavior (only happening in SWF version 9 specifically) which this PR doesn't account for, so I need to look into it some.

@ChrisCPI ChrisCPI marked this pull request as draft April 19, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-core Area: Core player, where no other category fits T-fix Type: Bug fix (in something that's supposed to work already)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inaccurate behavior with AVM1 text input focusing

2 participants