Martchus / syncthingtray

Tray application and Dolphin/Plasma integration for Syncthing
https://martchus.github.io/syncthingtray/
Other
1.66k stars 44 forks source link

Changing the folder with data does not work in any way #237

Closed jintaxi closed 6 months ago

jintaxi commented 7 months ago

Relevant components

Environment and versions

Bug description In the original version of Syncthing, there is a -data flag that says where to store the database of indexed files (index-v 0.14.0.db for the current version of Syncthing 1.27.4). SyncthingTray also has an option that allows you to change the database storage directory. But this option does not work.

Steps to reproduce

  1. Delete the existing index-v 0.14.0.db folder
  2. Switch SyncthingTray to portable mode
  3. Use the Syncthing version built into SyncthingTray 3.1 Try to change either in Settings -> Startup -> Syncthing launcher -> Data Directory 3.2 or in the ini libSyncthingDataDir file

Expected behavior SyncthingTray will store the database of indexed files in the specified folder (as it happens with the -data flag in the original Syncthing)

Screenshots image

\/ \/ \/

image

Martchus commented 6 months ago

Thanks for reporting. This was fortunately just a simple mistake which is fixed now (see commit referenced by GitHub).