AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

After update, preferences are not fully transfered to new configuration

Open ccossou opened this issue 1 year ago • 4 comments

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.

ccossou avatar Mar 11 '24 10:03 ccossou

I still experienced this for 1.8.10. This time "stored_directories.json" had this:

{}

(2 octets, instead of the one from 1.8.9 that was 5.3ko)

ccossou avatar Jul 09 '24 07:07 ccossou

Sorry, there was one bug and fixed. I expect it to be fixed by downloading and reinstalling it

rahmanusta avatar Jul 09 '24 18:07 rahmanusta

Thanks for your answer. Do you mean that I install the next version when it's updated, or I need to deinstall my version, before installing 1.8.10 again?

ccossou avatar Jul 10 '24 08:07 ccossou

possibly related: in a 1.8.10 version downloaded prior to this issue I experience that some settings vanish from one run to another. E.g. setting pagedown and pageup to 'Page Down' and 'Page Up' instead of 'Alt+Page Down' and 'Alt+Page Up' ( who invented this bullshit and why ) is reset to default 'Alt+...' occasionally. Observed under Linux, Windows ver. not tested.
Are changes made to the downloadable installer? Or do I have to wait for next update to test?

newbie-02 avatar Jul 11 '24 08:07 newbie-02