https://bugs.kde.org/show_bug.cgi?id=359734

--- Comment #12 from Thomas Lübking <thomas.luebk...@gmail.com> ---
There's something terribly odd here.

The alpha channel actually works "somehow", but it seems it's interleaved with
the color channels.
Blue, red or black show a reasonable alpha, but even a mid gray (160,160,160)
with a supposed alpha of 16 is rather opaque (maybe 160?) - and white!

Converting the image to QImage::Format_ARGB32_Premultiplied or
QImage::Format_RGBA8888 (it's QImage::Format_ARGB32 and I explicitly painted
the content to avoid loading issues) has no impact.

static xcb_render_picture_t createPicture(xcb_pixmap_t pix, int depth)
always takes a depth of 32 and returns the same format (regardless of the image
color)

On top of that, it looks somewhat related to the composition - yellow on black
seems far more opaque than yellow on white, XCB_RENDER_PICT_OP_ATOP instead of
XCB_RENDER_PICT_OP_OVER doesn't change that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to