Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Finder Extension force-enabled, then leaking processes #6181

Closed
4 tasks done
vszakats opened this issue Oct 30, 2023 · 1 comment
Closed
4 tasks done

[Bug]: Finder Extension force-enabled, then leaking processes #6181

vszakats opened this issue Oct 30, 2023 · 1 comment

Comments

@vszakats
Copy link

vszakats commented Oct 30, 2023

Bug description

Nextcloud client enables its Finder Extension on every Nextcloud.app
run.

Honoring user choice would be important here. The bigger issue is
that the Finder Extension has been leaking tasks for years, resulting
in dozens or hundreds of orphan processes consuming RAM and
CPU cycles. The latter problem appears to be a known bug, closed
as fixed even though it's leaking processes even with the latest
version: Ref: #3967

This can only be fixed by killing these processes from time to time,
or it could be possible to fix it by disabling the Finder Extension
(which I don't need anyway). The latter doesn't work because it gets
re-enabled every time Nextcloud.app is launched.

Steps to reproduce

  1. Disable Nextcloud Finder Extension:
    System Preferences → Extensions → Find Extensions:
    Uncheck 'Nextcloud Extensions'
  2. Run 'Nextcloud.app'
  3. Go to:
    System Preferences → Extensions → Find Extensions
    'Nextcloud Extensions' is enabled again.

Expected behavior

After disabling the Nextcloud Finder Extension via System Preferences,
it stays disabled until I explicitly enable it again. Running Nextcloud.app
never enables this without consent or an explicit configuration setting.

Operating system

macOS

Which version of the operating system you are running.

Monterey (any)

Nextcloud Server version

any

Nextcloud Desktop Client version

3.10.1 (probably any from the last few years)

Are you using an external user-backend?

No

@vszakats
Copy link
Author

vszakats commented Dec 23, 2023

Workaround:

[ -d /Applications/Nextcloud.app/Contents/PlugIns/FinderSyncExt.appex ] && \
  pluginkit -r /Applications/Nextcloud.app/Contents/PlugIns/FinderSyncExt.appex
# then kill the extensions
killall -9 -m FinderSyncExt

@vszakats vszakats reopened this Dec 23, 2023
@vszakats vszakats closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant