Page 1 of 1
Erasing the default icon set in project properties
Posted: Mon Jun 03, 2024 9:27 am
by es_91
Hi
When you create a project, say you export into web format, you can set an icon (png) to be displayed as the favicon in your web browser. It is the page's ident icon.
I created a new project and just use the F5 debug functionality - the web browser opens and interprets the code - HOWEVER it USES THE OLD ICON set in a previous project by default and i can not change that in the IDE!
How to get rid of that icon? I've tried to erase the browsers cache (as far as Edge is allowing that - just erased "temporary files" -- helped nothing)

Re: Erasing the default icon set in project properties
Posted: Mon Jun 03, 2024 9:29 am
by Peter
<Ctrl> + <F5> in the browser should help.
Re: Erasing the default icon set in project properties
Posted: Mon Jun 03, 2024 4:01 pm
by es_91
Nope. Doesn't work.

Re: Erasing the default icon set in project properties
Posted: Mon Jun 03, 2024 5:01 pm
by plouf
have you upload in the same directory? is still there favicon.ico file? (have to delete it)
Re: Erasing the default icon set in project properties
Posted: Tue Jun 04, 2024 9:49 am
by es_91
plouf wrote: Mon Jun 03, 2024 5:01 pm
have you upload in the same directory? is still there favicon.ico file? (have to delete it)
I use 127.0.0.1, and can you tell me where the temporary compile is stored?
When exporting into a new directory, the exports works fine. Starting the code from IDE
then with F5, however, brings back the cached icon.
/Addendum: I found the directory from where the temp compile is started: it is the source code's directory. In there is no favicon, but it is used however. And it only runs this way using the IDE, because the .html is not working standalone.
Re: Erasing the default icon set in project properties
Posted: Tue Jun 04, 2024 2:50 pm
by plouf
open produced html with textedit
does it have the following line ?
<link rel="icon" type="image/png" href="favicon.png"/>
if it DOES exist, you have not clear "icon" in creteapp form
if NOT, then its temporary cache of your browser, try clearing everything ad/or a new browser and you sill see not displayed
Re: Erasing the default icon set in project properties
Posted: Wed Jun 05, 2024 3:01 pm
by es_91
plouf wrote: Tue Jun 04, 2024 2:50 pm
<link rel="icon" type="image/png" href="favicon.png"/>
[...]then its temporary cache of your browser, try clearing everything ad/or a new browser and you sill see not displayed
Affirmative. The icon file needs to be erased from the browser's temporary file cache. I never do that. Let's see.
Perhaps i code a little tool to auto-erase it. I wonder why a project compiler setting changes the global icon...
