custom tool change icon #12929

Closed
opened 2026-02-21 19:09:44 -05:00 by yindo · 2 comments
Owner

Originally created by @asrguru20 on GitHub (Apr 15, 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

1.2.0

Cloud or Self Hosted

Cloud

Steps to reproduce

when you create a custom tool and try to change the icon the windows appears behind the tool creation menu
you should fist save the tool then try to change the custom tool icon in this way you will see half window of changing icon window behind

Please dev try it and see the bad behavior

✔️ Expected Behavior

the changing icon window should appear in front of custom tool window

Actual Behavior

when you create a custom tool and try to change the icon the windows appears behind the tool creation menu

Originally created by @asrguru20 on GitHub (Apr 15, 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 1.2.0 ### Cloud or Self Hosted Cloud ### Steps to reproduce when you create a custom tool and try to change the icon the windows appears behind the tool creation menu you should fist save the tool then try to change the custom tool icon in this way you will see half window of changing icon window behind Please dev try it and see the bad behavior ### ✔️ Expected Behavior the changing icon window should appear in front of custom tool window ### ❌ Actual Behavior when you create a custom tool and try to change the icon the windows appears behind the tool creation menu
yindo added the 🐞 buggood first issue labels 2026-02-21 19:09:44 -05:00
yindo closed this issue 2026-02-21 19:09:44 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 15, 2025):

The issue you're experiencing seems to be related to the z-index or layering of the windows in the Dify UI framework. Currently, the z-index for modals is set to 60, which should ensure that they appear above other elements with lower z-index values [1]. However, it seems that the icon change window might not be correctly layered above the custom tool creation menu.

To address this, you might want to check the z-index values assigned to both the custom tool creation menu and the icon change window. Adjusting these values so that the icon change window has a higher z-index than the tool creation menu should resolve the issue. If you have access to the code, you can look into the CSS or JavaScript files that handle these components and modify the z-index accordingly.

To continue talking to Dosu, mention @dosu.


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

@dosubot[bot] commented on GitHub (Apr 15, 2025): <!-- Answer --> The issue you're experiencing seems to be related to the z-index or layering of the windows in the Dify UI framework. Currently, the z-index for modals is set to 60, which should ensure that they appear above other elements with lower z-index values <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/base/modal/index.tsx)</sup>. However, it seems that the icon change window might not be correctly layered above the custom tool creation menu. To address this, you might want to check the z-index values assigned to both the custom tool creation menu and the icon change window. Adjusting these values so that the icon change window has a higher z-index than the tool creation menu should resolve the issue. If you have access to the code, you can look into the CSS or JavaScript files that handle these components and modify the z-index accordingly. <!-- 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/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a79567f0-b30b-4cfb-b8e5-8ddb7aee8385?feedback_type=other)</sup>
Author
Owner

@HyaCiovo commented on GitHub (May 9, 2025):

I also find that it will lead an error when you have changed its name and still use this drawer to update it

@HyaCiovo commented on GitHub (May 9, 2025): I also find that it will lead an error when you have changed its name and still use this drawer to update it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12929