asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.86k stars 297 forks source link

After update, preferences are not fully transfered to new configuration #629

Open ccossou opened 3 months ago

ccossou commented 3 months ago

I've noticed for a few versions now, every time I update, I get this pop-up to transfert old preferences for the new version. I don't know for the other files, but I know for a fact that the file "stored_directories.json" is not transfered, and an empty one is used instead:

{
    "workingDirectory": "/local/home/mylogin",
    "recentFiles": [
    ],
    "favoriteDirectories": [
    ]
}

What it means in practice is that I loose all my preferences at every update, including default folder, history of opened files (which is really the only preferences I use in AsciidocFX, hence why I don't know if the rest is transfered or not)

And I have to copy paste manually what's inside $HOME/.AsciidocFX-1.8.8/stored_directories.json into $HOME/.AsciidocFX-1.8.9/stored_directories.json

One possible explanation is that my home directory is in /local/home/mylogin instead of /home/mylogin as one would usually expect. I've had issues with AppImage because of that, whicih is why I mention this. The bash variable $HOME correctly points to it though.

Another possible explanation is that it simply doesn't work for anyone.