i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

Cursor doesn't move properly in text input in swf #302

Open i-rinat opened 8 years ago

i-rinat commented 8 years ago

In text editor widget here: http://www.jumpeyecomponents.com/Flash-Components/User-Interface/JC-Text-Editor-281/ text cursor doesn't move properly after all text delete by Ctrl-A, Del. After a letter entering cursor doesn't move to the right of newly added letter, but stay on the left. That makes text entry reversed, i.e. entering "qwerty" will result in "ytrewq".

i-rinat commented 8 years ago

Mentioned text editor widget have a bug itself: with IME enabled it doesn't move cursor position past entered sequence. Freshwrapper uses IME (GTK, multi) all the time, that's why it happens even for entering ASCII characters.

How Chrome discerns modes, is still unknown.