Closed Bug 733646 Opened 12 years ago Closed 2 years ago

Selected text which was removed by composition should be restored if the composition canceled on GTK

Categories

(Core :: DOM: Editor, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: masayuki, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: inputmethod)

If composition string removes selected string, it should be restored if the composition is canceled (committed by empty string).

On GtkEntry, composing string is displayed independently from the editor contents. Therefore, if the composition canceled, the selected string stay there.

We cannot change our composition string behavior because it's too hard and isn't better behavior in some reasons. However, we should restore the selected string.

Resetting assignee which I don't work on in this several months.

Assignee: masayuki → nobody

Although I love to align each behavior to same things on native apps/widgets, but in my experience, changing canceling composition behavior may cause serious web-compat issue. For example, some web apps may assume that ending composition does not change the text from last composition string if they listen to compositionupdate events and watch its data value. So unless the other browsers take this behavior on Linux, we shouldn't change current behavior.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.