GNOME Bugzilla – Bug 733357
The rendered image sometimes has vertical stripes at the right edge
Last modified: 2015-05-23 20:07:28 UTC
I would like to upstream some fixes from the copy of GeglGtkView that we have in gnome-photos. Admittedly we are using gegl-0.2 because that is what the distributions are carrying, but the fixes are still relevant. See the screenshot in bug 733355
Created attachment 281100 [details] [review] Use cairo API to calculate stride
Created attachment 281101 [details] [review] Fix vertical strips in the rendered image
Review of attachment 281101 [details] [review]: How does the artifacts you see look like? I expected the gegl_node_blit() below the g_malloc() to fill out the entire buffer that is allocated. So I'm a bit skeptical of this fix, might be hiding other bugs...
Review of attachment 281100 [details] [review]: Looks good!
Comment on attachment 281100 [details] [review] Use cairo API to calculate stride Thanks for the review, Jon.
The patch has already been applied, but the bug lingered open. commit 5dbb89dc0518efa047595cdb63b0b3265422cd30 Author: Debarshi Ray <debarshir@gnome.org> Date: Fri Jul 18 15:57:46 2014 +0200 Use cairo API to calculate stride (bug 733357) The cairo documentation recommends this because the stride maybe larger than width * bytes_per_pixel to provide proper alignment for each pixel and row.
We kept it open for the other patch (attachment 281101 [details] [review]), which actually addresses the vertical stripes. However, Jon might be right about there being other bugs lingering in the code. eg., bug 747446 might be related.