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): gtk2-2.4.9-8 How reproducible: Always 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 Actual results: Compose character toegther with the elements that made up the character are returned. Expected results: One single compose character is returned Additional info:
Here is the test case: - wget http://www.openi18n.org/subgroups/testsuites/1.3/interactive/text-editor-tests/UTF-8.txt - 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 GtkTextView.
Fixed in rawhide