tmaegel / ntodotxt

Flutter app for managing your todos within a todo.txt file locally or via webdav (e.g. Nextcloud)
MIT License
84 stars 3 forks source link

Selecting local path does not work on v0.8.0 for Android 8.1.0 #45

Open pabgan opened 7 months ago

pabgan commented 7 months ago

Apparently, the feature is there, but version v0.8.0 from f-droid does not work on my Android 8.1.0.

Steps

  1. In the setup tap in "Use local mode" button.
  2. Tap in Local path button.

Result

It does nothing, it just changes the color of the textbox like acknowledging the tap, but nothing happens.

Tapping in the (?) shows the message: "Choose a directory by tapping the current local path"

Expected

Some way to select the directory. Typing it directly would be fine, there is no need to involve the file browser, though it is nicer.

tmaegel commented 6 months ago

I think I have a fix for the problem with the filebrowser. However, I would like to test this a little better.

pabgan commented 6 months ago

Thanks. Just let me know if you want me to test it as well.

tmaegel commented 6 months ago

There is a new version v0.8.1. Please test whether this solves the problem for you. You can either wait until the new version is available within the f-droid store or you can download it directly from the github release page.

pabgan commented 6 months ago

@tmaegel : It goes a little bit further. Now I can see Screenshot_20240429-161242 but tapping in local path does nothing, not even changes the color of the textfield to acknowledge tap.

tmaegel commented 6 months ago

Okay thank you for your feedback. Unfortunately, I cannot reproduce the behavior on an emulated device with android 8.1. With version v0.8.0 I could, but the fix I provided was for that issue. :)

The expected behavior should be a permission request for access on the file system and then a file browser should open.

Maybe I can check this on a real device but with android 7.1 these days.

Did you uninstall/install the app - just to be sure? Do you have any file browser installed on your system? What happened if you proceed with the default local path? Is this path possibly on an external SD-Card and not on the internal storage?

pabgan commented 6 months ago

Did you uninstall/install the app - just to be sure?

Yes

Do you have any file browser installed on your system?

Yes, the default one and files by Google just in case

What happened if you proceed with the default local path?

It works. I can add tasks to an empty list.

Is this path possibly on an external SD-Card and not on the internal storage?

What path? I can't set it to any other than the default. But yes, I have a consolidated SD card.

In the system apps setting I can see the disk access permission. Enabling it from there does not change the behavior of the app.

I can type the name of the file, maybe an option to type the path directly?

But I do not want to bother you too much. I am using SimpleTask, it is just that this one looked cool and wanted to try it. Thank you very much.