atom/bookmarks

Multiple instances of the same file

Opened this issue · 5 comments

When having the same file opened multiple times:

  • Sometimes adding a bookmark on an instance won't show the bookmark icon on other instances. The bookmark is still recorded correctly though.
  • Sometimes adding a bookmark on an instance just won't work.

Can you give repro steps for either of these issues? Also, could you include the following information?

  • Which version of Atom are you using?
  • Which OS and version are you running?
  • Can you reproduce the issue after completely exiting Atom and starting again with atom --safe?

Repro steps:

  • Open a file.
  • Right click on the tab: "Split right". I creates a new pane.
  • Place your cursor somewhere in the new pane.
  • Press the "new bookmark" key (which is binded to 'F1' for me)
  1. For what I have experienced, the bookmark icon will never show on the original pane. But if you try to "jump to next bookmark" on the original pane, it will work and your cursor will be placed on the correct line even if there isn't a bookmark icon.

2. Sometimes, setting a new bookmark on the new file instance just doesn't work. I wasn't able to determine exactly how to reproduce it but it seems to be more frequent after dragging and dropping the new tab in another pane.

I'm using Atom 1.0.19 and running Ubuntu Mate 4.2.0-27-generic x86_64.
I was able to reproduce both issues while running atom --safe.

Atom v1.0.19 is a very old version. Can you reproduce this on the latest Stable version, v1.5.3?

I updated Atom to v1.5.3 and I wasn't able to reproduce the 2nd issue anymore. I should have done it earlier :)

The first issue still seems to be there though: when I add a bookmark from a pane, the icon doesn't appear on the other pane.

bookmarksbug

Note: I use F1 to toggle bookmarks and F2 to jump to the next bookmark.
Note 2: I started Atom with --safe for this demo.