Red Hat Bugzilla – Bug 133044
Undo (CTRL-Z) creates some extra characters when undo a composed character
Last modified: 2014-03-25 20:51:06 EDT
Description of problem:
After removing a composed character which makes up 3 characters, to
undo the event, user will need to type CTRL-Z 3 times. In addition,
indivaidual charcters that made up the composed characters were
returned as well. Hence, instaed of returning one single character, 3
characters are returned.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use gedit application to open the UTF-8.txt supplied
2. Remove one korean character which can be found near the end of file
3. Ctrl-Z to undo action
Compose character toegther with the elements that made up the
character are returned.
One single compose character is returned
Here is the test case:
- open UTF-8.txt in gedit
- Go to end of hangul extended line
- delete part of the character.
- press ctrl-z
I think there are multiple things going on here - without touching
the delete key at all I can get bizarre behavior with gedit.
Open up a new window, with a Korean input method, enter a syllable
and commit it. The first press of C-z deletes the character ... looks
good. But repeatedly typing C-z after that results in junk being
inserted into the buffer.
THis is probably some combination of GtkTextView bugs and
GtkSourceView bugs ... undo is implemented as a layer on *top* of
Fixed in rawhide