Skip to content

Do not discard macOS alias type identifier#9445

Draft
i2h3 wants to merge 1 commit intomasterfrom
i2h3/fix/8436-aliases
Draft

Do not discard macOS alias type identifier#9445
i2h3 wants to merge 1 commit intomasterfrom
i2h3/fix/8436-aliases

Conversation

@i2h3
Copy link
Collaborator

@i2h3 i2h3 commented Feb 11, 2026

Our file provider extension reports back public.content as the fallback content type for items it cannot find a MIME type for by using UniformTypeIdentifiers framework.

macOS alias files do not have a standardized MIME type because they are specific to macOS. Hence our extension stores an empty string. In the conversion back to a FileProviderItemProtocol object a fallback switch returns content, even though it should have been aliasFile.

This closes #8436.

To Do

  • I need to verify that this synchronizes correctly across clients because I did not check yet whether this type information is passing the Nextcloud server.
  • Maybe this approach can be generalized for all uniform type identifiers which do not have a MIME type.

@i2h3 i2h3 added this to the 33.0.0 milestone Feb 11, 2026
@i2h3 i2h3 self-assigned this Feb 11, 2026
@i2h3 i2h3 added the bug label Feb 11, 2026
@i2h3 i2h3 added the feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. label Feb 11, 2026
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team Feb 11, 2026
@i2h3 i2h3 moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 💻 Desktop Clients team Feb 11, 2026
@i2h3 i2h3 force-pushed the i2h3/fix/8436-aliases branch from d32153c to 833dac2 Compare February 11, 2026 15:58
@github-actions
Copy link

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

Digest: sha256:5f8b9996b9ffa020071ef3f98ad0a1fe24bbc09eacbc65d8af1a313d8f9b418a

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.

@sonarqubecloud
Copy link

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.

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

Aliases broken in macOS File Provider

1 participant