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.

Weird cursor position  #2785

Description

@NickNoordijk

Since i'm working with Atom the cursor, sometimes, has a strange position. Mostly after autocompleting a function. I wanted to submit this issue for a long time but I can't reproduce the bug when I want to.

I disabled the autocomplete and autocomplete plus packages for a while and it didn't solved the problem either. I finally got a really bad screen capture .. and i'm still trying to figure out how to reproduce this bug. Take a look at the cursor position when typing.

5

Activity

  1. philipgiuliani commented on Jul 1, 2014

    @philipgiuliani
    Contributor

    Have your tried it with both editors? Try it in the "React Editor" that you can enable in the Settings > Use React Editor. Check if the bug also happens there, because that editor will get the default editor as soon as its ready.

  2. respectTheCode commented on Jul 1, 2014

    @respectTheCode

    I have been seeing the same bug. It seems to happen more often since updating to 0.106.0. I just switched to the "React Editor" and will report back.

  3. NickNoordijk commented on Jul 2, 2014

    @NickNoordijk
    Author

    I tested without restarting Atom, that didn't work for me!
    After restarting and working with it for 2 hours I can't reproduce this bug. (Yet..)

  4. philipgiuliani commented on Jul 3, 2014

    @philipgiuliani
    Contributor

    Jeah you have to restart Atom after the Editor change. Already some news? :)

  5. NickNoordijk commented on Jul 4, 2014

    @NickNoordijk
    Author

    @philipgiuliani Nothing new 👍. No reproducing of this bug in the React Editor!

  6. respectTheCode commented on Jul 4, 2014

    @respectTheCode

    React Editor seems to have solved this for me as well.

  7. philipgiuliani commented on Jul 7, 2014

    @philipgiuliani
    Contributor

    @kevinsawicki @nathansobo This issue can be added to the list of react-editor fixes i think.

    #2423

  8. NickNoordijk commented on Jul 7, 2014

    @NickNoordijk
    Author

    I switched theme and ui today (Seti UI/Syntax) and updated to 0.108.0 and i'm experiencing the bug again, with the react editor.

  9. izuzak commented on Jul 7, 2014

    @izuzak
    Contributor

    I see it sometimes when I autocomplete (in react), in the autocomplete box. Here's me triggering autocomplete and trying different letters. Notice that using d triggers the issue, while r doesn't:

    screen shot 2014-07-07 at 11 56 40 am

    screen shot 2014-07-07 at 11 55 42 am

    Also, I can reproduce the following behavior reliably:

    b

    Just trigger the autocomplete box and start typing -- you'll notice that the cursor starts to move away from the place it should be as you type.

    cc @nathansobo

  10. nathansobo commented on Jul 7, 2014

    @nathansobo
    Contributor

    @izuzak What's strange is that the mini editors used in the autocomplete are not using the React implementation. The only thing I can think is that global character width caching in the old editor is masking some other issue with these mini editors.

  11. nathansobo commented on Jul 7, 2014

    @nathansobo
    Contributor

    My intuition is to push forward with replacing the mini-editors with React and just tolerate this a bit longer in the meantime. We could spend a lot of time resolving this in the old editor just to throw it away.

  12. izuzak commented on Jul 7, 2014

    @izuzak
    Contributor

    @nathansobo I'm fine with that suggestion. 👍 However, @NickNoordijk reported that this was happening in the normal editor with react turned on as well (not the mini-editor), if I understood him correctly. I haven't been able to reproduce that yet, but would be great to hear from him if he can reproduce this reliably.

  13. NickNoordijk commented on Jul 8, 2014

    @NickNoordijk
    Author

    @izuzak @nathansobo I will try to reproduce it and report it back asap

  14. 14 remaining items

  15. izuzak commented on Jul 24, 2014

    @izuzak
    Contributor

    @nathansobo This also reminds me of #1036, which is still open.

  16. nathansobo commented on Jul 24, 2014

    @nathansobo
    Contributor

    @rasselbock Do you have a custom invisible character? If so, can you show me the contents of your invisibles key from settings?

  17. rasselbock commented on Jul 25, 2014

    @rasselbock

    Are either of these helpful? Not 100% clear on what the invisibles key is...

    settings

    settings

    styles.less:

    .tree-view {

    }

    @hints-color: #c5c8c6;
    @hints-opacity: 0.15;

    .editor {
    .invisible-character {
    color: @hints-color;
    opacity: @hints-opacity;
    }
    }

    .editor .cursor {

    }

  18. nathansobo commented on Jul 25, 2014

    @nathansobo
    Contributor

    Yeah. I was looking for the "Invisibles Tab" setting so thanks. Is this file using hard tabs also?

  19. rasselbock commented on Jul 25, 2014

    @rasselbock

    Cool, thanks. Yeah, the file I posted a gif of is hard tabbed.

  20. adbakke commented on Aug 4, 2014

    @adbakke

    This happens to me right after using multiple line select (Ctrl-left mouse click on multiple lines), and then going back to single line the cursor goes is totally in the wrong spot.

    Using Atom 0.120.0 with Windows 7 x64

  21. muhammad-saleh commented on Jul 8, 2015

    @muhammad-saleh

    Dears, I have the same issue with Atom v1.0 on Mac OS X Yosemite
    This screenshot is from safe mode (started using atom --safe)

    atom

    @nathansobo If you need any more info please let me know

  22. izuzak commented on Jul 10, 2015

    @izuzak
    Contributor

    @muhammad-saleh I think the issue you're seeing is #5975.

  23. muhammad-saleh commented on Jul 10, 2015

    @muhammad-saleh

    @izuzak Yes, You're right :) thanks

  24. valerymelou commented on Dec 15, 2015

    @valerymelou

    I have been experiencing the same bug since two days and after changing my syntax theme, I can't reproduce it anymore. The theme was seti. I tried all installed themes and none of them was able to reproduce that bug except seti.

  25. lock commented on Jan 18, 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!

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions