You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
scrolling behavior while mouse-selecting whole lines of text is hard to control #6675
Trying to select text that spans more than just the visible scroll region is much more difficult in Atom than in other editors when selecting entire lines because of the auto-scrolling behavior. When you stretch a selection past the edge of the scroll region, the editor scrolls to accommodate you, but once you overshoot your destination, pulling back starts scrolling back in the other direction even though it's not necessary. Most other editors will only scroll when necessary.
Steps:
open a file that is at least twice as long as what you can display in your window
make sure you're scrolled to the top
triple-click and hold somewhere to begin selecting entire lines
drag down just past the bottom of the window, causing the window to scroll
once you've scrolled all the way to the bottom (it's important here that you scroll at least past the point where the top of the selection scrolls out of the window), pretend you overshot the bottom of what you wanted selected by a few lines and you actually want the selection to end at the 10th line from the bottom of the file. continue to hold the mouse button down while you move your mouse back up to that line.
observe that if you move your mouse up past about the 4th line from the bottom of the window, it actually starts scrolling back up and will keep going until the top of your selection is visible. This makes it difficult to get the selection to stop on a specific line because you have to time the scrolling to get your target line within 4 lines of the bottom of the window.
Expected: after mouse movement downward causes a scroll, moving the mouse back up into the window should not cause scrolling back in the other direction unless you attempt to move the end of the selection past the top of the visible part of the file.
I'm having this issue on Atom 1.0.0 (Windows 8.1). Referenced issue #6722 is not the same bug. It's a possible spinoff, but a different symptom. This particular bug prevents one from selecting code that is more than a page/screen long.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
thomaslindstrom commentedon Jun 9, 2015
👍 I'm having this issue too. http://cl.ly/1T3G1C42173m/atom-weird-scroll-behaviour.mov
WoodyWoodsta commentedon Jul 2, 2015
I'm having this issue on Atom 1.0.0 (Windows 8.1). Referenced issue #6722 is not the same bug. It's a possible spinoff, but a different symptom. This particular bug prevents one from selecting code that is more than a page/screen long.
nathansobo commentedon Jul 28, 2015
This will be fixed in
1.0.4.lock commentedon Jan 21, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!