owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.39k stars 668 forks source link

Inconsistent behaviour of overlay icon when syncing locked file #7673

Open HanaGemela opened 4 years ago

HanaGemela commented 4 years ago

Windows 10 2.6.1sprint2 (build 12916)

Steps to recreate:

  1. Client A has a Microsoft Word open without any changes (file is locked)

  2. Client B saves the same Word document which uploads to the server

  3. Client A attempts to sync the file (file is still open/locked) -> no error occurs, hidden file gets created. Overlay icon is green. File seems to be up to date, even though it is not

  4. Client A closes Word document with no changes -> The synced file has the red overlay icon even though it was correctly synced

In addition to that, behaviour of the overlay icon is inconsistent

  1. When user force syncs in the step 3 without closing the editor and then waits for the auto sync, the overlay icon becomes red
  2. When user force syncs in the step 3 without closing the editor and then force syncs again, the overlay icon remains green

@michaelstingl please provide expected result

individual-it commented 2 days ago

observed similar behavior with oCIS 6.4.0, collabora and desktop client 5.3.1 on Ubuntu the only difference is, that the overlay icon does not become red after collabora is closed and the local file is synced