Re: Fwd: bug on TextBuffer and TextView

2009/1/20 Dafna Hirschfeld <dafna3 gmail com>:
I attached a file, and a gif icon with a code with the bug,
It's wearied, the bug doesn't always appear.
and when I comment (remove) the lines

lines 51,52
my $image = Gtk2::Image->new_from_file ("ch_scaled.gif");

or line 78

the program works fine.
It looks like those lines make the program a bit heavier, though they
shouldn't effect the printing on the textview directly --

Thanks for the example, this helps us more. I confirm that I can
reproduce your bug. It seems as if the GtkTextView isn't refreshed
soon enough. The refresh of the animated gif appears to be having a
higher priority than the text view. I don't know if this is somehow

You can force a redraw of the widget your self, in my case it fixed
the issue. Try the following:

Line 76:

Emmanuel Rodriguez

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]