Hello, i am experiencing some issues with displaying the page_icon.
it’s a bit confusing, but here is the starting code i used :
After running the app it works and every thing run correctly excepting the page icon that is not displayed, instead i have the globe icon.
Can anyone help me to explain that.
Thank you !
Can you try passing it as a short code:
page_icon=':bar_chart:' in case there is some odd behavior around character encoding?
I can reproduce your issue using streamlit 0.17.0. I tried with both emoji and shortcode, locally and in Streamlit Cloud, latest Gnome Web and Firefox (Arch).
Here is the sample code in the
docs, deployed to Streamlit Cloud:
You can see the code by clicking “View app source” in the hamburger menu.
Hello, i just tried with short code and nothing changes…
I spun up an example and same as
@Goyo I am seeing that it’s not working for either. I am trying different icons to test more “basic” emojis and also different versions of Streamlit and Python to see if there is a point at which it broke, but it appears right now to be a bug…
Hello, Thank you for the reply.
When i click on your app i don’t have any page_icon displayed. i don’t know if it’s normal or it’s a local issue in my browser ?
There should be a fix coming for this soon:
02:26PM - 11 Jan 23 UTC
11:27PM - 20 Jan 23 UTC
- [X] I have searched the [existing issues](https://github.com/st
@marduk. I was searching for an open issue and I guess I missed it since it was just marked closed. There is another open issue mentioning Safari specifically, so hopefully the new fix will catch up on that bug too. set_page_config page icons do not work in Safari · Issue #2514 · streamlit/streamlit · GitHub
It certainly depends on browser support. For me, Gnome Web does not show any favicon but Firefox does, just not the one I asked for.
PD. The Safari issue mentioned in another answer might be affecting Gnome Web too.
If I understand this merged PR correctly, this fix will apply to
streamlit >= 1.18.0 ?
Sorry not trying to spam the thread here, but can anyone confirm that this this fix will
only apply to
streamlit >= 1.18.0 ?
Nobody knows the future but i think it is safe to assume that.
@Goyo sorry for the spamming