desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Missing menu to share files in Finder in macOS

Open Haio2025 opened this issue 1 year ago • 25 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

After updating to version 3.16.4 and 3.16.5 the share dialog is missing in Finder. Using the webinterface to the server is working fine. ...

Steps to reproduce

  1. Right click on the file
  2. The dialog does not display the option to share
Image

...

Expected behavior

The Finder shows the sharing option like this:

Image

Which files are affected by this bug

All files in the Nextcloud directory

Operating system

macOS

Which version of the operating system you are running.

macOS 15.5

Package

Official macOS 12+ universal pkg

Nextcloud Server version

31.0.5

Nextcloud Desktop Client version

3.16.5

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [x] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs


Additional info

debug.zip

Haio2025 avatar Jun 11 '25 09:06 Haio2025

@Haio2025 could you please check in system settings if the Nextcloud extension has the required permissions to be run ?

mgallien avatar Jun 11 '25 12:06 mgallien

@mgallien I can find two positions in the system settings for Nextcloud, both are activated:

  1. Allgemein -> Anmeldungen & Erweiterungen -> Im Hintergrund erlauben -> Nextcloud GmbH
  2. Allgemein -> Anmeldungen & Erweiterungen -> Erweiterungen -> Dateianbieter -> Nextcloud

Haio2025 avatar Jun 11 '25 13:06 Haio2025

I just upgraded to Nextcloud Desktop Client Version 3.16.5 (macOS) with the same issue. Mac OS 14.7.2 (23H311). Next cloud has access granted for Files and Folders. I assume that the previous version of Nextcloud which was recent had all the required permissions as it was working 5 minutes ago.

haydnjonesdesign avatar Jun 12 '25 01:06 haydnjonesdesign

Attempted to remove Nextcloud with AppCleaner to downgrade. Couldn't remove the Nextcloud Extension due to a permission error with AppCleaner. Uninstalled everything else, installed 3.15.0. Issue still persists. I can't seem to uninstall the extension without disabling SIP.

Tried disabling Nextcloud Extension and re-enabling it. No luck.

haydnjonesdesign avatar Jun 12 '25 03:06 haydnjonesdesign

My solution: After updating from 3.16.3 to a higher version, full disk access for Nextcloud was blocked in the system settings. This change was not made by me. After I re-enabled it, the sharing menu appears again in the Finder. This situation occurred on two Macs in the same way.

Datenschutz & Sicherheit -> Festplattenvollzugriff -> Nextcloud

But: After a restart, the sharing menu disappeared again. After I switched the full hard disk access off and on again, it reappeared.

Haio2025 avatar Jun 12 '25 06:06 Haio2025

