Using a custom image for the copied app icon does not work as expected #7718

Closed
opened 2026-02-21 18:22:01 -05:00 by yindo · 2 comments
Owner

Originally created by @kyatai on GitHub (Jan 14, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.1

Cloud or Self Hosted

Cloud, Self Hosted (Source)

Steps to reproduce

  • step 1
    select an app in workroom and choice a pic as copy's icon
    click copy button
    21736847628_ pic

  • step 2
    save it.
    31736847628_ pic

custom image for the copied app icon does not work as expected

✔️ Expected Behavior

custom icon

Actual Behavior

default emoji

Originally created by @kyatai on GitHub (Jan 14, 2025). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.15.1 ### Cloud or Self Hosted Cloud, Self Hosted (Source) ### Steps to reproduce - step 1 select an app in workroom and choice a pic as copy's icon click copy button ![21736847628_ pic](https://github.com/user-attachments/assets/b626f673-cc33-4909-bcd6-53301bb3124d) - step 2 save it. ![31736847628_ pic](https://github.com/user-attachments/assets/b12313f0-1c53-44aa-86b5-25f6ab67529b) custom image for the copied app icon does not work as expected ### ✔️ Expected Behavior custom icon ### ❌ Actual Behavior default emoji
yindo added the 🐞 bug label 2026-02-21 18:22:01 -05:00
yindo closed this issue 2026-02-21 18:22:01 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 14, 2025):

Hey @kyatai! 👋 I'm here to help you with bug fixes, questions, and more.

I found a similar closed issue related to changes not being reflected in the app's preview. The suggested solution was to ensure that the updateAppSiteConfig method is called before or in conjunction with updateAppInfo to update all site-related attributes properly. Additionally, checking for any caching mechanisms that might prevent immediate display of updates was recommended [1].

For your specific issue with the custom image for the copied app icon not working as expected, it might be worth checking if the copyApp function is correctly handling the icon_type, icon, and icon_background parameters during the duplication process. These parameters are used to set the icon properties of the duplicated app [2][3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot[bot] commented on GitHub (Jan 14, 2025): <!-- Greeting --> Hey @kyatai! 👋 I'm here to help you with bug fixes, questions, and more. <!-- Answer --> I found a similar closed issue related to changes not being reflected in the app's preview. The suggested solution was to ensure that the `updateAppSiteConfig` method is called before or in conjunction with `updateAppInfo` to update all site-related attributes properly. Additionally, checking for any caching mechanisms that might prevent immediate display of updates was recommended <sup>[[1]](https://github.com/langgenius/dify/issues/12622)</sup>. For your specific issue with the custom image for the copied app icon not working as expected, it might be worth checking if the `copyApp` function is correctly handling the `icon_type`, `icon`, and `icon_background` parameters during the duplication process. These parameters are used to set the icon properties of the duplicated app <sup>[[2]](https://github.com/langgenius/dify/blob/main/web/app/(commonLayout)/apps/AppCard.tsx)</sup><sup>[[3]](https://github.com/langgenius/dify/blob/main/web/app/components/app-sidebar/app-info.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/48f05dcc-9479-41e0-8312-0037417b3133?feedback_type=other)</sup>
Author
Owner

@time1023 commented on GitHub (Apr 2, 2025):

Version 1.1.2 still has this problem

@time1023 commented on GitHub (Apr 2, 2025): Version 1.1.2 still has this problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7718