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

Dragging text in large file while wraping long lines is tricky #901

Closed
goozak opened this Issue Nov 25, 2015 · 5 comments

Comments

Projects
None yet
4 participants
@goozak

goozak commented Nov 25, 2015

If I have the Smart Editing Preference "Wrap long lines by: Word", dragging a selected line of text can be tricky — the editor keeps scrolling even when the mouse is in the middle of the window. The problem is intermittent: it seems to manifest when dragging a line toward the end of a large file (in my case, it begins around line 3900 of a 5000 lines file).
The problem goes away when I change the Preference to "Wrap long lines by: None".

Video of what happens with wrapping (bug) : https://youtu.be/I4wl17A85A4
Video of what happens without wrapping (expected) : https://youtu.be/7yG6rNXqoho

@Naatan Naatan added the Type: Bug label Nov 25, 2015

@Naatan Naatan added this to the 9.3.2 milestone Nov 25, 2015

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Nov 25, 2015

Hi, thanks for the report. Unfortunately I'm not able to reproduce this with large files on my machine. Would it be possible for you to provide a file that exhibits this behavior along with the line number it happens on? Since I don't think github accepts such files, maybe you could provide the link to a gist or something? Many thanks.

@goozak

This comment has been minimized.

goozak commented Nov 25, 2015

I've sent the file to ActiveState's support email, mentioning this issue.
I've noticed that the issue manifests itself around line 5030 now. It's the same file as my previous tests, so I'm not entirely sure why it doesn't happen at the same line number... Anyway, since it seems elusive, I'm sure not many users will be affected by it if you're unable to reproduce it.

@Naatan

This comment has been minimized.

Member

Naatan commented Nov 26, 2015

File is in OTRS #43425 (note for us devs)

@cgchoffman

This comment has been minimized.

Member

cgchoffman commented Nov 26, 2015

I was able to reproduce this using Komodo.p.xul, turning on wordwarp under the View Menu, selecting some text then slightly moving my mouse down. The screen will just scroll until i lift the mouse button or i hit to bottom of the document.

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Nov 30, 2015

Confirmed with the file you sent. Thanks for taking the time to do so :)

mitchell-as added a commit that referenced this issue Nov 30, 2015

fix: editor: Fixed out-of-control drag-and-drop for large files and w…
…ord wrap - fixes #901

rn=

(integrated from master branch change 9.2.1-712-gf7a8dab by Mitchell <mitchellb@activestate.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment