After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776969 - Huge icons in meeting invites when using SVG icon theme
Huge icons in meeting invites when using SVG icon theme
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.22.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-01-07 04:02 UTC by Henrique Lechner
Modified: 2017-01-09 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stock_new-meeting as hude icon (66.37 KB, image/png)
2017-01-07 04:02 UTC, Henrique Lechner
Details
go-jump huge icon (22.50 KB, image/png)
2017-01-07 04:05 UTC, Henrique Lechner
Details

Description Henrique Lechner 2017-01-07 04:02:36 UTC
Created attachment 343068 [details]
stock_new-meeting as hude icon

The icons on invite/calendar can be huge if the Icon Theme is made in SVG and also uses the attribute "viewBox", an example is the "Numix Icon Theme".

When you open an email which is an calendar invitation there will be 2 icons that will be huge: 
- stock_new-meeting.svg (16px)
- go-jump.svg (16px)

The first one is (stock_new-meeting) this icon is displayed aside of "__NAME__ request your presence at the following meeting:" text.

The second one is the icon on "Open Calendar" button.

This issue was replicated on the following Operation Systems: Ubuntu 16.04 and Ubuntu 16.10 and on the following Evolution versions: 3.18, 3.20 and 3.22

We have found this behavior only inside these two icons mentioned above, the rest seems to be fine.

As workaround it's possible to change the SVG by removing the following attribute:
viewBox="0 0 16 16"

And adding:
height="16" width="16"


Here the procedure to reproduce the issue into the Ubuntu 16.04:
- Install Ubuntu 16.04.1
- Install Evolution (the repository still use the version 3.18, you can install manual or use Ubuntu 16.10 instead)
- Install gnome-tweak-tool (to change the icon theme)
- Add the PPA for numix icon theme: sudo add-apt-repository ppa:numix/ppa
- Install Numix Icon Theme: sudo apt-get install numix-icon-theme
- Change the icon theme to "numix" using the gnome-tweak-tool

- Configure your email account on Evolution (I set an IMAP account)
- From a different email account send to you an calendar invitation
- Double click on this email

Then you'll be able to check this issue.

This issue was originally traced and troubleshooted on the following issue on github:
https://github.com/numixproject/numix-icon-theme/issues/1076
Comment 1 Henrique Lechner 2017-01-07 04:05:08 UTC
Created attachment 343069 [details]
go-jump huge icon
Comment 2 Milan Crha 2017-01-09 14:32:31 UTC
Thanks for a bug report.

(In reply to Henrique Lechner from comment #0)
> As workaround it's possible to change the SVG by removing the following
> attribute:
> viewBox="0 0 16 16"
> 
> And adding:
> height="16" width="16"

Just to clarify, the above is for the SVG images, which the evolution has out of the control.

On the evolution side, the icons are drawn using WebKitGTK+, thus they are part of an HTML page. It looks like the viewBox is not the same as specifying width/height for it. I do not blame WebKitGTK+, the Evolution should define width/height of the <img> anyway, which is what I did.

Created commit 25d8b4e in evo master (3.23.4+)
Created commit 8a0000f in evo gnome-3-22 (3.22.4+)