Skip to content

Replacing a part of a string leads to faulty state of surrounding_text #8

@grelltrier

Description

@grelltrier

When the user opens Firefox and clicks into the address field, usually the whole string is highlighted. Entering any character will lead to the whole string getting replaced. The value of surrounding_text in fingerboard should be only the newly entered character now. At least for Firefox this is not the case. Firefox does not notify phoc of the replacement so phoc does not send a 'surrounding_text' event to fingerboard via the input_method protocol. Fingerboard assumes the new character was appended.

This is an issue of the application not notifying phoc and not so much of fingerboard.

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