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

Nextcloud App - Cannot change custom folder paths. #2906

Closed
zslukacsik opened this issue Aug 21, 2018 · 10 comments
Closed

Nextcloud App - Cannot change custom folder paths. #2906

zslukacsik opened this issue Aug 21, 2018 · 10 comments
Labels
approved bug help wanted needs info Waiting for info from user(s). Issues with this label will auto-stale.

Comments

@zslukacsik
Copy link

zslukacsik commented Aug 21, 2018

Actual behaviour

  • Cannot apply the folders path at Local and Remote folder.

Expected behaviour

  • Auto upload. Set up a custom folder

Steps to reproduce

  1. Menu - Auto upload - Set up a custom folder
  2. Local folder (choose local folder)
  3. /storage/emulated/0/CallRecordings
  4. Tap choose button

Nothing happen (choose local folder again)
At Remote folder same issue.

Environment data

Android version:
4.4.2

Device model:
Samsung S5 Duos

Nextcloud app version:
3.2.3

Nextcloud server version:
13.0

Logs

No errors.

Web server error log

No errors.

@nextcloud-android-bot
Copy link
Collaborator

GitMate.io thinks possibly related issues are #537 (Cannot change storage path from default to external.), #163 (Changing back to "all files" should go to latest folder), #2195 (storage path), #2855 (can't change storage path with mine.), and #1741 (Change default auto upload remote folder).

@zslukacsik zslukacsik changed the title Cannot change custom folder paths. Nextcloud App - Cannot change custom folder paths. Aug 21, 2018
@AndyScherzinger AndyScherzinger added bug help wanted approved needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Aug 22, 2018
@AndyScherzinger
Copy link
Member

@nextcloud/android I can reproduce this and checked the layout code. The click listener sits on the linear layout so it should work and sometimes it does while sometimes the click isn't detected, don't know why or if it is related to any background threads (while it shouldn't). So this seem to happen while I don't know why :(

@zslukacsik
Copy link
Author

@AndyScherzinger
Thanks for your reply!

When sync a folder manually, after tap on sync menu(at Camera folder, "3 dots" menu), an another folder created with same albumname but different path. Then two "Camera album" appeared in phone. Is it same issue or an other one?
Maybe the problem is in the settings-storage path? I don't know.

Sync:
screenshot_2018-08-22-13-32-47
Original:
screenshot_2018-08-22-13-36-52

@AndyScherzinger
Copy link
Member

@zslukacsik that is another issue since the first screenshot shows an Nextcloud internal path which should be auto-hidden from the list of available folders. Can you please create a new issue for that one? :)

@zslukacsik
Copy link
Author

@AndyScherzinger Of course. Thanks!

#2910

@AndyScherzinger
Copy link
Member

Thanks a lot @zslukacsik - This is highly appreciated 👍

@ndehavilland
Copy link

I experienced the same problem described in the original post when trying to add custom paths to Auto Upload folders on my Android phone. It worked once after first installation, but on subsequent attempts at a later time, both versions of the dialogue ("Preferences for auto uploading" and "Create new custom folder setup") failed to show the local or remote folder paths after confirming with the "Choose" button.

Uninstalling and reinstalling the app did not solve the problem. Upon further investigation, I realised I had switched on Android's Developer Options at some point after installing the app for the first time, when trying to solve a USB to PC connection problem.

I turned off the Developer Options in Android's settings and tried to setup the Auto Upload feature again, and this time both dialogues worked as expected, allowing me to select the custom folder paths.

Environment data

Android version:
6.0

Device model:
LG G3 (LG-D855)

Nextcloud app version:
3.3.0

Nextcloud server version:
14.0.1 (running on Ubuntu Server 18.04 LTS)

@zslukacsik
Copy link
Author

@ndehav01
Heureka! 💡
There is no error with developer option. But when in the "developer option" - "Do not keep activities" - is active -> the app forget the path, because we set to do clear every "activities" (like forget the paths) when we leave a "window". 😄
So, maybe it's not a bug, it's an user error!
Tested, worked for me! THX!

@ndehavilland
Copy link

@zslukacsik Ah, thank you for explaining that. It explains why when I turned Developer Options back on, the Auto Upload feature continued to work and didn't break again!

@tobiasKaminsky
Copy link
Member

In my opinion we do not have to fix if someone has "don't keep activities" enabled, as this is only a dev option to test long suspended apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved bug help wanted needs info Waiting for info from user(s). Issues with this label will auto-stale.
Projects
None yet
Development

No branches or pull requests

5 participants