GNOME Bugzilla – Bug 588169
evince index rendering problem
Last modified: 2009-07-10 22:45:09 UTC
While going through a pdf with page-down, the index sidebar does not update correctly. csw problem, I'd say.
Created attachment 138127 [details] screenshot
Yeah, looks like a gdk_window_scroll issue.
I have the same issue when scrolling in my app which is an image viewer. To scroll the image, I use gdk_draw_drawable and then I repaint the newly exposed areas using gdk_draw_pixbuf. It seems like the exposed pixels from gdk_draw_pixbuf just isn't put on the GdkWindow. The scrolled pixels are fine though. So I get drawing errors using this code: gdk_draw_pixbuf (drawable, NULL, cache->last_pixbuf, deltax, deltay, opts->widget_x, opts->widget_y, this.width, this.height, GDK_RGB_DITHER_MAX, opts->widget_x, opts->widget_y); but not using this almost equivalent code that directly calls gdk_draw_rgb_image_dithalign: GdkGC *gc = gdk_gc_new (drawable); GdkPixbuf *pb = cache->last_pixbuf; int rowstride = gdk_pixbuf_get_rowstride (pb); guchar *buf = gdk_pixbuf_get_pixels (pb) + deltay * rowstride + deltax * 3; gdk_draw_rgb_image_dithalign (drawable, gc, opts->widget_x, opts->widget_y, this.width, this.height, GDK_RGB_DITHER_MAX, buf, rowstride, opts->widget_x, opts->widget_y); g_object_unref (gc);
Can you try reverting these two commits: 52e3d2cf0e848d8956a6091c68b6d382cbbf4eb6 2678a454e5447ba28cf1aa7c316a1e73b7b30018
This was a weird one, it turns out the list view is in a notebook which also has a iconview which is not visible. When the icon view gets the page change it scrolls, calling gdk_window_scroll on the icon view window. the scroll code checks to see if the window is mapped before copying anything, but this check fails because the icon view is mapped, while its parent is not. Checking for viewable rather than mapped fixed this. Fixed in git.
*** Bug 588057 has been marked as a duplicate of this bug. ***