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.
(I am able to reproduce this in safe mode in latest Atom 0.175.0)
Not always, but quiet often, I have partial selection left behind when I select a portion of code on one line and then start typing hoping to replace the selected chars. When I type my first char, this causes selection jump to the characters on the right and they get deleted when I type the second char. For example, I have this test.js file:
I can reproduce this 100% of the time with these steps:
Select a portion of code on any line with the mouse, but don't release the mouse button
Press space bar
Extra chars get selected
Basically, this only seems to happen if you don't release the mouse button before you enter new text (which is probably why it was only sporadic for you).
I don't know what the expected behavior is for this though to be honest.
@mnquintana No, it has nothing to do with not releasing the mouse button. I do select the text first (via Mac touchpad, if that matters), then move on to my keyboard and start typing. So, there is plenty of time in between. I'll modify the original steps to make this more clear.
It's not exactly what I've observed (and described in #5200). Here's said that some text after the space becomes selected, while I got the space itself being selected. But probably these are some random variations of the same bug.
Also I'd like to confirm that typing while not releasing the mouse button is not the case.
It appears that this issue is still present in the latest version of Atom (1.0.7). I can confirm that this happens at random times, whether text was selected by the mouse or with the text cursor. It's a pretty annoying bug because there isn't really any way to predict when it is going to happen.
Edit: I wasn't able to replicate the issue with the instructions given above, but this happens to me multiple times throughout any given day with Atom. I don't think it necessarily has anything to do with the spacebar or mouse or anything, just making a replacement with text that's been selected.
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
mnquintana commentedon Jan 24, 2015
I can reproduce this 100% of the time with these steps:
Basically, this only seems to happen if you don't release the mouse button before you enter new text (which is probably why it was only sporadic for you).
I don't know what the expected behavior is for this though to be honest.
(Related to or duplicate of #5200)
Atom: 0.175.0
OS: OS X 10.10.1
Reproduced in safe mode
demisx commentedon Jan 24, 2015
@mnquintana No, it has nothing to do with not releasing the mouse button. I do select the text first (via Mac touchpad, if that matters), then move on to my keyboard and start typing. So, there is plenty of time in between. I'll modify the original steps to make this more clear.
stervo4ka commentedon Jan 25, 2015
It's not exactly what I've observed (and described in #5200). Here's said that some text after the space becomes selected, while I got the space itself being selected. But probably these are some random variations of the same bug.
Also I'd like to confirm that typing while not releasing the mouse button is not the case.
sethlopezme commentedon Aug 13, 2015
It appears that this issue is still present in the latest version of Atom (1.0.7). I can confirm that this happens at random times, whether text was selected by the mouse or with the text cursor. It's a pretty annoying bug because there isn't really any way to predict when it is going to happen.
Edit: I wasn't able to replicate the issue with the instructions given above, but this happens to me multiple times throughout any given day with Atom. I don't think it necessarily has anything to do with the spacebar or mouse or anything, just making a replacement with text that's been selected.
demisx commentedon Aug 13, 2015
Yes, and this issue is still present in the latest Chrome browser. Perhaps, Atom has inherited it?
lock commentedon Jan 20, 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!