Sofar I could narrow this regression down to an issue related to UbuntuShape. If it's UbuntuShape itself, a regression in Qt 5.2 in combination with UbuntuShape or just Qt 5.2 itself I'm still figuring out.
For the time being - until it is fixed for real - you can use the "x-canonical-non-shaped-icon" as a work-around to correct the rendering of the avatar-icons right now. This hint is actually meant to allow an application to avoid masking the icon (e.g. SVGs, PNGs with alpha) with the UbuntuShape.
Sofar I could narrow this regression down to an issue related to UbuntuShape. If it's UbuntuShape itself, a regression in Qt 5.2 in combination with UbuntuShape or just Qt 5.2 itself I'm still figuring out.
For the time being - until it is fixed for real - you can use the "x-canonical- non-shaped- icon" as a work-around to correct the rendering of the avatar-icons right now. This hint is actually meant to allow an application to avoid masking the icon (e.g. SVGs, PNGs with alpha) with the UbuntuShape.
In C/C++ code do...
notify_ notification_ set_hint (notification, "x-canonical- non-shaped- icon", g_variant_ new_string ("true"));
... to set said hint. Do that after notify_ notification_ new(... ) but before notify_ notification_ show (...)