Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Artifacts复制为图片不生效 #4405

Open
changjiong opened this issue Oct 18, 2024 · 5 comments
Open

[Bug] Artifacts复制为图片不生效 #4405

changjiong opened this issue Oct 18, 2024 · 5 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@changjiong
Copy link

📦 部署环境

Docker

📌 软件版本

1.22.8

💻 系统环境

Ubuntu

🌐 浏览器

Edge

🐛 问题描述

Artifacts生成的结果 点击复制为图片不生效 复制出的结果不是图片

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@changjiong changjiong added the 🐛 Bug Something isn't working | 缺陷 label Oct 18, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Oct 18, 2024
@lobehubbot
Copy link
Member

👀 @changjiong

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📌 Software version

1.22.8

💻 System environment

Ubuntu

🌐 Browser

Edge

🐛 Problem description

The results generated by Artifacts are not effective when clicked to copy as a picture. The copied result is not a picture.

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

Copy link

dosubot bot commented Oct 18, 2024

Hey @changjiong! 👋 I'm here to help you out with any bugs, questions, or contributions you need. Let's squash some bugs together!

The issue with the "copy as image" feature not working in the Artifacts component could be related to several factors, especially given the environment specifics like Docker, Ubuntu, and Edge browser. Here are a few things to consider:

  1. Clipboard API Support: Ensure that the Edge browser version you are using supports the Clipboard API, as the feature relies on it for copying images [1].

  2. Docker Environment: There might be specific configurations or dependencies in the Docker setup that could affect the functionality, although no specific configurations are mentioned in the repository [1].

  3. Error Handling: Check the console for any error messages that might provide insights into why the operation is failing. The implementation includes error logging that could help identify the issue [1].

  4. Recent Changes: There have been recent updates to the copyImageToClipboard function to ensure compatibility across different browsers. Make sure your setup includes these updates [2][1].

If these steps do not resolve the issue, further investigation into the specific Docker and browser configurations might be necessary.

To continue talking to Dosu, mention @dosu.

@arvinxx
Copy link
Contributor

arvinxx commented Nov 26, 2024

能否给出具体的截图和示例?复制出来的是什么?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you give specific screenshots and examples? What was copied?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants