Bug 1135114 - Fedora release notes SVG icon rendering issues
Summary: Fedora release notes SVG icon rendering issues
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release-notes
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pete Travis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-28 20:25 UTC by Elad Alfassa
Modified: 2015-10-14 16:39 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-06 19:41:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (390.99 KB, application/octet-stream)
2014-08-28 20:25 UTC, Elad Alfassa
no flags Details

Description Elad Alfassa 2014-08-28 20:25:19 UTC
Created attachment 932472 [details]
screenshot

Fedora release notes ships pre-rendered icons in multiple sizes (as it should) as well as a scalable svg icon.
However, SVG rendering libraries used in the GNOME stack (and probably in other places too) can't render the SVG properly.

This is visible in the shell's switcher when using a laptop or a weirdly-sized virtual machine, and it doesn't look so good. I attached a screenshot to demonstrate.

Seems that somehow the texture is rendered above the color instead of below it.
You can reproduce the bad rendering locally by running

eog /usr/share/icons/hicolor/scalable/apps/fedora-release-notes.svg

And compare to a properly-rendered PNG:

eog /usr/share/icons/hicolor/128x128/apps/fedora-release-notes.png

Seems that inkscape and firefox renders this svg correctly, but other implementations do not.

To fix this I suggest simply dropping the SVG from the shipped package.

Comment 1 Pete Travis 2014-10-18 02:55:28 UTC
It looks like eog doesn't render fills of transparent PNGs well.  I removed the cloth fill layer from the SVG and eog renders it appropriately.  You can verify with the image that will be in the next package build, from https://git.fedorahosted.org/cgit/docs/release-notes.git/plain/build/icons/scalable/apps/fedora-documentation.svg

Comment 2 Pete Travis 2014-12-06 19:41:22 UTC
The 'fixed' icon is in the shipped package.

Comment 3 Bastián Díaz 2015-10-08 20:03:49 UTC
Fedora 23 beta 64 bit (latest updates)
GNOME 3.18.0

I think we should re-open this bug report, because the problem is still present in the latest version of fedora.

See: https://www.dropbox.com/s/f9wofzepnhtla4o/blurred_icon_screenshot.png?dl=0

Cheers

Comment 4 Pete Travis 2015-10-14 14:21:23 UTC
I'll look into it, Bastián, but I think you are seeing an older RPM.  Because of some tooling issues that have since been resolved, the package was not updated for a while. Can you try with fedora-release-notes-23.02-1.fc23, which should be available from an updates-testing repo near you soon?

Comment 5 Bastián Díaz 2015-10-14 16:39:38 UTC
(In reply to Pete Travis from comment #4)
> I'll look into it, Bastián, but I think you are seeing an older RPM. 
> Because of some tooling issues that have since been resolved, the package
> was not updated for a while. Can you try with
> fedora-release-notes-23.02-1.fc23, which should be available from an
> updates-testing repo near you soon?

The last update that I did solve the problem. Icon looks different, but it looks good.

Thank you.


Note You need to log in before you can comment on or make changes to this bug.