Skip to content

inputMethod: clear preeditStr before reseting context

Christian Hergert requested to merge wip/chergert/fix-4647 into main

Previously, these were performed in a different order before GNOME 41. During some other changes they were swapped.

However, this causes both GTK 3 and GTK 4 applications to scroll to incorrect positions from the preedit change.

Fixes #4647 (closed) Fixes gtk#4289 (closed) Fixes gnome-builder#1536 (closed) Fixes gnome-builder#1531 (moved)

Merge request reports