keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
376 stars 102 forks source link

fix(linux): Fix reordering of output #7079

Closed ermshiperete closed 1 year ago

ermshiperete commented 1 year ago

Quick link to the test results

This change implements a commit queue which allows to control the order of the output. This ensures that any backspace we generate will be processed before the character we're adding.

Requires changes in ibus (surrounding text fix (see #7072) and prefilter change).

User Testing

Preparations

SUITE_WRITER: LibreOffice Writer

Open LibreOffice Writer.

Tests

SUITE_GEDIT: gedit

Open gedit.

Tests

SUITE_FIREFOX: Firefox

Open https://keyman.com/keyboards in Firefox.

NOTE: If the output looks wrong, copy the text from the browser and paste it into gedit and verify that it there.

Tests

SUITE_CHROMIUM: Chromium

Open Chromium browser.

NOTE: If the output looks wrong, copy the text from the browser and paste it into gedit and verify that it there.

Tests

SUITE_TERMINAL: gnome-terminal

Open Terminal.

Tests

SUITE_ANKI: Anki

Open Anki.

Tests

SUITE_SEARCHBAR: Searchbar in gnome-shell

Press Windows key to open searchbar.

Tests

bharanidharanj commented 1 year ago

SUITE_CHROMIUM: Chromium

GROUP_BIONIC: Ubuntu 18.04 Bionic with Gnome Shell and X11

bharanidharanj commented 1 year ago

SUITE_WRITER: LibreOffice Writer

GROUP_BIONIC: Ubuntu 18.04 Bionic with Gnome Shell and X11

bharanidharanj commented 1 year ago

SUITE_FIREFOX: Firefox

GROUP_WASTA: Wasta 20.04 with Cinnamon

ermshiperete commented 1 year ago

@keymanapp-test-bot retest SUITE_CHROMIUM GROUP_FOCAL TEST_CHROMIUM_KO TEST_CHROMIUM_HI GROUP_JAMMY_X11 TEST_CHROMIUM_IPA TEST_CHROMIUM_KO TEST_CHROMIUM_HI TEST_CHROMIUM_KM TEST_CHROMIUM_KM_BS GROUP_WASTA TEST_CHROMIUM_IPA TEST_CHROMIUM_KO TEST_CHROMIUM_HI TEST_CHROMIUM_KM TEST_CHROMIUM_KM_BS SUITE_ANKI GROUP_WASTA TEST_ANKI_HI

ermshiperete commented 1 year ago

@bharanidharanj Please retest TEST_TERMINAL_IPA in Jammy with a slight variation: after you opened gnome-terminal, press the Enter key first, then start with the test (cf #7428).

@keymanapp-test-bot retest SUITE_TERMINAL GROUP_JAMMY_X11 TEST_TERMINAL_IPA

ermshiperete commented 1 year ago

The following failing tests in Jammy are caused by gnome-terminal not supporting surrounding text and deleting clusters instead of single code points (see #7130), so we skip these tests.

SUITE_TERMINAL GROUP_JAMMY_X11

bharanidharanj commented 1 year ago

SUITE_TERMINAL: gnome-terminal

GROUP_JAMMY_X11: Ubuntu 22.04 Jammy with Gnome Shell and X11

bharanidharanj commented 1 year ago

SUITE_FIREFOX: Firefox

GROUP_JAMMY_X11: Ubuntu 22.04 Jammy with Gnome Shell and X11

bharanidharanj commented 1 year ago

SUITE_CHROMIUM: Chromium

GROUP_JAMMY_X11: Ubuntu 22.04 Jammy with Gnome Shell and X11

bharanidharanj commented 1 year ago

SUITE_CHROMIUM: Chromium

GROUP_WASTA: Wasta 20.04 with Cinnamon

bharanidharanj commented 1 year ago

SUITE_ANKI: Anki

GROUP_WASTA: Wasta 20.04 with Cinnamon

bharanidharanj commented 1 year ago

SUITE_CHROMIUM: Chromium

GROUP_FOCAL: Ubuntu 20.04 Focal with Gnome Shell and X11

keyman-server commented 1 year ago

Changes in this pull request will be available for download in Keyman version 16.0.78-alpha