LiYing icon indicating copy to clipboard operation
LiYing copied to clipboard

[BUG] 自定义背景颜色不可用

Open ZhuHouYi opened this issue 4 months ago • 5 comments

一些验证

Some verifications

  • [x] 是否查看 wiki、issues 后自己尝试解决

Have you tried to resolve the issue by checking the wiki and existing issues?

  • [x] 请 确保 您的问题能在 releases 发布的最新版本(包含测试版本)上复现 (如果不是请先更新到最新版本复现后再提交问题)

Please ensure your issue can be reproduced on the latest version (including test versions) released in releases (if not, please update to the latest version and reproduce the issue before submitting it)

  • [x] 搜索检查是否已经存在请求相同功能的问题/讨论,以避免重复创建问题

Search to check if there are already issues/discussions requesting the same feature to avoid duplication

  • [x] 确认知晓并同意维护者直接关闭不符合 issue 规范的问题

Acknowledge and agree that maintainers can directly close issues that do not follow the issue guidelines

  • [x] 确保提供下列BUG描述及其复现步骤, 否则我同意维护者直接关闭问题

Ensure to provide the following bug description and reproduction steps, otherwise, I agree that maintainers can directly close the issue

BUG 描述或反馈描述

Bug description or feedback description

在WebUI版本中,自定义背景颜色失效,图片处理后均变为白色背景

预期的效果

Expected behavior

None

截图

Screenshots

Image

系统信息

System information

releases/download/v3.1.1/LiYing_WebUI_Win_x64_Latest.zip

额外的信息

Additional information

No response

ZhuHouYi avatar Aug 24 '25 07:08 ZhuHouYi

Image Image

未能复现,我这边正常。


如果控制台输出有信息,请放出来看看,或者提供更多信息。

aoguai avatar Aug 24 '25 10:08 aoguai

Hello ZhuHouYi. It seems that more information is needed for this issue. Please provide additional details.

你好 ZhuHouYi。看起来这个问题需要更多信息。请提供额外的细节。

github-actions[bot] avatar Aug 28 '25 14:08 github-actions[bot]

以下是更多信息:

1.选择“预设颜色-红色”时,网页界面和断点输出如下:

Image Image

最终输出符合预期。


2.选择“自定义颜色”时,网页界面和断点输出如下:

Image Image

3.在第二点基础上,取消断点,点击“处理图像”,最终输出如下:

Image Image

ZhuHouYi avatar Aug 31 '25 09:08 ZhuHouYi

使用 v3.1.1/LiYing_WebUI_Win_x64_Latest 复现成功,是 Gradio 新版本的 ColorPicker 没有兼容造成的

可以临时用 Compatible 版本解决

aoguai avatar Aug 31 '25 09:08 aoguai

问题已解决,十分感谢😊

ZhuHouYi avatar Aug 31 '25 10:08 ZhuHouYi