After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 149128 - Assertion fails about undo when removing non-spacing marks
Assertion fails about undo when removing non-spacing marks
Status: RESOLVED DUPLICATE of bug 141993
Product: gtksourceview
Classification: Platform
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-03 09:51 UTC by Behdad Esfahbod
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2004-08-03 09:51:59 UTC
After applying the patch in bug 119891, an assertion fails when I remove a
non-spacing mark in gedit.  This is what I get when I remove a mark in gedit:

(gedit:1327): GtkSourceView-CRITICAL **: file gtksourceundomanager.c: line 617
(gtk_source_undo_manager_insert_text_handler): assertion `strlen (text) ==
(guint)length' failed

And if I undo, I get both the mark *and a copy of it's base character* inserted,
resulting in two base characters, which is wrong.

For example, say I have this:

بهِداد

and I remove the Kasre mark, I get:

بهداد

and Undo and get:

بهِهداد

Should be easy to fix though.
Comment 1 Theppitak Karoonboonyanan 2004-08-03 16:04:55 UTC
This bug seems to duplicate Bug #141993.
Comment 2 Paolo Maggi 2004-10-14 14:13:53 UTC

*** This bug has been marked as a duplicate of 141993 ***