rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: rejetto on May 18, 2020, 01:52:09 PM

Title: system icons
Post by: rejetto on May 18, 2020, 01:52:09 PM
Sometimes system icons don't look good on the web, and they can slow the operations.
Some templates are already doing without.
Title: Re: system icons
Post by: LeoNeeson on May 18, 2020, 06:38:15 PM
I've voted for "I don't care if they are different. I just want them to be nice.", but it would be nice if an option is left (on HFS's menu) to enable the old feature (if the user wants). Unicode icons (as well as emojis) are nice, but some operating systems doesn't have complete support for them. So, even if you use unicode icons by default (which are nice), if you leave an option on HFS, then users could enable that feature again (for getting icons from the server). Well, it's just my opinion... :)
Title: Re: system icons
Post by: SilentPliz on May 18, 2020, 07:04:46 PM
In main.dfm : usesystemiconsChk
Isn't this option already optional?

But I don't remember, maybe it is just for the treeview (GUI).

(I vote 2, and 1 too) :)

I hesitate, because the current system, is practical to locate among many files of different genres.

My mother used to tell me about beautiful girls: 'beauty cannot be eaten in salads'.
Maybe it's the same for system icons ... Not pretty, but we can love them anyway.
  ::)

Personally, I don't care if there is an icon on the template buttons, but I like that files and folders have a significant icon.

Mask icons may be sufficient ... but this requires intervention by HFS admin.
Title: Re: system icons
Post by: rejetto on May 18, 2020, 08:49:23 PM
@leo, the icons we are using are not using unicode or emojis. It's a dedicated font, like the old 'wingdings' font
Title: Re: system icons
Post by: LeoNeeson on May 18, 2020, 09:36:24 PM
:) Yes, I already know that v2.4 is using embed fonts in CSS (currently using Font Awesome (https://fontawesome.com/), with Fontello (http://fontello.com/) to make the file smaller and only load the icon fonts that you need). Remember this post (http://rejetto.com/forum/index.php?topic=13060.msg1064025#msg1064025)? ;) (I was who suggested you to use Fontello).

I thought you were going to change all those embed icons for unicode icons (like on DJ's templates). Since you said "some templates are already doing without", the first thing I thought you were planning to use unicode icons (instead of using WebFonts). Sorry for my misunderstanding... :-[

Are you planing to remove that feature then? (of getting icons for files and folders from the server's system). For me it's OK :) (if you do this to clean up the source code), I personally don't care too much about this, since the current 'webfonts' (https://www.w3schools.com/css/css3_fonts.asp) are perfect (but I personally don't like unicode icons too much).
Title: Re: system icons
Post by: Rapid on May 19, 2020, 08:03:21 AM
Hi Rejetto!

Maybe it's time to switch from gif to png?
So system icons could be with alpha-transparent.

In Delphi 10 it's very easy - just replace gif with png :)

Title: Re: system icons
Post by: rejetto on May 19, 2020, 09:49:36 AM
Maybe it's time to switch from gif to png?

agreed, added to-do. I shall do it from my other computer, where I have an english Windows.
Title: Re: system icons
Post by: rejetto on May 19, 2020, 10:22:57 AM
Are you planing to remove that feature then? (of getting icons for files and folders from the server's system). For me it's OK :) (if you do this to clean up the source code), I personally don't care too much about this, since the current 'webfonts' (https://www.w3schools.com/css/css3_fonts.asp) are perfect (but I personally don't like unicode icons too much).

no unicode, just icon fonts.
Anyway, i'm for the removal at the moment.
This feature needs fixes with transparency, doesn't scale resolution, and makes little sense: other people see icons they may not understand, because it's from the specific softwares installed on the server. I think it is better to have clearer, standard icons representing the type.

I may keep system icons for the GUI side, because the GUI is visible on the server and some of the problems i just said don't apply.