Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing pinned notes when opening them in another application #1128

Closed
volt4ire opened this issue May 29, 2021 · 11 comments
Closed

Losing pinned notes when opening them in another application #1128

volt4ire opened this issue May 29, 2021 · 11 comments
Assignees
Projects

Comments

@volt4ire
Copy link

Describe the bug
When I pin a note but then open it in another application, when I quit and reopen FSNotes that note is no longer pinned.

Desktop (please complete the following information):

  • OS: macOS
  • OS version: 11.4
  • FSNotes version: 4.10
@glushchenko
Copy link
Owner

Application from the mac app store or github?

GitHub version uses Extended Attributes for saving pin data. This may be cause of data loose, if another app drops this data.

@gingerbeardman
Copy link
Collaborator

@volt4ire what other application are you using? I can look into what is happening.

@volt4ire
Copy link
Author

volt4ire commented Jun 20, 2021

@volt4ire what other application are you using? I can look into what is happening.

@gingerbeardman @glushchenko Thanks so much! I'm using the GitHub version

@gingerbeardman
Copy link
Collaborator

@volt4ire what application are using to open the note outside of FSNotes?

@volt4ire
Copy link
Author

Thanks! I use a variety of other apps to edit these notes, including a Drafts action and IAwriter on macOS, both of which come through the Mac App Store; as well as Sublime 4, VS Code, Logseq, Obsidian, and QOwnNotes on both Linux and macOS. Also I should note the notes in question are in a synced Dropbox folder, and I edit them in a few iOS and Android apps such as 1Writer, Drafts, and Markor, so I'm not sure if those could contribute to the issue

@gingerbeardman
Copy link
Collaborator

gingerbeardman commented Jun 21, 2021

Dropbox is the issue, it only syncs certain xattr (Extended Attributes) so the one FSNotes uses for pin status is discarded.

https://help.dropbox.com/installs-integrations/sync-uploads/extended-attributes

Only syncing using iCloud is fully supported.

@volt4ire
Copy link
Author

Dropbox is the issue, it only syncs certain xattr (Extended Attributes) so the one FSNotes uses for pin status is discarded.

Thanks for this explanation! I don't have any desktop app development experience so I'm not sure how feasible this would be, but would it be possible to have FSNotes write out the file names and/or UUIDs in a separate location like a database or plist file that it reads from to keep track of favorites besides/in addition to using Extended Attributes? Thanks!

@gingerbeardman
Copy link
Collaborator

Possible.

Though perhaps that goes against FSNotes philosophy of being just the app and your text notes.

Also, FSNotes already works as designed with iCloud on macOS and iOS.

The loss of xattr is a Dropbox problem. Maybe ask them to support all xattr?

I'm interested to hear @glushchenko opinion as the creator of FSNotes.

glushchenko added a commit that referenced this issue Jul 11, 2021
@glushchenko
Copy link
Owner

Hi, guys!

Finally i'm here. xattr not reliable therefore it was removed for non cloud FSNotes version. Now data stored in local storage.

And in iCloud for Mac App Store FSNotes version.

@glushchenko glushchenko added this to To Do in FSNotes 5 via automation Jul 11, 2021
@glushchenko glushchenko moved this from To Do to Done in FSNotes 5 Jul 11, 2021
@glushchenko
Copy link
Owner

@volt4ire
Copy link
Author

volt4ire commented Jul 17, 2021

Awesome thank you so much – this version fully addressed my issue!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants