Contact sync notification icon contains dialer app icon in the background

Bug #1353550 reported by Renato Araujo Oliveira Filho on 2014-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sync-monitor
Medium
Mirco Müller

Bug Description

After enable the contact sync a notification message appears. On the notification icon you will be able to see a dialer app icon on the background.

summary: - Contact sync notification icon contains dialer app icon in the back
+ Contact sync notification icon contains dialer app icon in the
+ background
Changed in sync-monitor:
importance: Undecided → Critical
importance: Critical → Medium
Mirco Müller (macslow) on 2014-08-06
Changed in sync-monitor:
assignee: nobody → Mirco Müller (macslow)
status: New → In Progress
Mirco Müller (macslow) wrote :

Sofar I've been able to narrow it down to some bug in QMLs Image-element with regards to SVG-icons. I've created PNG-versions of the icons being affected and didn't get any visual glitches.

/usr/share/icons/ubuntu-mobile/apps/scalable/contacts-app.svg and /usr/share/icons/ubuntu-mobile/apps/scalable/calendar.svg as PNGs do render correctly in notifications if passed as main icon or secondary icon.

Thus this is not a bug in

Mirco Müller (macslow) wrote :

... is not a bug in sync-monitor or the notification-system of unity8. The glitches also show up in a stand-alone QML-example on the phone itself or on the desktop. I've attached an isolated example QML-file and its screenshot for reference.

Mirco Müller (macslow) wrote :
Mirco Müller (macslow) wrote :
Mirco Müller (macslow) wrote :

The observed rendering-glitches are due to bugs in Qt's SVG-renderer. There are many bugs filed upstream against Qt's SVG-render-engine. Too many to list here. A further note that has to be made, is that Qt only supports "SVG 1.2 Tiny" and the two icons in question...

/usr/share/icons/ubuntu-mobile/apps/scalable/calendar.svg
/usr/share/icons/ubuntu-mobile/apps/scalable/contacts-app.svg

... are "SVG 1.1. Full". One major problem this exposes is the clipPath-feature used in these two icons not being supported by the "SVG 1.2 Tiny" standard, thus not handled by Qt/QML... hence the rendering glitches.

Despite the shortcomings of Qt's SVG-render-engine, we should not be using SVGs with embedded bitmap-data being several hundered kilobytes (up to a few megabytes in some cases) in size as icons. That is hurting rendering performance. The same file saved as PNG in the native resolution is in general about four times smaller in size.

calendar.svg -> calendar.png: 727289 KBytes -> 197988 KBytes
contacts-app.svg -> contacts-app.png: 855552 KBytes -> 263874 KBytes

I marked this as "Won't fix".

What we need to do is convert all SVGs of our typical icon-themes ("suru", "ubuntu-mobile") to PNGs.

Changed in sync-monitor:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers