From 7614c084bdfe1448df401dd49e570548868851f5 Mon Sep 17 00:00:00 2001 From: Boris Pozdena Date: Sun, 18 Oct 2026 10:23:01 +0200 Subject: [PATCH] Show deletions reported with the current client wording The client reports a local deletion that is propagated online as "Deleting online file from Microsoft OneDrive: ./path" (or "... online folder ..."). This wording, used since v2.5.11, was not matched, so these deletions never appeared in the file operation list; only the older "Deleting item from Microsoft OneDrive" form was handled. Also show folders deleted locally because they were removed online ("Deleting local directory") and folders moved to the local Recycle Bin ("Moving this local directory to the configured 'Recycle Bin'"). The follow-up "Successfully deleted item" line and the pathless "Deleting online folder due to --local-first & --mirror-local-state" line are not matched, so each deletion is listed once. Refs #305 --- src/onedrive_gui/workers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/onedrive_gui/workers.py b/src/onedrive_gui/workers.py index ade3e3f..dbffea2 100644 --- a/src/onedrive_gui/workers.py +++ b/src/onedrive_gui/workers.py @@ -148,8 +148,12 @@ class WorkerThread(QThread): "Uploading modified file", "Downloading modified file", "Deleting item", # File deleted locally and then removed in the cloud + "Deleting online file from", # File deleted locally and then removed in the cloud (client v2.5.11+) + "Deleting online folder from", # Folder deleted locally and then removed in the cloud (client v2.5.11+) "Deleting local file", # File deleted in the cloud and then removed locally + "Deleting local directory", # Folder deleted in the cloud and then removed locally "Moving this local file", # File deleted in the cloud and then moved to recycling bin locally + "Moving this local directory", # Folder deleted in the cloud and then moved to recycling bin locally ] self.profile_status = {