Skip to content

🐞 Bug Report: 输入翻译的“清空查询内容”失效 #1146

@TowardLights

Description

@TowardLights

Please confirm the following:

  • Be sure to check out FAQ
  • I have carefully read the README
  • I have searched through the issues page but couldn't find a solution.(Including issue that has been closed)
  • Easydict has been upgraded to the latest version
  • I understand and agree to the above, and understand that the project maintainer has limited energy, issues that do not follow the rules may be ignored or closed directly

Problem description

在设置中,通用->输入框,无论选项 “输入翻译时,清空查询内容” 是否打开,与 option+A 触发输入翻译时,清空查询内容与否都只与选项 ”划词翻译未选中文本时,保留上次结果“ 有关
后者打开时,则会保留不会清空;后者关闭时只会清空,无法保留。

Is the issue consistently reproducible?

Reproducible

Steps to Reproduce

按照上面的问题描述即可复显。且测试过应该与快捷键无关,快捷键绑定也没有出错,重启应用也不行。

Screenshot

Image

Runtime log(zip file)

Easydict log 2026-04-13 20-51-11-408.zip

Expected result

原本应该是无论有没有打开 ”划词翻译未选中文本时,保留上次结果“ 选项,只要打开选项 “输入翻译时,清空查询内容” ,使用输入翻译时都会清空上次的查询内容

Proposed solution (optional)

No response

Device type and OS version

Apple M4 air,macOS 15.7.1

Are you willing to submit a PR to fix this issue?

  • I'm willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions