You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "SupersetOdT (via GitHub)" <gi...@apache.org> on 2025/08/22 15:43:59 UTC

[I] "APP_ICON" is not displayed [superset]

SupersetOdT opened a new issue, #34824:
URL: https://github.com/apache/superset/issues/34824

   ### Bug description
   
   The configuration variable "APP_ICON" does not seem to apply in the same way in Superset 6.0.0rc1 as in version 4.1 and 5.0.0.
   
   ### Screenshots/recordings
   
   The APP_ICON is not displayed while
   
   The image is present in:
   ![Image](https://github.com/user-attachments/assets/e5f20da1-78a4-41d7-b2bd-df9e2590ce01)
   
   nd that the configuration variable is set to:
   
   APP_ICON = "/static/assets/images/logo_odt.svg"
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3216537549

   OK. In my case, "LOGO_RIGHT_TEXT", "LOGO_TOOLTIP", "LOGO_TARGET_PATH" work well with version 6.0.0rc1 but not APP_ICON. I checked the items you mentioned. 
   I did not understand well whether or not APP_ICON will continue to be used or if in the future it will be necessary to customize its frontend otherwise.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-4898788574

   This is intentional behavior change in v6: logo customization moved to the theme token brandLogoUrl (THEME_DEFAULT/THEME_DARK). Reporter confirmed the new config works and a maintainer added an [UPDATING.md](http://updating.md/) entry. The per-theme-logo follow-up was answered with a working config. DONE!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3217023579

   OK great! It works!
   
   Here is my config that works:
   
   THEME_DEFAULT = {
       "token": {
           "colorPrimary": "#2893B3",
           "colorSuccess": "#5ac189",
           "colorWarning": "#fcc700",
           "colorError": "#e04355",
           "fontFamily": "'Inter', Helvetica, Arial",
           "brandLogoUrl" : "/static/assets/images/logo_odt.svg",
           # ... other tokens
       },
       # ... other theme properties
   }
   
   Here is the one to be removed because it no longer has an effect starting with v6.0.0rc1:
   # APP_ICON =
   
   Nice evolution that allows to structure the customization of the theme in the config !!
   
   Is it possible to update the docu?
   https://github.com/apache/superset/blob/6.0/superset/config.py


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3214839252

   <!-- Answer -->
   The APP_ICON config variable is still present in Superset, but in recent versions (including 6.0.0rc1/master), it is no longer actively used for rendering the logo in the UI. Branding and logo display logic has moved to other config variables and frontend components, such as LOGO_RIGHT_TEXT, LOGO_TARGET_PATH, and LOGO_TOOLTIP, as well as the Menu component in the frontend. There is no evidence that THEME_DEFAULT or THEME_DARK are supported config variables for logo customization, and logo rendering is not theme-aware by default. To customize the logo, you should continue to set APP_ICON in your superset_config.py, but if it is not displaying, check for static asset issues (such as build status, permissions, or reverse proxy config) and ensure your image path is correct. If the logo still does not appear, it may be due to recent changes in how branding is handled, and further frontend or backend changes may be required for advanced customization.  
   [Source 1](https://github.com/apache/superset/issues/34612) | [Source 2](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/config.py) | [Source 3](https://github.com/apache/superset/pull/34318)
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1eafe8d9-4378-4178-8928-004c931e51ec?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34824)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "iercan (via GitHub)" <gi...@apache.org>.
iercan commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3484336851

   I've had same problem about logo. Tried on 6.0.0rc2 and current master. I think solution described here is not a proper solution because it is only affecting default theme. If user switches to dark theme, logo is also changing to default. There should be a global APP_ICON config that should set icon for all themes. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3336231790

   I actually created an entry in UPDATING.md for this now so people can go there for reference.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #34824: "APP_ICON" is not displayed
URL: https://github.com/apache/superset/issues/34824


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3494092712

   Just add it in the "dark theme" section of the config.py file. 
   
   THEME_DARK = {
     "token": {
         "colorPrimary": "#4d9aff",
         "colorSuccess": "#4caf50",
         "colorWarning": "#ffb74d",
         "colorError": "#f44336",
         "fontFamily": "'Inter', Helvetica, Arial",
         **"brandLogoUrl" : "/static/assets/images/dark_logo_odt.svg",**
       },
       "algorithm": "dark",
     }
   
   Personally, I find it interesting to have the choice of adapting or not the colors of the logo according to the theme. My logo uses dark gray (on the 'light' theme) which becomes almost invisible in the dark theme. I can therefore adapt the colors of the logo to the theme in order to make it more apparent. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] "APP_ICON" is not displayed [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34824:
URL: https://github.com/apache/superset/issues/34824#issuecomment-3216537967

   <!-- Answer -->
   APP_ICON is no longer used for logo customization in Superset v5 and later, including 6.0.0rc1. To set a custom logo, you should use the theme configuration variables THEME_DEFAULT and THEME_DARK in your superset_config.py, setting brandLogoUrl to your image path. This is now the recommended and supported method for logo branding, and APP_ICON is effectively deprecated and ignored by the frontend. Future logo changes will require updating these theme variables, not APP_ICON.  
   [Details here](https://github.com/apache/superset/issues/34612)
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dac94e82-f638-458c-ac27-6d836fea4341?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34824)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org