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

Index Error between Mobile & Desktop: All Scenes Out Of Order #278

Open
wanderloots opened this issue Nov 8, 2024 · 3 comments
Open

Index Error between Mobile & Desktop: All Scenes Out Of Order #278

wanderloots opened this issue Nov 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@wanderloots
Copy link

wanderloots commented Nov 8, 2024

Versions
Longform version: 2.07
Obsidian version: (all recent versions for the last 3 months, currently 1.7.5)
OS: Mac OS Sonoma 14.5 & iPhone iOS 17.6.1
Theme: Atom
Syncing with iCloud

Describe the bug
I am using Longform to write a book. However, if I make an edit on my phone to a file indexed by Longform, the file is removed from desktop longform. I am left with hundreds of files to re-add to the book project. They are all entirely out of order, so I'm not sure what to do.

I tried reordering the files back to their original position, but when I make any edit on my phone (even to other files) the order is deleted again.

Honestly, I was loving longform and really getting in the flow of writing my book with it, but have entirely stopped because my index is out of order every time I return. Any fix would be much appreciated :)

Note that the multi-level indexing on mobile also fails to work. The hierarchy between scene levels is removed on mobile, so perhaps this is causing the desktop version to think that they are new files being indexed?

To Reproduce
Steps to reproduce the behavior:
Use longform on my desktop. Make a mobile edit to a file that's indexed in longform. Return to desktop to see that the files are now out of order again.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-11-08 at 1 02 33 PM

@wanderloots wanderloots added the bug Something isn't working label Nov 8, 2024
@derkdegeus
Copy link

I have the same issue with iCloud and Longform. Add a scene on Mac, then open on iOS, and the index file misses the new files. It seems that the iOS index file takes precedent over the Mac version even though it's an earlier version.

Did not find a workaround for this yet, which means manually re-adding and sorting the scenes. However, with iCloud there is a file history, and you can restore the file to the correct version.

@isamonic
Copy link

I have moved my vault into an area that’s not connected to iCloud to see if that would solve the Index problem, and I still have the same issue. Everytime I shut down obsidian, I come back to my longform files disorganized. I hope there is a solution to this?

@vishae
Copy link

vishae commented Mar 8, 2025

I have moved my vault into an area that’s not connected to iCloud to see if that would solve the Index problem, and I still have the same issue. Everytime I shut down obsidian, I come back to my longform files disorganized. I hope there is a solution to this?

This happens to me when I make edits on my work computer and come back to my personal computer and find new files missing or out of order.
This happens because your local version (in my case, my personal computer version) overwrote all the changes I made to the index file on my work computer.
There's an easy fix. Go to the index file in the left sidebar, right click it and click "Open version history". Locate the version with the correct change (in my case, the work computer version) and restore that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants