egui icon indicating copy to clipboard operation
egui copied to clipboard

Duplicate words on text edit field for mobile web version

Open stmdhms opened this issue 3 years ago • 4 comments
trafficstars

Describe the bug Text input on mobile with SwiftKey duplicates each word due to autocomplete: egui_text

To Reproduce Steps to reproduce the behavior:

  1. Set keyboard to SwiftKey (https://play.google.com/store/apps/details?id=com.touchtype.swiftkey)
  2. Click on any text edit widget on the web demo (egui.rs)
  3. Type in multiple words separated by spaces
  4. Each word will be duplicated after hitting space

Expected behavior No duplicate words

Smartphone (please complete the following information):

  • Device: Samsung Note 9
  • OS: Android
  • Browser: Chrome
  • Version 100.0.4896.88

Additional context Seems to work fine with other keyboards (e.g. GBoard).

stmdhms avatar Apr 19 '22 02:04 stmdhms

chrome and swiftkey emit weird event order.

https://github.com/rust-windowing/winit/pull/2173

it seems chrome or swiftkey bug.

KentaTheBugMaker avatar Apr 19 '22 04:04 KentaTheBugMaker

Can you reproduce on firefox?

Titaniumtown avatar Apr 20 '22 13:04 Titaniumtown

firefox on android with swiftkey emit events same as gboard . so i think this is chrome+swiftkey bug.

KentaTheBugMaker avatar Apr 20 '22 13:04 KentaTheBugMaker

Ah ok. Interesting.

Titaniumtown avatar Apr 20 '22 13:04 Titaniumtown

Hi, I have the same issue on Win7 with one Chinese IME called Sougou. But I cannot install rust on that mechine, so I don't know why does it happens

zhaobenx avatar Sep 20 '23 13:09 zhaobenx