Skip to content

Undo option for auto-replace #316

Description

@germpsp

Pastiera 0.85 - Stable
Titan 2

Using auto-replace on space/enter feature, when a word is changed automatically, it cannot be undone. There should be a way to undo the automatic replacement. This is needed more on languages that have a not so good dictionary. For comparison, the auto-replace works better with english than with spanish or german. Also for technical or terms that are not recognized but the user want to use and leave unchanged.

Preconditions:
Auto-correction

  •  Auto-replace on space/enter -> enabled. 
    
  •  Suggestions while typing -> disabled
    

Action:
Write a word that's not recognized by the dictionary, then press space. The word gets auto-replaced. The user wants to the original word back. Use the backspace button to partially delete the new word and then writes it back to the original word. Press space again and the word gets auto-replaced again for a word the user doesn't want.

Result:
The auto-replace overtakes the control every time and the user cannot write the word he wants to write.

Expected result:
The word is auto replaced but the user can easily undo that if he wants to. Some implementations undo the auto-replacement when the user presses the backspace.

screen-20260919-074537.1.mp4

Workaround:

  1. Type a period or a comma after the original word. It doesn't get auto-replaced (cuestionable if it should be auto-replaced). Work forth with spaces and following words and get back to delete the period or comma.
  2. Add the word that's getting replaced to the user dictionary so it doesn't get replaced next time.

Solution that doesn't work:
Use the undo button. It removes the change done by the auto-replace but it also removes the space. So the user has to add the space again and the word is auto-replaced again. Sometimes the undo button removes the whole word.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions