QtMir returns RGB32 for XRGB while still defaulting to 0x00 for the alpha.

Bug #1383430 reported by Brandon Schaefer
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

    case mir_pixel_format_xrgb_8888:
        // 0xffRRGGBB
        return QImage::Format_RGB32;

This is true that 0xFF is default for Qt, but somewhere Mir changes it to default 0x00 alpha. Either that needs to be hunted down or we could simply just return:

            return QImage::Format_RGBX8888;

As that is the correct format.

Related branches

summary: - QtMir return RGB32 for XRGB while still defaulting to 0x00 for the
+ QtMir returns RGB32 for XRGB while still defaulting to 0x00 for the
alpha.
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

This actually still doesn't fix the issue :(. Using RGBX8888 still gives a transparent surface. Ill have to dig more into how this is actually happening....

Revision history for this message
Gerry Boland (gerboland) wrote :

Hey Brandon, how can I reproduce this issue? If you could recommend a simple client, it would be great

Changed in qtmir:
status: New → Incomplete
Changed in qtmir (Ubuntu):
status: New → Incomplete
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Ill have to revisit why, and incomplete sounds good. I've got 60/90 days to figure out :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qtmir (Ubuntu) because there has been no activity for 60 days.]

Changed in qtmir (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QtMir because there has been no activity for 60 days.]

Changed in qtmir:
status: Incomplete → Expired
Michał Sawicz (saviq)
no longer affects: qtmir
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.