#10581 closed enhancement (fixed)
Include icons in auto-created table of (external) plugin/style/preset/validator page
Reported by: | skyper | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | 15.02 |
Component: | Trac | Version: | |
Keywords: | icon | Cc: | Klumbumbus |
Description
Would be nice if the icons would be included on the automatically created table of external components, similar to the GUI under preferences
Attachments (0)
Change History (29)
comment:1 by , 10 years ago
Cc: | added |
---|
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:3 by , 10 years ago
E.g. here: Styles/ one more column on the left with the icon of the style.
follow-up: 6 comment:4 by , 10 years ago
Ah ok. Well. That's a lot of work. I'll see what I can do.
Didn't know that we have icons for the style, presets and validator rules now.
comment:6 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Replying to stoecker:
Ah ok. Well. That's a lot of work. I'll see what I can do.
Well, then it should be on low priority.
comment:9 by , 10 years ago
I thought before commit "Do you need to test it or is it easy enough". Well - now I know the answer :-)
follow-up: 11 comment:10 by , 10 years ago
Ok. For external links the icons are now displayed (only Styles have some).
This does not mean to add external links to styles now to fix the others!
It simply means now the real work to extract the icons needs to be done - i.e. that "a lot of work part". This is a little more complicated than for plugins.
follow-up: 12 comment:11 by , 10 years ago
Replying to stoecker:
(only Styles have some).
Also Presets/StolpersteineLight has an external linked icon for example. It is in the <item>
part. Does it also need to be outside of it?
comment:12 by , 10 years ago
Replying to Klumbumbus:
Replying to stoecker:
(only Styles have some).
Also Presets/StolpersteineLight has an external linked icon for example. It is in the
<item>
part. Does it also need to be outside of it?
Yes. A global icon must be in <presets ... icon="..."> like all the other global informations.
comment:13 by , 10 years ago
Note: also inline encoded "data:" is supported now, but needs a preliminary trac patch (ticket:11773).
comment:14 by , 10 years ago
External icons in zip files now also supported. Missing the wiki pages (i.e. the majority) and links to JOSM internal icons.
comment:16 by , 10 years ago
I don't know what is wrong here. I changed the icon for Styles/Maxspeed to svg. It is no longer displayed in the list at Styles/ (list works again) and in JOSM. (I first uploaded the icon with (NOZIP)
and later replaced it without (NOZIP)
.)
While for Styles/sac_scale the icon is displayed in the list but not in JOSM.
comment:17 by , 10 years ago
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-10-26 02:33:42 Last Changed Author: Klumbumbus Revision: 7653 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-10-25 16:39:46 +0200 (Sat, 25 Oct 2014) Last Changed Rev: 7653 Identification: JOSM/1.5 (7653 en) Windows 7 32-Bit Memory Usage: 247 MB / 742 MB (187 MB allocated, but free) Java version: 1.7.0_71, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=57535, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==] Program arguments: [--debug] Plugins: - DirectUpload (30737) - HouseNumberTaggingTool (30762) - OpeningHoursEditor (30737) - PicLayer (30762) - Tracer2 (30762) - buildings_tools (30762) - download_along (30762) - editgpx (30737) - imagery_offset_db (30762) - measurement (30737) - notes (v0.9.4) - public_transport (30762) - reltoolbox (30762) - reverter (30737) - tag2link (30719) - terracer (30737) - turnrestrictions (30762) - undelete (30762) - utilsplugin2 (30762) Last errors/warnings: - E: Failed to locate image 'maxspeed_icon.svg' - W: Mappaint style "standard" (Höchstgeschwindigkeit) icon "maxspeed_icon.svg" not found. - E: Failed to locate image 'sac_scale_icon.svg' - W: Mappaint style "standard" (sac_scale) icon "sac_scale_icon.svg" not found.
follow-ups: 21 22 comment:19 by , 10 years ago
You need to remove the styles in JOSM and readd it, because your link still goes to the XML variant, whereas together with icon it is now ZIP. To prevent this in future all links to the wiki are now ZIP (saves also bandwidth).
comment:20 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:21 by , 10 years ago
Replying to stoecker:
You need to remove the styles in JOSM and readd it, because your link still goes to the XML variant, whereas together with icon it is now ZIP. To prevent this in future all links to the wiki are now ZIP (saves also bandwidth).
Thanks. Works now. I thought clearing the cache for this style would be enough.
comment:22 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to stoecker:
You need to remove the styles in JOSM and readd it, because your link still goes to the XML variant, whereas together with icon it is now ZIP. To prevent this in future all links to the wiki are now ZIP (saves also bandwidth).
As you can see I still have missing icons and their warnings after some weeks.
I also saw some of these errors in other tickets (e.g. #10764, #10753, #10735)
The update should be an automatic task. Otherwise every user needs to remove and readd all styles manually, to get the icon!?
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-11-24 02:33:57 Last Changed Author: Don-vip Revision: 7743 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-11-23 23:54:40 +0100 (Sun, 23 Nov 2014) Last Changed Rev: 7743 Identification: JOSM/1.5 (7743 de) Windows 7 32-Bit Memory Usage: 247 MB / 742 MB (169 MB allocated, but free) Java version: 1.7.0_71, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=63678, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==] Dataset consistency test: No problems found Last errors/warnings: - E: Fehler beim Laden des Bildes 'josm_small.png' - W: Mappaint style "standard" (JOSM default (XML; old version)) icon "josm_small.png" not found. - E: Fehler beim Laden des Bildes 'error_small.png' - W: Mappaint style "standard" (FIXME Highlight Warnings) icon "error_small.png" not found.
comment:23 by , 10 years ago
Would require rewriting all the URL's of installed josm server presets and styles by adding "&zip=1" if not yet added. Probably a task for our config updater possibility.
comment:24 by , 10 years ago
Milestone: | → 14.12 |
---|
comment:25 by , 10 years ago
Milestone: | 14.12 → 15.01 |
---|
comment:26 by , 10 years ago
Milestone: | 15.01 → 15.02 |
---|
move tickets that have not been treated this month to next milestone
comment:27 by , 10 years ago
Milestone: | 15.02 → 15.03 |
---|
comment:29 by , 10 years ago
Milestone: | 15.03 → 15.02 |
---|
I don't understand what you want.