Thanks for this update!! This are my comments.
First things first, things I consider bugs:
1.) When uninstalling, registry keys in HKEY_CLASSES_ROOT\CLSID and HKEY_CLASSES_ROOT\WOW6432Node\CLSID (7DB3BDAA in my case) are not removed.
2.) In SeaDrive 2.0, when switching languages, the four folders “My libraries”, “Shared with me”, … got multiplied and appeared in every language chosen.
This problem still exists in a less extreme version. The folder “My libraries” (or its German equivalent) did not get deleted when I switched to English. When I click on it, the folder is empty. So apparently, the data got moved, but the folder was not deleted.
3.) Automatic file locking works flawless, but the Windows Explorer windows is not refreshed automatically when I open / close an office file on my local machine.
This is what I observer in a folder with multiple office files (DOCX, XLSX, PPTX) and Office 365:
- I double-click one office file -> the file is opened in the editor, the file is not shown as locked in Windows Explorer
- I double-click another office file -> the second file is opened, the first file is now shown as locked in Windows Exlorer, the second is not
- I close the first office file -> the editor is closed, both files are now shown as locked in Windows Explorer
- When hitting the refresh button, the correct lock status is shown in Windows Explorer
Not sure if this is a problem with my computer only, but I also observed it on a second machine with O365 and an up-to-date Windows 10.
This is what the log shows with SEADRIVE_DEBUG set to ‘watch’ (my comments preceded by #):
#Open first office file
[04/13/20 19:07:52] Created My Libraries/Office Integration/~$example_table.xlsx.
[04/13/20 19:07:52] Syncroot event: 0, My Libraries/Office Integration/~$example_table.xlsx, (NULL)
[04/13/20 19:07:52] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$example_table.xlsx
[04/13/20 19:07:52] Modified My Libraries/Office Integration/~$example_table.xlsx.
[04/13/20 19:07:52] Syncroot event: 0, My Libraries/Office Integration/~$example_table.xlsx, (NULL)
[04/13/20 19:07:52] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$example_table.xlsx
[04/13/20 19:07:52] Modified My Libraries/Office Integration.
[04/13/20 19:07:52] Syncroot event: 0, My Libraries/Office Integration, (NULL)
[04/13/20 19:07:52] Modified My Libraries/Office Integration/~$example_table.xlsx.
[04/13/20 19:07:52] Syncroot event: 0, My Libraries/Office Integration/~$example_table.xlsx, (NULL)
[04/13/20 19:07:52] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$example_table.xlsx
[04/13/20 19:07:54] Repo ‘Office Integration’ sync state transition from ‘synchronized’ to ‘committing’.
[04/13/20 19:07:54] All events are processed for repo 98a6211d-170f-457a-b2f6-93dde7eb2b84.
[04/13/20 19:07:54] Auto lock file Office Integration/example_table.xlsx
[04/13/20 19:07:54] Repo ‘Office Integration’ sync state transition from ‘committing’ to ‘synchronized’.
–> file is not shown as locked in Windows Explorer
#Open second office file
[04/13/20 19:08:11] Created My Libraries/Office Integration/~$ample_word.docx.
[04/13/20 19:08:11] Syncroot event: 0, My Libraries/Office Integration/~$ample_word.docx, (NULL)
[04/13/20 19:08:11] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$ample_word.docx
[04/13/20 19:08:11] Modified My Libraries/Office Integration/~$ample_word.docx.
[04/13/20 19:08:11] Syncroot event: 0, My Libraries/Office Integration/~$ample_word.docx, (NULL)
[04/13/20 19:08:11] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$ample_word.docx
[04/13/20 19:08:11] Modified My Libraries/Office Integration.
[04/13/20 19:08:11] Syncroot event: 0, My Libraries/Office Integration, (NULL)
[04/13/20 19:08:11] Modified My Libraries/Office Integration/~$ample_word.docx.
[04/13/20 19:08:11] Syncroot event: 0, My Libraries/Office Integration/~$ample_word.docx, (NULL)
[04/13/20 19:08:11] create/update 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$ample_word.docx
[04/13/20 19:08:13] Repo ‘Office Integration’ sync state transition from ‘synchronized’ to ‘committing’.
[04/13/20 19:08:13] All events are processed for repo 98a6211d-170f-457a-b2f6-93dde7eb2b84.
[04/13/20 19:08:13] Auto lock file Office Integration/example_word.docx
[04/13/20 19:08:13] Repo ‘Office Integration’ sync state transition from ‘committing’ to ‘synchronized’.
#–> Only first office file is shown as locked in Windows Explorer
#Close first office file again
[04/13/20 19:09:39] Deleted My Libraries/Office Integration/~$example_table.xlsx.
[04/13/20 19:09:39] Syncroot event: 1, My Libraries/Office Integration/~$example_table.xlsx, (NULL)
[04/13/20 19:09:39] delete 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$example_table.xlsx
[04/13/20 19:09:39] Modified My Libraries/Office Integration.
[04/13/20 19:09:39] Syncroot event: 0, My Libraries/Office Integration, (NULL)
[04/13/20 19:09:41] Repo ‘Office Integration’ sync state transition from ‘synchronized’ to ‘committing’.
[04/13/20 19:09:41] All events are processed for repo 98a6211d-170f-457a-b2f6-93dde7eb2b84.
[04/13/20 19:09:41] Auto unlock file Office Integration/example_table.xlsx
[04/13/20 19:09:41] Repo ‘Office Integration’ sync state transition from ‘committing’ to ‘synchronized’.
#–> Both office files are shown as locked
#Close second office file again
[04/13/20 19:11:12] Deleted My Libraries/Office Integration/~$ample_word.docx.
[04/13/20 19:11:12] Syncroot event: 1, My Libraries/Office Integration/~$ample_word.docx, (NULL)
[04/13/20 19:11:12] delete 98a6211d-170f-457a-b2f6-93dde7eb2b84/~$ample_word.docx
[04/13/20 19:11:12] Modified My Libraries/Office Integration.
[04/13/20 19:11:12] Syncroot event: 0, My Libraries/Office Integration, (NULL)
[04/13/20 19:11:14] Repo ‘Office Integration’ sync state transition from ‘synchronized’ to ‘committing’.
[04/13/20 19:11:14] All events are processed for repo 98a6211d-170f-457a-b2f6-93dde7eb2b84.
[04/13/20 19:11:14] Auto unlock file Office Integration/example_word.docx
[04/13/20 19:11:14] Repo ‘Office Integration’ sync state transition from ‘committing’ to ‘synchronized’.
#–> Second office file still shown as locked
#When I hit refresh, the status of the second office file also goes to unlocked
4.) When moving files to a folder that is “always keep on this device”-ed, the files do not get uploaded. The stay in this “sync pending” status. (In the screenshot below, I copied the three PDF documents and the 123.xlsx in the folder three minutes before making the screenshot.)
Secondly, things not really being bugs but that should be fixed
I.) When uninstalling, the folder “seafile” in %userprofile% is not deleted. Ideally, the user would be asked whether or not to delete it.
II.) The transfer progress windows does not seem to capture all operations. I had SeaDrive download an entire folder by hitting “always keep on this device” in the context menu. This is the result:
Thirdly, nice-to-haves / feature requests:
i.) Most importantly in this category: Context menu items to generate sharing/internal links, lock files, … (I realize that there are plans to add it soon. I just add it here for completeness.)
ii.) The transfer progress window is missing a time/date column. IMHO, a time/date column helps troubleshooting when things go wrong as well as general transparency. In the same vein, I would be great if the transfer progress would show more than a maximum of the last 11 uploaded/downloaded elements. (Size adjustable columns would also be great.)
Finally, a have questions:
a.) How can I map the folder names under %userprofile%/seafile_root to the accounts registered in SeaDrive? If I use SeaDrive to multiple Seafile Server, I may end up with multiple folders and I don’t know which one is which unless I do some digging in the folders?