Convert parts of elementary-xfce to png during pkg-build

Bug #1005785 reported by Simon Steinbeiß
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xubuntu-artwork (Ubuntu)
Fix Released
Undecided
Lionel Le Folgoc

Bug Description

While it eases maintenance, svgs are partly causing problematic behavior in Xfce. The two most prominent examples are the panel and its plugins and xfwm4-tabwin (aka alt-tab). In either svgs result in ugly scaling, converting the icons in question to png completely fixes that.

Converting the whole icon-theme wouldn't make sense, especially icons in */symbolic have to remain svg to remain functional.
I'm proposing to convert at least the icons in apps/ and panel/
At the moment we're shipping the most crucial icons as svg and png, so another benefit would be that we could drop those duplicates.

Finally svgs are reportedly a bit slower than png in rendering with gtk, while I'm not an expert as to how much the difference really is it might be another argument to take into account.

Changed in xubuntu-artwork (Ubuntu):
status: New → Incomplete
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

I experimented a bit yesterday, and a partial conversion is a pain to handle at build time because of symlinks (panel/ is fine, apps/ is a nightmare), e.g.:

./elementary-xfce/stock/48/stock_new-meeting.svg -> ../../apps/48/system-users.svg
./elementary-xfce/stock/48/stock_people.svg -> ../../apps/48/system-users.svg
./elementary-xfce/actions/48/calibrate.svg -> ../../apps/48/gnome-display-properties.svg
./elementary-xfce/actions/48/system-upgrade.svg -> ../../apps/48/system-upgrade.svg
./elementary-xfce/emblems/48/emblem-people.svg -> ../../apps/48/system-users.svg
./elementary-xfce/emblems/48/emblem-shared.svg -> ../../apps/48/gnome-session-switch.svg
./elementary-xfce/emblems/48/emblem-urgent.svg -> ../../apps/48/clock.svg
./elementary-xfce/mimes/64/application-install.svg -> ../../apps/64/system-software-install.svg
./elementary-xfce/mimes/64/application-x-executable.svg -> ../../apps/64/application-default-icon.svg
./elementary-xfce/status/64/aptdaemon-download.svg -> ../../apps/64/system-software-install.svg
./elementary-xfce/status/64/aptdaemon-working.svg -> ../../apps/64/system-software-install.svg
./elementary-xfce/categories/48/applications-webbrowsers.svg -> ../../apps/48/web-browser.svg
./elementary-xfce/categories/48/preferences-desktop.svg -> ../../apps/48/gnome-desktop-config.svg

(these are examples, there are more of them actually)

These symlinks will be broken when I convert apps/ to PNGs.

Revision history for this message
Simon Steinbeiß (ochosi) wrote :

OK, I guess in this case we should convert everything _but_ the icons in symbolic. Usually there shouldn't be any symlinks (at least it wouldn't make any sense and I'd consider it a bug), so these directories are pretty isolated.

Would that make things easier?

Pasi Lallinaho (knome)
Changed in xubuntu-artwork (Ubuntu):
status: Incomplete → New
Changed in xubuntu-artwork (Ubuntu):
status: New → In Progress
assignee: nobody → Lionel Le Folgoc (mrpouit)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xubuntu-artwork - 13.04.0

---------------
xubuntu-artwork (13.04.0) raring; urgency=low

  * Include updated plymouth theme. lp: #830464
  * Include updated elementary-xfce-* icon themes, including:
    - fix identical synaptic and usc icons lp: #1043506
    - fix 32px php mime icon lp: #1060226
    - convert the themes to png and add a rule to regenerate them easily
      from the svg files. lp: #1005785
 -- Lionel Le Folgoc <email address hidden> Fri, 25 Jan 2013 19:21:34 +0100

Changed in xubuntu-artwork (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints