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

選字窗位置跳動 #16

Closed
s9926149 opened this issue Jan 17, 2017 · 6 comments
Closed

選字窗位置跳動 #16

s9926149 opened this issue Jan 17, 2017 · 6 comments

Comments

@s9926149
Copy link

描述:
打字時選字窗位置會跳離輸入區至甚遠處,且不只一個固定位置。

使用配置:

  • 香草 1.3.0
  • macOS 10.12.2

Slack
Slack2
Chrome

lukhnos added a commit that referenced this issue Jan 18, 2017
This may be a long-standing issue in Chrome, and a workaround that uses
a delay of 1/20 sec appears to work. See code comment for details and
links to bugs.chromium.org.
@lukhnos
Copy link
Collaborator

lukhnos commented Jan 18, 2017

我研究了一下這個問題,很可能是 Chrome 特有的 bug。這個問題在蘋果內建的拼音輸入法(少數內建輸入法中,打首字就會出選字窗的輸入法)也會出現,可參見這個 Chrome bug

OV 的輸入法大多都能隨打隨組字,尤其行列通常打第一個碼就出選字窗,因此這 Chrome 的問題就變得比較嚴重。

根本解決之道還是得從 Chrome 下手。我在這邊用了一個 1/20 秒的 delay,讓查詢游標位置的動作變成 asynchronous。1/30 秒偶爾還是有 Chrome 追不上的情況,如果比 1/20 秒再多可能又會影響操作流暢度(因為已經快到感官可察覺的延遲),所以先用這樣的解決方法減輕問題。

請先下載看看 1.3.1 版 – https://github.com/openvanilla/openvanilla/releases/tag/1.3.1 – 看是否能解決此問題?

@s9926149
Copy link
Author

Chrome 上測試選字窗位置跳動的位置在 1.3.1 上大有改善。
感謝!

@lukhnos
Copy link
Collaborator

lukhnos commented Jan 29, 2017

請問這問題在 Slack 裡面是否仍會發生?如果是的話,可否試試看 1.3.2 版?

https://github.com/openvanilla/openvanilla/releases/download/1.3.2/OpenVanilla-Installer-Mac-1.3.2.zip

@s9926149
Copy link
Author

s9926149 commented Feb 2, 2017

抱歉這麼晚才回覆,1.3.2 版也還是會發生,但是出現在正常位置的機率好像有所提高。

@lukhnos
Copy link
Collaborator

lukhnos commented Feb 2, 2017

都發生在 Slack 嗎,還是其他 app 也會?如果是 Slack 的話,是 web 介面,還是 native app?

@s9926149
Copy link
Author

s9926149 commented Feb 2, 2017

Slack 是用 app。
其他軟體好像不大會,開了我常用的 atom 應該算完全正常,其他的至少沒有發生到讓我注意到的程度。

@zonble zonble closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants