nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.29k stars 1.77k forks source link

Remove old (no longer in existence) detected Autoupload Folders #8333

Open WarmChocolateCake opened 3 years ago

WarmChocolateCake commented 3 years ago

Is your feature request related to a problem? Please describe.

After installing an app (ie another camera app), NC Client finds the folder that the camera app used to store photos (nice, thanks). I don't like the app, so uninstall it and manually delete the folder that it used. I cannot remove that folder from the autoupload list within NC Client

I can see from other phones that NC Client has created sync points for Twitter, Instagram, Facebook (etc), where they would never want to upload those entries to NC

Describe the solution you'd like

Allow autoupload to remove / delete a sync point (especially if that folder doesn't exist).

Describe alternatives you've considered

"Hiding" the folder, which - (for others, this means hiding ~10 folders) - unknown is what that is doing internally (ie continuous errors retrying to find the folder?)

Additional context

Android App v3.15.1

AndyScherzinger commented 3 years ago

looping in @tobiasKaminsky and @nextcloud/designers or @jancborchardt - I'd think this makes sense and would say that we auto-remove such entries in case the local folder on the device doesn't exist anymore.

WarmChocolateCake commented 3 years ago

I'd be cautious about auto-remove When restarting a device I have noticed that sometimes the SD card can take time to be recognised. If NC Client starts & detects the folders are "missing" before the card's ready, that might create a problem.

AndyScherzinger commented 3 years ago

Yes, good point 👍 So no auto remove then

NicolasGoeddel commented 2 years ago

So it really is not possible to remove autoupload folders? I recently created a few autoupload folders manually and I can not find a possibility to remove the either. What's up with that? Is there really no chance of deleting them? Or do I have to remove the app completely, delete all its settings and start over again? O_o

AndyScherzinger commented 2 years ago

I recently created a few autoupload folders manually and I can not find a possibility to remove the either. What's up with that?

  1. 3 dot memu
  2. Configure menu item
  3. Delete button
NicolasGoeddel commented 2 years ago

Oh, I see. There is a delete button for some autoupload folders but not for all. I want to delete the autoupload for my camera, videos and screenshots because there are not working anymore. And then I want to setup them again. But I can not delete them.

AndyScherzinger commented 2 years ago

Oh, I see. There is a delete button for some autoupload folders but not for all.

The button is only there for the manually created ones (called custom folders, see the folder-star icon)

I want to delete the autoupload for my camera, videos and screenshots because there are not working anymore. And then I want to setup them again. But I can not delete them.

These are then the ones with cam/video icons in the list and are auto detected folders. From what I understood they have been "restored" by Google since you had them on an older device and now switched to a new one. Right?' These for now, can't be deleted since this hasn't been implemented (yet).

So if anybody would be up for providing a PR for it then I am sure the devs would be looking into it and get it merged.

NikoLan21 commented 2 years ago

These are then the ones with cam/video icons in the list and are auto detected folders.

Not only that, these are also folders from the previous installation of the application.

From what I understood they have been "restored" by Google

Not a new phone, just a fresh install after uninstall. I can't find any way to remove them.

WarmChocolateCake commented 2 years ago

From what I understood they have been "restored" by Google since you had them on an older device and now switched to a new one. Right?'

Just to add, from my point of view - I don't have a Google account / older device, so this is all on a shiny, brand-new, install with no "recovery" data...

(& where I referred to "other phones", that was referring to other family members...)