CE 1.1.1 loses hotkeys on update from CE 1.0.x or NL 12.x

Started by Simon, Today at 06:47:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Simon

CE 1.1.1

This is serious data loss.

Here is a typical settings dir from vanilla NL 12 or from NL-CE 1.0.x:

NL/settings/hotkeys.ini
NL/settings/settings.ini
NL/settings/styletimes.ini
NL/settings/userdata.nxsv

Now:

  • Have such an already-set-up NL or CE 1.0.x.
  • Extract CE 1.1.1 over the existing directory structure.
  • Run CE 1.1.1's executable.
  • CE 1.1.1 detects a missing ./settings/NLCESettings.ini.
  • CE thinks that you're a new user, and shows the following dialog.
  • In the dialog, CE lies about existence of ./settings/settings.ini.
  • On OK, CE overwrites all of your custom hotkey bindings with one of its 3 premade sets.



Step 7 is the data loss. It arose from splitting CE settings from vanilla NL settings. I have several NL trees and, after that loss, could copy an old hotkey file into CE 1.1.1 as a workaround. Not everybody will have that.

I believe that CE should import from settings.ini when CE can't find a NLCESettings.ini. It should consider you an old user when either exists, and a new user when both files are absent.

Ignore the lie in step 6 until you've designed such an import. Presumably, in step 6, you want to print both filenames here. You'll show the dialog less often than now; you'll only show it when both files are missing.

-- Simon