Bug 72551

Summary: X/RENDER error with blend mode operators
Product: cairo Reporter: Andrzej <ndrwrdck>
Component: xlib backendAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Andrzej 2013-12-10 00:10:13 UTC
These two functions (_color_lighten, _color_selected):
http://git.xfce.org/xfce/thunar/tree/thunar/thunar-icon-renderer.c?id=thunar-1.6.2#n311

trigger an X error:

BadValue, error_code 2 request_code 155 minor_code 8

on call to cairo_mask.

Tested on RHEL5 (AFAIR, RENDER version is 0.09) with cairo 1.12.2 installed in $HOME. All blend mode operators I tried were failing, all simple ones (CAIRO_OPERATOR_ADD etc) worked fine.
Comment 1 Andrzej 2013-12-19 21:30:55 UTC
Xfce (thunar) bug report:

https://bugzilla.xfce.org/show_bug.cgi?id=10557
Comment 2 Andrzej 2015-01-18 11:47:11 UTC
Any progress on that?

AFAIR the issue was that Cairo was not detecting RENDER version correctly and was trying to use unsupported blend mode operators.

Because of this issue we (Thunar) have to avoid more complex operators altogether because they crash the application on older X servers.
Comment 3 GitLab Migration User 2018-08-25 13:52:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/240.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.