Skip to content

Preserve local creation and modification dates#10044

Merged
i2h3 merged 1 commit into
masterfrom
i2h3/fix/creation-modification-date
May 18, 2026
Merged

Preserve local creation and modification dates#10044
i2h3 merged 1 commit into
masterfrom
i2h3/fix/creation-modification-date

Conversation

@i2h3
Copy link
Copy Markdown
Collaborator

@i2h3 i2h3 commented May 18, 2026

When using an app based on AppKit or NSDocument, the underlying framework noticed a drift in dates of the saved document and reported it misleadingly as modified by another app. In reality, the document was not modified by another app. The file provider extension returned the wrong date (or the right one returned by the server but with loss of precision). It is correct to maintain the locally known and true creation and modification dates when returning the file provider item metadata in scope of the creation or modification handling equal to the originally provided state by the system.

Fixes #7829.

@i2h3 i2h3 added this to the 33.0.5 milestone May 18, 2026
@i2h3 i2h3 self-assigned this May 18, 2026
@i2h3 i2h3 added bug os: 🍎 macOS Apple macOS, formerly also known as OS X feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. labels May 18, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team May 18, 2026
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@i2h3 i2h3 force-pushed the i2h3/fix/creation-modification-date branch from 310b3ad to 95f5a47 Compare May 18, 2026 13:58
@i2h3 i2h3 moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 💻 Desktop Clients team May 18, 2026
@github-actions
Copy link
Copy Markdown

Artifact containing the AppImage: nextcloud-appimage-pr-10044.zip

Digest: sha256:2abbb323a3459c6f874a11e4754bbe834b29d8b29a38d540e7756729417d3c13

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@i2h3 i2h3 merged commit ed576bb into master May 18, 2026
20 of 21 checks passed
@i2h3 i2h3 deleted the i2h3/fix/creation-modification-date branch May 18, 2026 14:56
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ☑️ Done in 💻 Desktop Clients team May 18, 2026
@sonarqubecloud
Copy link
Copy Markdown

@i2h3
Copy link
Copy Markdown
Collaborator Author

i2h3 commented May 18, 2026

/backport to stable-33.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. os: 🍎 macOS Apple macOS, formerly also known as OS X

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

Apps warn about modifications by other apps after saving a document

1 participant