Spin off from "Bug 39555 - 256px Desktop icons are missing", suggestion of tester8
Might be a good idea to have Desktop icons as .svg and supply bitmaps for OS that do not support vector graphics for icons.
Thorsten, Christoph, are they available anywhere?
They can be installed on system to the icons/hicolor/scalable subdirectory. So, we need them in the sources under sysui/desktop/icons/hicolor/scalable.
Note that we are looking also for the 256x256 size, see the bug #39555.
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI
Present mimetype icons seem to be here: http://wiki.documentfoundation.org/images/3/3e/LibreOffice_Initial_Icons_Bernhard_draft_0-1.svg (link might change, [Media:LibreOffice_Initial_Icons_Bernhard_draft_0-1.svg] in the wiki should remain working).
The svg seems to be incomplete. I think that the final svg is at
I am going to add the icons.
Hmm, I have updated http://wiki.documentfoundation.org/File:LibreOffice_Initial_Icons-pre_final.svg and provided 256 icons to fix the bug #39555.
I can't find a reasonable way how to generate the scalable .svg files for each icon from the huge .svg. It works neither from inkscape commandline, nor from UI. Anyone has any idea?
>Anyone has any idea?
I can ask on linuxgraphics.ru forum when my account will confirmed.
How do you generate .pngs, can you publish script or something?
May be it helps with svg.
The .pngs are generated using the script http://users.freedesktop.org/%7Ethorsten/bin/cnvsvg.py. So, it cals:
inkscape -i <some_object_id> -e out_file.png LibreOffice_Initial_Icons-pre_final.svg
I tried to use -l/--export-plain-svg instead of the -e option but it did not work. It produced .svg file with all objects and complained that the PNG file name was not defined and it was not able to generate it.
I tried to search something usable in the inkscape menu but without success.
One solution would be to cut and paste the selected parts into extra .svg files but it is a bit painful. Also I am not sure if it keeps the correct vector definition.
>I tried to search something usable in the inkscape menu but without success.
I haven't any good news too. Forum admin wrote to me: "Sometimes this questions asked but there is no any solution yet."
So I think we should ask Inkscape developers and if there is no way other than manually it will be feature request.
BTW there is a new nice tool to clean svg
It reduces size of LibreOffice_Initial_Icons-pre_final.svg twice.
I found a volunteer to do it manually )
But he needs list with filenames for export, or better this plus all png pictures properly named. Where can I get it (can't copy from my installation because of lodev in names)?
I should ask him to accept Creative Commons Attribution-ShareAlike 3.0 Unported License, do I?
>Also I am not sure if it keeps the correct vector definition.
Please explain in detail.
But this does not cancell my words about feature request.
It was not easy but one sophisticated way was founded and now it is done.
Here is discussion in Russian: http://linuxgraphics.ru/forum/viewthread.php?thread_id=1149&pid=11782#post_11754.
There is my free translation of main amuriy's comment with some additions:
To make works export to separate files by ID it is needed: first delete "transform" attribute from "top" layer properties (it is advaced here: https://bugs.launchpad.net/inkscape/+bug/743987). What have I done: group all objects for each icon and move them to the new layer without "transform" attribute. Delete empty layers (automatically it can be done with SVG Cleaner).
Then run shell-script http://pastebin.com/HbHFbaNy --> export off all the groups from *.svg to PDF --> then with pdf2svg http://www.cityinthesky.co.uk/opensource/pdf2svg back to SVG.
Bad thing that it exports ALL thr groups and some of theem is empty for some unknown reason so result SVG'S should be sorted manually...
There is resulted svgs:
Then we found mistake in g103115.svg (some bug in svg->pdf). Corrected image is there: http://linuxgraphics.ru/forum/viewthread.php?thread_id=1149&getfile=11782
But may be there is an errors in some other images I have check only some first.
Created attachment 56573 [details]
Screenshot of the strange broder around macro icon
First, I am sorry for the late replay. There were more urgent things that needed to be done before 3.5.0 release.
Second, I was not able to download the svg icons from http://rghost.net/35903405. The file was marked as deleted. Also it asked for my credit-card number that I did not want to give.
Third, the picture from http://linuxgraphics.ru/forum/viewthread.php?thread_id=1149&getfile=11782 looks promising. The only problem is the strange border around the icon. I do not see it in the original svg with all the icons.
IMHO, the tarball with all icons should not be that huge. We need the following icons:
Please, look at https://gitorious.org/libreoffice/core/trees/master/sysui/desktop/icons/hicolor to see how the corresponding .png icons look like.
Note that the "startcenter" and "main" icons are the same.
Also note that the primary source should be accessible via http://cgit.freedesktop.org/libreoffice. Unfortunately, this service does not work today, so I send link to the read-only copy on gitorious.org.
Could you please remove the strange border?
Could you please attach only the wanted svg icons to this bug?
It would help a lot.
>Could you please remove the strange border?
It is Inkscape page border. I have turn it off (File->Document properties->Show page border), anyway it should not be displayed in any app excluding Inkscape.
>Could you please attach only the wanted svg icons to this bug?
Yes, but there is a problem: summary size of result is 14 MB (original file is 1.8 MB). I tried to reduce it with svg cleaner, but it damage files.
Created attachment 56884 [details]
Petr Mladek committed a patch related to this issue.
It has been pushed to "master":
add scalable desktop icons (fdo#39690)
@tester8: thanks a lot for the updated icons. I have finally got time to look at it again and pushed them into master.
I did few more changes:
* replaced impress.svg with oasis-presentation.svg because there was missing
the green "line" in the chart
* fixed draw.svg and *drawing*.svg; there was a box around the circle
* added an invisible box around all icons to get the printable area
256x256 square instead of the rectangle (like we have for png icons)