vauvenal5 / yaga

Nextcloud Yaga - A Nextcloud first gallery app for Android.
https://vauvenal5.github.io/yaga-docs/
GNU General Public License v3.0
136 stars 9 forks source link

Unable to save root path after change #94

Open deathblade666 opened 3 years ago

deathblade666 commented 3 years ago

Hi I just installed the current version from f-droid. I can't seem to change the root path. I select the folder and press the check button and it bring me to back to the screen where you set the root path but when I click the check button again to save it doesn't do anything. If I just back out of that screen it doesnt save the changes.

Please let me know if there is any info that I can provide that would help.

vauvenal5 commented 3 years ago

Hi! I was not able to reproduce this. Can you by chance send me a logcat log? Or maybe describe a little bit more detailed the exact steps you are taking so that the bug occurs.

deathblade666 commented 3 years ago

ok So im using a Pixel 2xl running android 11 stock. below are the steps I take to get the issue.

  1. open app
  2. open side nav bar
  3. open global settings
  4. select root mapping
  5. select remote path
  6. select folder and press select button
  7. returns to root mapping screen and press select button to confirm.
  8. thats is nothing happens.

These are the logs for when I press the select button at the end. ( I changed the path for privacy purposes ) 2021-03-07 09:22:41.818 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=1069.9365, y[0]=2711.8652, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=534128, downTime=534128, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:22:41.900 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=1069.9365, y[0]=2711.8652, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=534210, downTime=534128, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:22:41.931 518-2486/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:22:41.932 518-2537/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:22:41.936 6483-6512/com.github.vauvenal5.yaga I/flutter: Another exception was thrown: Instance of 'DiagnosticsProperty<void>' 2021-03-07 09:22:42.065 518-2486/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4

This is the logs from selecting the root mapping option in global settings onward 2021-03-07 09:28:26.134 1170-2523/com.google.android.gms I/NetRec: [157] NetRecChimeraGcmTaskService.a: Completed rapid_refresh_scores_task score refresh task in 114 ms, returning 2 2021-03-07 09:28:31.561 0-0/? D/logd: logdr: UID=2000 GID=2000 PID=6744 b tail=0 logMask=99 pid=0 start=0ns timeout=0ns 2021-03-07 09:28:32.518 379-379/? W/adbd: timeout expired while flushing socket, closing 2021-03-07 09:28:33.667 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=348.96973, y[0]=1027.8809, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=885974, downTime=885974, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:33.747 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=348.96973, y[0]=1027.8809, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=886057, downTime=885974, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:33.770 518-687/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:33.770 518-687/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:33.905 518-876/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:35.654 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=355.95703, y[0]=366.94336, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=887963, downTime=887963, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:35.728 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=355.95703, y[0]=366.94336, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=888038, downTime=887963, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:35.741 518-876/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:35.762 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 66bbe300-7f51-11eb-b45b-833ee70f3dc1 (start) 2021-03-07 09:28:35.813 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Listing... (nc://Username@IP/) 2021-03-07 09:28:35.874 518-876/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:35.989 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Emiting list! (nc://Username@IP/) 2021-03-07 09:28:37.026 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Emiting list! (nc://Username@IP/) 2021-03-07 09:28:37.067 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 66bbe300-7f51-11eb-b45b-833ee70f3dc1 (done - manager key) 2021-03-07 09:28:37.071 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 66bbe300-7f51-11eb-b45b-833ee70f3dc1 (done - event key) 2021-03-07 09:28:38.199 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=332.97363, y[0]=767.9004, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=890509, downTime=890509, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:38.293 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=332.97363, y[0]=767.9004, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=890603, downTime=890509, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:38.331 518-876/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:38.354 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 68478c10-7f51-11eb-ba64-97b5d698d3fc (start) 2021-03-07 09:28:38.439 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Listing... (nc://Username@IP/Talk/) 2021-03-07 09:28:38.464 518-876/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:38.486 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Emiting list! (nc://Username@IP/Talk/) 2021-03-07 09:28:38.762 6681-6750/com.github.vauvenal5.yaga I/flutter: [W] NextcloudFileManager - Emiting list! (nc://Username@IP/Talk/) 2021-03-07 09:28:38.769 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 68478c10-7f51-11eb-ba64-97b5d698d3fc (done - manager key) 2021-03-07 09:28:38.769 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] FileListLocalManager - 68478c10-7f51-11eb-ba64-97b5d698d3fc (done - event key) 2021-03-07 09:28:39.490 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=1082.9443, y[0]=2727.8613, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=891800, downTime=891800, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:39.572 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=1082.9443, y[0]=2727.8613, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=891882, downTime=891800, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:39.583 6681-6710/com.github.vauvenal5.yaga I/flutter: [W] SettingsManagerBridge - UriPreference { fixedOrigin=true, value=nc://Username@IP/Talk/, key=nc:mapping:remote, title=Remote Path, enabled=true, } 2021-03-07 09:28:39.592 518-2538/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:39.725 518-2538/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:41.037 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=1082.9443, y[0]=2731.9043, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=893347, downTime=893347, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:41.129 1049-1049/com.google.android.apps.nexuslauncher D/TaplEvents: TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=1082.9443, y[0]=2731.9043, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=893439, downTime=893347, deviceId=9, source=0x1002, displayId=0 } 2021-03-07 09:28:41.164 518-2538/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4 2021-03-07 09:28:41.301 518-2538/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4

Please not to get the logs i did run it in an emulator but the emulator was speced for a pixel 2 xl running stock android 11 (like my personal device) and it exhibitted the same issue in the exact same way. Also note that on my physical device and the emulator I was using the gesture navigation (not surper sure it amtters or not but figured I'd mention it)

vauvenal5 commented 3 years ago

Sorry for the long time, I got side tracked, does this issue still exist in the newest version? By now I also have in app support for sending logs. Maybe you could be so nice to send a new set of logs to me. Thx!

deathblade666 commented 3 years ago

So i just installed the latest version after having the app uninstalled for some time. now im having issues connecting back to my server. I use a selfhosted NC server running off a raspberry pi and have not set it up to use https just yet. So I'm not sure if in the new version if https ir a requirement now but it won't let me continue to login after typing in the address. Clicking on "Open in browser" does nothing and clicking "Continue" does nothing. I am able to supply logs, what is the best mean of sending them to you?

deathblade666 commented 3 years ago

Just looked over the log files im getting an error saying Bad state: Insecure HTTP is not allowed by platform

vauvenal5 commented 3 years ago

I am confused since https was always a requirement for this app.

vauvenal5 commented 3 years ago

You have to have at least a self-signed certificate.

deathblade666 commented 3 years ago

In a previous versions I was able to login by disabling validation check without https. Also more to the point of the intial issue. If i'm remembering correctly I had found that it was not creating a folder for my NC user account to store the images in. I had manually created that folder and I believe I was able to change the root path. but again this was some time ago.