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

Running the app adds undesirable shortcut to user's explorer #64

Open
9a3eedi opened this issue Apr 1, 2024 · 3 comments
Open

Running the app adds undesirable shortcut to user's explorer #64

9a3eedi opened this issue Apr 1, 2024 · 3 comments

Comments

@9a3eedi
Copy link

9a3eedi commented Apr 1, 2024

Behaviour

When Nextcloud portable is run from a portable drive, it leaves an artifact that is difficult to remove on the computer's currently running user. Particularly there's a shortcut that gets added to the user's explorer view when you first run the app, and it points to the portable drive. When the portable drive is removed, the shortcut is still there but it becomes a broken link.

I couldn't figure out how to remove the artifact unfortunately. The delete option is not there when rightclicking on the item.

Note that the official app also does this, and it's fine if it's a non-portable installation. But it is not appropriate for the portable version.

Steps to reproduce this issue

  1. Put nextcloud on a portable drive
  2. Run nextcloud from the portable drive on a fresh new computer
  3. Observe the nextcloud shortcut showing up in explorer, pointing to the portable drive
  4. Quit nextcloud and unplug the portable drive
  5. Observe the shortcut not disappearing.
  6. Reboot the computer
  7. Observe that the shortcut is still persistent

Expected behaviour

The portable nextcloud client should be completely portable and not affect the computer user's configuration in any way. There should not be any leftover artifacts from running portable Nextcloud.

Actual behaviour

A persistent shortcut is added to the computer user's explorer view, which points to the portable nextcloud directory, and it is difficult to remove.

Configuration

App release / arch (ex. 1.0.0-2 win64) : Nextcloud 3.11.0, Portapps 3.9.0 (3.11.0-20 2023/12/25)

Operating system (ex. Windows 10 Pro 64 bits) : Observed on Windows 10 and Windows 11

Winver screenshot :
image

Screenshots

This highly cropped (sorry!) screenshot shows nextcloud in Windows explorer in Windows 11.
image

Logs

nextcloud-portable.log

@NewKidOnTheBlock
Copy link

NewKidOnTheBlock commented Sep 30, 2024

@9a3eedi
Have you tried turning it off and on again?
haveyoutried

@crazy-max
Nextcloud Portable likes to create the following folders:

\AppData\Local\Nextcloud
\AppData\Roaming\Nextcloud

They are re-created every time Nextcloud Portable is run.
IMHO these should be confined to the Nextcloud Portable directory.

@9a3eedi
Copy link
Author

9a3eedi commented Oct 3, 2024

@NewKidOnTheBlock I was not aware of this option! Thank you, simply deselecting it got rid of the icon in explorer.

However, I still think this should be fixed for the portable app, it shouldn't be enabled by default at the very least.

@crazy-max
Copy link
Member

However, I still think this should be fixed for the portable app, it shouldn't be enabled by default at the very least.

Yes I think it should be disabled as well.

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

No branches or pull requests

3 participants