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

macos text selection issue #81

Open
dptr opened this issue Nov 11, 2024 · 3 comments
Open

macos text selection issue #81

dptr opened this issue Nov 11, 2024 · 3 comments

Comments

@dptr
Copy link

dptr commented Nov 11, 2024

  1. select a text contains many words in the webpage
  2. right click on the text
  3. the selection has been shortened to the word which click on. this is not I want. if I disable this extension, then select a long text in the webpage, and click right button, the selection is not changed.
image image

My setup:

  • Mouse button used when scrolling: right button, non of keys is not selected, "Don't drag when clicking on text" is checked
  • Chrome version: 130.0.6723.117
  • Operating system: macos 15.0.1

please help thanks.

@davidparsson
Copy link
Owner

Hi, and thanks for reporting. Have you been using this extension for a while? Has it been this way for as long as you've been using it or was this changed at some point?

I'm not entirely sure what the extension is able to control, and if this is related to the extension or the browser.

@dptr
Copy link
Author

dptr commented Nov 13, 2024

I have been using this extension for many years. very good extension, the best one of simliar extensions. I am not sure when it become this way but at least one year.

I trie to debug this extension, selection lost when "bonet.appendChild(mommy.replaceChild(bonet, baby))" is executed (isOverText). Maybe the browser think the element is removed so clear selection range. The selection then appeared again after extension's script is executed, maybe the mouse event is propagated to somewhere else and browser select the word under cursor again...

I think maybe we can change another way to detech if mouse is over text..

@davidparsson
Copy link
Owner

Are you willing to give it a try yourself? I'd appreciate a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants