Pythonista-Issues icon indicating copy to clipboard operation
Pythonista-Issues copied to clipboard

Select code hints crashes pythonista while having uncommitted IME text

Open imkzh opened this issue 2 years ago • 0 comments
trafficstars

when typing with IME, if text candidates are not committed yet, and you accidentally pressed one of the hints provided by pythonista, the app will crash immediately.

Steps to reproduce:

  1. open any file in Pythonista
  2. switch to some IME, type several letters (keep them uncommitted)
  3. select a hint provided by pythonista
  4. CRASH

The bug can also be triggered in console, to do that, open any file and focus into it before switch to console (to reliably trigger the bug).

https://github.com/omz/Pythonista-Issues/assets/5917425/d9155308-cc3d-4de7-a7b2-1d09f5944044

imkzh avatar May 17 '23 22:05 imkzh