Bug 39796 - App Center - support for SVG icons
App Center - support for SVG icons
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-05 13:41 CET by Dirk Wiesenthal
Modified: 2017-04-05 14:39 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2015-11-05 13:41:33 CET
Currently, an ISV has to state

Logo=mylogo.svg

in the ini file. This is not really necessary. The logo file is found by create_index_json and then downloaded from the UCS server - with a completely different name.

If it is mylogo.svg, myotherlogo.svg or anything else does not matter anymore as soon as the index.json.gz is created. When a script would access app.logo, it has no meaning.

We should remove this attribute from the ini file, it is just confusing.

Instead we may want to introduce a convention. In 4.0 every app_xxx.ini had its app_xxx.png. We could do this for app_xxx.svg and app_xxx.details.svg, too.

We may also use this approach:
meta-inf/4.1/appid/appid.svg
meta-inf/4.1/appid/appid_yyy.svg

meta-inf/4.1/appid/appid_xxx.ini -> uses appid.svg
meta-inf/4.1/appid/appid_yyy.ini -> uses appid_yyy.svg
meta-inf/4.1/appid/appid_zzz.ini -> uses appid_yyy.svg because zzz > yyy

+++ This bug was initially created as a clone of Bug #39525 +++

For a more flexible and improved view, we will support (and prefer) with UCS 4.1 SVG images as app icons. This may include different icons for gallery view and app page.

+++ This bug was initially created as a clone of Bug #38894 +++

The UMC App Center usability should be improved. The app list is getting longer and longer. :)
Comment 1 Alexander Kläser univentionstaff 2015-11-05 14:46:06 CET
(In reply to Dirk Wiesenthal from comment #0)
> Currently, an ISV has to state
> 
> Logo=mylogo.svg
> 
> in the ini file. This is not really necessary. The logo file is found by
> create_index_json and then downloaded from the UCS server - with a
> completely different name.
> 
> If it is mylogo.svg, myotherlogo.svg or anything else does not matter
> anymore as soon as the index.json.gz is created. When a script would access
> app.logo, it has no meaning.
> 
> We should remove this attribute from the ini file, it is just confusing.
> 
> Instead we may want to introduce a convention. In 4.0 every app_xxx.ini had
> its app_xxx.png. We could do this for app_xxx.svg and app_xxx.details.svg,
> too.
> 
> We may also use this approach:
> meta-inf/4.1/appid/appid.svg
> meta-inf/4.1/appid/appid_yyy.svg
> 
> meta-inf/4.1/appid/appid_xxx.ini -> uses appid.svg
> meta-inf/4.1/appid/appid_yyy.ini -> uses appid_yyy.svg
> meta-inf/4.1/appid/appid_zzz.ini -> uses appid_yyy.svg because zzz > yyy

I am against implicit conventions and find the current approach just fine. The properties can be clearly documented in an example .ini file and are much more transparent.
Comment 2 Dirk Wiesenthal univentionstaff 2017-04-05 14:39:51 CEST
I do not think this is ever going to be implemented now that we have the App Provider Portal.