GtkImage expose is badly broken.
- From: Alexander Larsson <alla lysator liu se>
- To: <gtk-devel-list gnome org>
- Subject: GtkImage expose is badly broken.
- Date: Tue, 12 Dec 2000 13:09:13 +0100 (CET)
Quick test: Drag the window from the "buttons" test in testgtk outside the
screen and then in again. It spews GDK-Critical and the stock images look
bad.
The expose method of GtkImage just does a gdk_pixbuf_render_to_drawable_alpha()
on the whole image, if part of it overlaps the exposed area.
gdk_pixbuf_render_to_drawable_alpha() then calls
gdk_pixbuf_get_from_drawable(), which only work if the entire source
rectangle is inside the screen.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]