gnome-gitlab guidog/phosh-osk-stub v0.42.0

latest release: next-20241031.0851.e43edd870
one month ago

Summary of changes

  • Fix several input issues when using completers that take
    surrounding text into account (like presage)
  • data: Enable opportunistic completion by default. With the recent
    compositor and OSK fixes it should be stable enough to at least
    enable in those cases where the application recommends to use
    completion (e.g. gnome-text-editor or chatty).
  • Lower velocity needed to swipe close the OSK a bit
  • Contributors:
    • Guido Günther
    • Teemu Ikonen

Detailed changes

phosh-osk-stub (0.42.0) experimental; urgency=medium
.
  * layout-info: Ensure stable sorting.
    This makes sure we stay reproducible
  * input-surface: Better check for completion mode.
    When the IM signals surrounding text changes we want to perform the same
    checks as on preedit changes (`on_completer_preedit_changed`) or
    completion updates (`on_completer_update`). Otherwise we end up picking
    up preedit again due to:
    Long press for cursor mode
     -> on_osk_mode_changed()
       -> submit preedit via pos_input_surface_submit_current_preedit()
       … due to that commit we receive new surrounding text from the compositor
        -> pos_completer_presage_set_surrounding_text
          -> we update preedit again
    This fixes the long standing issue where entering cursor mode would
    double the preedit when using the presage completer (hunspell and others
    are not affected as they don't care about changed surrounding text).
  * presage: Don't try to grab last word.
    We only want that for "edit" mode (when deleting backwards into a word)
    but trigger it in many other situations triggering lost or duplicated
    text.
    This should allow us to use presage completion in a stable way rather
    than keeping it experimental forever.
  * input-surface: Submit preedit on layout changes to emoji or terminal.
    Otherwise funky things happen
  * data: Validate schemas
  * data: Enable opportunistic completion by default.
    With the recent compositor and OSK fixes it should be stable enough to
    at least enable in those cases where the application recommends to use
    completion (e.g. gnome-text-editor or chatty).
.
  [ Teemu Ikonen ]
  * input-surface: Reduce MIN_Y_VELOCITY on swipe to hide

Required versions of other projects

  • gtk3 >= 3.24.35 (Otherwise surrounding text and preedit will be off)

Patches that are merged upstream but not yet in a released version:

Recommended versions of related projects

Don't miss a new phosh-osk-stub release

NewReleases is sending notifications on new releases.