GNOME Bugzilla – Bug 83103
Clicking/dragging beyond the end of the buffer.
Last modified: 2004-12-22 21:47:04 UTC
When clicking or dragging beyond the end of a buffer, the following warning is spewed (per-event, really sucks when you're dragging): (gnomechat:23527): Gtk-CRITICAL **: file gtktextiter.c: line 3525 (gtk_text_iter_set_line_offset): assertion `char_on_line <= chars_in_line' failed This happens in my use of the GtkTextView widget, and gedit's, so I'm thinking it's a problem with the widget. This happens whether I'm messing with events or not, BTW. I believe the problem lies in gtk_text_layout_get_iter_at_pixel ().
After rebuilding things against the GTK+ packages in Debian sid, this problem disappeared. Consequently I've no idea why this started occuring, or how to fix it, though I get the feeling that either my CFLAGs or a bad installation caused this.
I'm closing this bug since I haven't seen it in the last month.