ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.34k stars 791 forks source link

MX:TextInput issues and Keyboard Events not working #17084

Open GonzalezAtWork opened 1 month ago

GonzalezAtWork commented 1 month ago

Describe the bug

Was not able to make any keyboard related stuff work, on Flex 3.6's mx components.

MX:TextInput also is not working the property "focusOut".

but, "focusIn" is working just fine!

Expected behavior

Keyboard events like typing in mx:textinput should work ok. Arrow Navigation too and alike. In theory, I believe the same behaviour used on pasting from clipboard could be used to fix this.

Content Location

Teste.zip

Affected platform

Desktop app

Operating system

Windows 11

Browser

Chrome

Additional information

To see the problem, try to do any typing, or ctrl combinations, asside ctrl+c / ctrl+v / ctrl+x

kjarosh commented 1 month ago

focusOut will be implemented in https://github.com/ruffle-rs/ruffle/pull/16581

GonzalezAtWork commented 1 month ago

On discord, Nosamu has stated that there is an fixed issue related to keyboard layout that could be related. I am using ABNT2 keyboard (portuguese-brazilian), but I did not found a way to change to other option to confirm it.

nosamu — 07/11/2024 6:17 PM we have an open issue here but I kind of expected we had resolved it by now https://github.com/ruffle-rs/ruffle/issues/7381