I needed up uninstalling NC (issue was app as running so wouldn't let me delete, duh) with AppCleaner to get all related files. Installed 3.15.0 and it's working again, though I've lost the green file sync status's in Finder.

haydnjonesdesign avatar Jun 12 '25 07:06 haydnjonesdesign

A temporary workaround for the bug that causes the context menu to disappear is to restart Finder. This fixes the issue until the next time you restart your Mac.

To restart Finder, hold down the option key and right-click the Finder icon in the Dock, then select "Relaunch." Alternatively, press Option + Command + Escape to open the Force Quit window, select Finder, and click "Relaunch."

After restarting Finder, the context menu should appear again.

Looking forward for a real fix too

vafhornung avatar Jun 12 '25 15:06 vafhornung

My solution: After updating from 3.16.3 to a higher version, full disk access for Nextcloud was blocked in the system settings. This change was not made by me. After I re-enabled it, the sharing menu appears again in the Finder. This situation occurred on two Macs in the same way.

Datenschutz & Sicherheit -> Festplattenvollzugriff -> Nextcloud

But: After a restart, the sharing menu disappeared again. After I switched the full hard disk access off and on again, it reappeared.

I had the same problem. The solution by @Haio2025 worked for me too.

Nextcloud client version: 3.16.5 macOS version: 15.5 (M3)

depressiveRobot avatar Jun 17 '25 10:06 depressiveRobot

Restarting the Finder also worked for us.

ferhaterdem avatar Jun 17 '25 14:06 ferhaterdem

I tested this with the latest MacOS version 26.0.1 and the latest Nextcloud client version 3.17.3. - I was not able to enable the Nextcloud context menu, also the workarounds from above did not work.

I downgraded to client version 3.16.2. Now the menu is available, also in the latest MacOS 26.0.1.

It would be really great, if the Nextcloud team could fix this bug.

fdzaebel avatar Oct 24 '25 13:10 fdzaebel

Same problem with OSX 26.3.1 (25D2128) and Nextcloud 4.0.7 (macOS)

thoomasbro avatar Mar 18 '26 10:03 thoomasbro

The Finder extension also won’t work if only a single account uses virtual files. I have one default account that uses classic sync and one separate account that uses virtual files. If the second account has virtual files activated, I don’t have the Finder extension, not even in folders that belong to the first account.

Is this a bug or expected behaviour?

roman-edv avatar Apr 01 '26 09:04 roman-edv

@roman-edv This unfortunately is a conflict inherited by macOS itself which we cannot resolve - see: https://docs.nextcloud.com/server/latest/user_manual/en/desktop/macosvfs.html#macos-extensions-conflict

i2h3 avatar Apr 01 '26 15:04 i2h3

@i2h3 I see, I did miss, that it was about the Finder extensions itself, so it has nothing to do with the accounts. Thanks for the explanation!

roman-edv avatar Apr 02 '26 07:04 roman-edv

@Haio2025 As the original reporter, can you please verify with our latest release (if possible) whether you are still encountering this issue?

i2h3 avatar Apr 02 '26 08:04 i2h3

I’m now using macOS 26.4. After updating the Dsktop Client to 33 (33.0.2), the share diolog has disappeared again. If I restart Finder (Cmd + Alt + Esc), it reappears. If I restart the computer, it disappears again.

Haio2025 avatar Apr 02 '26 08:04 Haio2025

On macOS 26.2 with NC Client v33.0.4 with virtual files activated.

I have found that file sharing works all the time when the Nextcloud folder is used in Finder under 'Locations'. You can also view the status bar of the files. Image

When using the Nextcloud folder in favourites, the file sharing option does not appear. The known workaround of restarting the Finder does not help at all in this case. Image

However, I have noticed that some users do not have the Nextcloud folder in 'Locations'. It can normally be activated in the Finder settings by selecting the "Cloud-Speicher" checkbox, which works on my setup but not for other users. (sadly I do not know which macOS he had, maybe worth checking later.) In this scenario, restarting the Finder helps the user. https://github.com/user-attachments/assets/8e98f67f-8818-41d6-a8ae-bc7883f81d4c

I hope this helps you to understand and resolve the issue more easily.

ferhaterdem avatar May 06 '26 09:05 ferhaterdem

I have it under "Favorites" and for me the finder restarting workaround does work. Sadly, I can not get Nextcloud displayed under "Locations" ("Orte"); neither by dragging-and-dropping, nor by doing what you show in your attached video (thanks for that!). iCloud Drive and iCloud Storage are selected, but that changes nothing about nextcloud's display.

MassEast avatar May 06 '26 10:05 MassEast

@ferhaterdem @MassEast Please consider this section in our user manual:

https://docs.nextcloud.com/server/latest/user_manual/en/desktop/macosvfs.html#macos-extensions-conflict

When you have your Nextcloud synchronization folder in the "Favorites" section, you use classic synchronization. If you have it in "Locations", you use the file provider extension. Both are fundamentally different technologies and independent from each other. Also conflicting on system level by design of Apple, hence we cannot do anything about that.

In general: We currently observe reports about the unreliable life cycle of the FinderSync extension (the one setting up the decorations and custom actions in the classic synchronization folder) and are investigating on that.

i2h3 avatar May 07 '26 19:05 i2h3

is anyone using Adobe Creative Cloud? There are also situations in which another third-party app breaks our integration loading by macOS simply by having its own extensions (we cannot do anything about this). I just reproduced that the activation of "Core Sync" and "Creative Cloud" file providers breaks our FinderSync reproducibly. From a past product I worked on I remember this kind of problem as well.

i2h3 avatar Jul 13 '26 12:07 i2h3