Public bug reported:

With the compositing extension turned on in the X server, some
applications linked with gdk-imlib1 crash with a "Gdk-ERROR: BadMatch"
when 32-bit and 24-bit visuals are combined.  Enabling
"XLIB_SKIP_ARGB_VISUALS=1" in the environment prevents xlib from
informing imlib about 32-bit visuals. However, if imlib can't support
32-bit visuals, then it shouldn't attempt to use them in the first
place. (I'm not certain that imlib doesn't support 32-bit visuals, but a
brief trawl through the code doesn't suggest that it does).

This is the root cause of qiv Bug #41056 and possibly other apps linked
with imlib1/gdk-imlib1.

The attached patch for imlib1 caps the maximum depth used by imlib to
24-bit, and fixes qiv Bug #41056 for me.

** Affects: imlib (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
imlib1 does not correctly handle 32-bit visuals
https://launchpad.net/bugs/70367

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to