Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Pasting or typing instead of selected text results in random selection #5200

Closed

Description

@stervo4ka

When I select some text and then paste something instead of it, sometimes I get random piece of the pasted text being selected. Look at the screencast:
atom_paste_instead_selection
Here I'm selecting pieces of text and pasting some other text. In one of three times it results in a part of the pasted text being selected.

It leads to some inconvenience in my work. After I replace selected text with text from the clipboard, I should check whether something is selected before I type anything (because the text I'm typing will replace the selection).

The same when I start typing while some text is selected. The typed symbol replaces the selection, but sometimes it becomes selected itself. So when I type the second symbol, it replaces the first one.

The behaviour which I observe in other text editors is: replace selected text with pasted/typed one, deselect anything, place the cursor after the pasted text. This is the most convenient option, I guess.

My Atom version is 0.175.0 (and I've observed it in all previous versions), my system - OS X 10.9.5.

Activity

  1. winstliu commented on Jan 21, 2015

    @winstliu
    Contributor

    Can you replicate this in safe mode (atom --safe)?

  2. stervo4ka commented on Jan 21, 2015

    @stervo4ka
    Author

    @50Wliu Yep. It happens in safe mode too.

  3. mnquintana commented on Jan 21, 2015

    @mnquintana
    Contributor

    I was able to reproduce this in OS X 10.10.1 and Atom 0.175.0 but it took like, 30 tries going rapidfire. For me, I sometimes end up with both a random selection and a blinking cursor.

  4. mnquintana commented on Jan 24, 2015

    @mnquintana
    Contributor

    This might be related to (or a duplicate of, not sure) #5243

  5. lock commented on Jan 20, 2019

    @lock

    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!

  6. locked as resolved and limited conversation to collaborators on Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions