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

"Clipboard monitor" string appears in the beginning of the Sentence when adding expression to Anki #1648

Open
YukiNagat0 opened this issue Dec 10, 2024 · 4 comments
Labels
area/anki The issue or PR is related to Anki integration kind/bug The issue or PR is regarding a bug

Comments

@YukiNagat0
Copy link

YukiNagat0 commented Dec 10, 2024

Description
Hello, for quite a while (started sometime in October, I believe) there is a problem with Anki integration:
Trying to add word, which is in the begging of the sentence on Search Page will result in addition of the "Clipboard monitor" string in the beginning of the added to Anki Sentence field

image

image

For Sentence field {cloze-prefix}<b>{cloze-body}</b>{cloze-suffix} pattern is used.

Steps to reproduce

  1. Go to Yomitan Search Page
  2. Paste this sentence: 事件から手を引く
  3. Make sure to select (click on) 事件 word in the beginning of the sentence.
  4. Click Add expression to Anki
  5. Go to Anki card, where {cloze-prefix}<b>{cloze-body}</b>{cloze-suffix} pattern is used for Sentence field

Note type
Arbyste JPMN: v0.12.0.0-prerelease-19

Browser version
Chrome 131.0.6778.109

Yomitan version
Yomitan 24.12.03.0

@YukiNagat0 YukiNagat0 added the kind/bug The issue or PR is regarding a bug label Dec 10, 2024
@YukiNagat0
Copy link
Author

As it turned out, it happens not only on the Yomitan Search page:

  1. Go to https://massif.la/ja/search?q=%E4%BA%8B%E4%BB%B6%E3%81%8B%E3%82%89%E6%89%8B%E3%82%92%E5%BC%95%E3%81%8F
  2. Using shift pop up select 事件 and click Add expression to Anki
  3. In the resulted Note in the Sentence field where will be "about" string

image

image

@Kuuuube Kuuuube changed the title "Clipboard monitor" string appears in the begging of the Sentence when adding expression to Anki "Clipboard monitor" string appears in the beginning of the Sentence when adding expression to Anki Dec 10, 2024
@Kuuuube Kuuuube added the area/anki The issue or PR is related to Anki integration label Dec 10, 2024
@Kuuuube
Copy link
Member

Kuuuube commented Dec 10, 2024

Can't replicate. Export and send your settings. Also make sure Layout aware scanning is enabled.

@YukiNagat0
Copy link
Author

YukiNagat0 commented Dec 10, 2024

Can't replicate. Export and send your settings. Also make sure Layout aware scanning is enabled.

Settings:
yomitan-settings-2024-12-10-17-10-15.json

Layout aware scanning is enabled:
image

I also have MeCab parser installed (Unidic), but any combination of enabled parsers do not change the behavior:
image

Bug occurs, for me, every time the word in the begging of sentence.

@YukiNagat0
Copy link
Author

Also, are you sure you click on the 事件 word? The bug seem to occur exactly when you explicitly click on in, even if it is already appeared: full=事件手を引く&query=事件 should appear in the URL bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/anki The issue or PR is related to Anki integration kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

No branches or pull requests

2 participants