zulip/zulip

Topic Edit Typeahead interferes with IME selection

Open

#23 595 ouverte le 17 nov. 2022

Voir sur GitHub
 (13 commentaires) (0 réactions) (0 assignés)Python (7 339 forks)batch import
area: compose (typeahead)area: internationalizationbughelp wantedin progress

Métriques du dépôt

Stars
 (19 672 stars)
Métriques de merge PR
 (Merge moyen 36j 6h) (110 PRs mergées en 30 j)

Description

Basic Info

Zulip Server Version 6.0-dev-2443-g527b656fc9 Forked from upstream at 6.0-dev-2430-ge797715f1d Appears on both web and mac Desktop app V5.9.3

Expected Behavior

When editing topics using IME (for example Chinese) and there already exists a topic with matching character, text should only be inputted after composition event in IME is complete

Actual Behavior

GIVEN

  • editing/composing topics using IME (for example Chinese)
  • A topic already exists with first IME selection char

WHEN

  • Selecting character during inputEvent that doesn't match typeahead

THEN

  • the typeahead seems to trigger and inputs the character even before IME is done composing character

https://user-images.githubusercontent.com/15863509/202339373-e49085c9-402b-4897-8e0c-74743786517a.mov

Notes

This seems to be related to typeahead interfering with IME selection and triggering before the char selection is done

Guide contributeur