tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
6.4k stars 325 forks source link

🐞 反馈问题:内置 AI 翻译服务的开启存在 bug #536

Closed tisfeng closed 1 month ago

tisfeng commented 2 months ago

请先确认以下事项:

问题描述

正式环境下,上次版本新添加的两个服务,如内置 AI 翻译和自定义 OpenAI 翻译的开启似乎有问题,具体请看视频内容。

我是看到用户反馈 https://github.com/tisfeng/Easydict/issues/502#issuecomment-2094405836 ,然后用 Easydict 正式版测试的,发现确实存在问题。

但多次测试后,后面又无法复现了,不知道什么原因,可能需要检查代码。

该问题是否可以稳定重现?

不可重现

重现步骤

*

截图

https://github.com/tisfeng/Easydict/assets/25194972/40becf27-3655-4128-889d-c64ab438b65d

期望结果

服务正常开启、关闭。

解决方案(可选)

No response

设备型号 && 系统版本

*

是否愿意提交 PR 解决该问题?

tisfeng commented 2 months ago

@phlpsong 帮忙看一下这个问题 🥲

phlpsong commented 2 months ago

Sure, np. It also can be reproduced in the dev branch.

phlpsong commented 2 months ago

Could u confirm whether enabled the Translation/Sentence/Dictionary option in configuration?

tisfeng commented 2 months ago

Both only enabled Translation.

image
phlpsong commented 2 months ago

ok, thx

atinst commented 2 months ago

@phlpsong帮忙看看这个问题🥲

我也遇到了这个问题,该问题是由Swift UI App 模式引起的,当我关闭Swift UI模式时(切换成传统菜单模式),问题得到解决。

tisfeng commented 2 months ago

@atinst 可能是服务配置问题 https://github.com/tisfeng/Easydict/issues/502#issuecomment-2094798997 ,你把翻译,句子和单词选项都开启试试。

tisfeng commented 2 months ago

我们尝试修复了这个问题,刚打了个新包,请测试一下,直接覆盖安装就行,这样不会丢失之前的配置数据 @atinst @JackeyLov5

Easydict.zip

Ineffable919 commented 2 months ago

感觉2.7.1好不稳定啊 开启内置 AI 闪退 各种闪退

tisfeng commented 2 months ago

@Ineffable919 具体什么问题?请详细描述一下问题,实在不行,你可以关闭内置 AI 试试。

如果是闪退问题,请另外开个 issue 反馈一下,务必提供崩溃日志,稍后我们会定位修复它,然后发布新版本。

tisfeng commented 1 month ago

2.7.2 版本已修复该问题。

valens7 commented 1 month ago
image

奇怪了,怎么没有自定义OEN AI翻译选择了?

tisfeng commented 1 month ago

注意看图标,你都把它改成了 Kimi 😑

目前只有一个自定义 OpenAI 服务,后续会允许添加多个自定义 OpenAI 服务 https://github.com/tisfeng/Easydict/issues/479