Skip to content

It might be an issue caused by CJK languages. #16

Description

@heartnn

First of all, I don't think this is a bug in the software itself.

This issue primarily manifests during text selection while reading: unlike languages ​​based on the Latin script, which use spaces between words, CJK languages ​​do not. Consequently, when attempting to highlight text or look up a word in the dictionary, the system selects the entire segment between two punctuation marks.

To access the standard Android "drag-to-select" interface, one must long-press on a punctuation mark. Even after selecting text this way, the dictionary pops up immediately, yet the selection cursors remain visible—hovering over the dictionary overlay rather than disappearing. These issues occur only on mobile devices; selecting text with a mouse on a computer does not trigger this behavior.

Additionally, the dictionary does not appear when selecting a single Chinese character. I believe that, at least for Chinese, the system should be configured to display a dictionary definition even for a single character. While I am not familiar with Korean or Japanese, the meaning of a single Korean character is often ambiguous, whereas Japanese likely functions similarly to Chinese in this regard.

This text was too long, so I used translation software; I am not sure if the wording is accurate, so I have attached the original text.

首先我觉得这不是软件本身的bug。

主要出现在阅读时的文字选取上,拉丁语系是单词之间是有空格的,但CJK语言没有。所以当选取标记文字或者打开词典时,会直接选取两个标点之间的一整段文字。

只有长按标点符号,才能出现Android那个手指滑动的选取方式。这样选取后,会直接弹出词典,此时两个选取用的光标并没有消失,而是在词典界面上。这些问题只出现在手机上,在电脑上用鼠标选取不会有这些问题。

另外,只选取一个中文字符时,不能弹出词典。我认为起码在中文里,应该设为单个文字也弹出词典解释。韩文和日文我并不熟悉,但韩文似乎单字并不能确定其含义,日文应该和中文类似。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions