HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Lost entire note #1246

Closed PatrickF1 closed 5 years ago

PatrickF1 commented 5 years ago

Steps to reproduce

  1. Double clicked on a note to open it up in its own window
  2. Made it full screen
  3. Did lots of work for an hour, writing in Markdown
  4. Tried to preview the note in Markdown. Preview was empty.
  5. Confused, I closed the window and navigated to the note in the main app window.
  6. OMG the note is empty.
  7. I check the filesystem and see that the note I was editing is indeed empty
  8. I check the file's version history on Dropbox. It shows that the note didn't get updated at all while I was editing it.

Sounds like editing a note in its own window doesn't sync the changes or something? And do you know of a way to possibly recover my work?

arisc097 commented 5 years ago

Lost everything today. Out of nowhere the sync / backup folder points to some other location. Note is empty. New path /Users//Library/Containers/com.happenapps.Quiver/Data/Library/Application Support/Quiver/Quiver.qvlibrary. Old path used to be under Documents.

ylian commented 5 years ago

@arisc097 Your issue is different. It is likely due to having multiple versions of Quiver on your system. You can simply find your real library under Documents, and double click on it to open.

ylian commented 5 years ago

@patrickf3139 Editing a note in its own window usually works fine. If you could reproduce this, please let me know. That will help greatly.

waz0wski commented 5 years ago

I confirm same behavior, triggered by the same steps as reported.

It's not possible to export a 'suspect' note because the exports are empty, and there's no pattern to the behavior. I've had it happen when editing anything from text-only notes to notes filled with images and formatting -- the only consistent behavior is that it happens when editing in standalone windows.

Is there a way to increase logging from the app? I wasn't able to find anything in OSX logs with the UUID of the affected notes

waz0wski commented 5 years ago

I can consistently get this behavior to happen if I move a note to a different notebook while editing in an external window. Maybe this is related to #489 ?

  1. create new note from main ui via hotkey cmd-n
  2. create single cell in note with text 'test'
  3. in the external note window, move note to another notebook
  4. any further edits to the note are lost, cannot preview, export, etc

This test was done on a brand-new, local library and note.

ylian commented 5 years ago

@waz0wski I can reproduce the bug. Thanks a lot. Will fix in the next update.

PatrickF1 commented 5 years ago

Thanks waz0wski! Can't wait to see this fixed. This bug has bitten me twice now!

On Tue, Jan 15, 2019 at 12:57 PM Yaogang Lian notifications@github.com wrote:

@waz0wski https://github.com/waz0wski I can reproduce the bug. Thanks a lot. Will fix in the next update.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HappenApps/Quiver/issues/1246#issuecomment-454548526, or mute the thread https://github.com/notifications/unsubscribe-auth/AB4EkHznmuwhd2i4vxBYNuT76EbaZTqXks5vDkDTgaJpZM4ZczyI .

palme1337 commented 5 years ago

This is a VERY nasty bug. I've also lost about an hours worth of work and I thought I lost my whole library as well. Had to restore from my backup. Is there a release scheduled to fix this?

ylian commented 5 years ago

@palme1337 This will be fixed in 3.2.4, which will come out this week.

ylian commented 5 years ago

Fixed in 3.2.4.