tisfeng / tisfeng/Easydict

🐞 Bug Report: 当启用强制取词后,会影响剪贴板,请不要随意清空剪贴板,交给用户去清空

Open
#930 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
14.7k
Forks
751
Avg merge
3d 18h
Merged PRs (30d)
18

Description

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

当我选中文本并拷贝到剪贴版后,当我再选择新的文本准备去粘贴的时候,发现剪贴板的内容已经不见了。
经过各种测试,发现是当启用了强制取词功能后,当我再次选择文本的时候,剪贴板内容就不见了。
建议:不要自动做某些操作,把基本操作留给用户。
所以:当启用强制取词后,请不要清空剪贴板,这在有些程序中是致命的。

Is the issue consistently reproducible?

Reproducible

Steps to Reproduce

当我选中文本并拷贝到剪贴版后,当我再选择新的文本准备去粘贴的时候,发现剪贴板的内容已经不见了。
经过各种测试,发现是当启用了强制取词功能后,当我再次选择文本的时候,剪贴板内容就不见了。
建议:不要自动做某些操作,把基本操作留给用户。
所以:当启用强制取词后,请不要清空剪贴板,这在有些程序中是致命的。

Screenshot

当我选中文本并拷贝到剪贴版后,当我再选择新的文本准备去粘贴的时候,发现剪贴板的内容已经不见了。
经过各种测试,发现是当启用了强制取词功能后,当我再次选择文本的时候,剪贴板内容就不见了。
建议:不要自动做某些操作,把基本操作留给用户。
所以:当启用强制取词后,请不要清空剪贴板,这在有些程序中是致命的。

Runtime log(zip file)

当我选中文本并拷贝到剪贴版后,当我再选择新的文本准备去粘贴的时候,发现剪贴板的内容已经不见了。
经过各种测试,发现是当启用了强制取词功能后,当我再次选择文本的时候,剪贴板内容就不见了。
建议:不要自动做某些操作,把基本操作留给用户。
所以:当启用强制取词后,请不要清空剪贴板,这在有些程序中是致命的。

Expected result

当我选中文本并拷贝到剪贴版后,当我再选择新的文本准备去粘贴的时候,发现剪贴板的内容已经不见了。
经过各种测试,发现是当启用了强制取词功能后,当我再次选择文本的时候,剪贴板内容就不见了。
建议:不要自动做某些操作,把基本操作留给用户。
所以:当启用强制取词后,请不要清空剪贴板,这在有些程序中是致命的。

Proposed solution (optional)

No response

Device type and OS version

Apple M3 Mac, VSCode

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Easydict on an Apple M3 Mac with VSCode, using the forced lookup setting and clipboard copy/selection sequence described in the report. Trace the forced lookup path to identify where the clipboard is cleared; done means selecting new text no longer removes the user's existing clipboard contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.