Termux-app: Unabl to open files with names starting with . "hidden files" using Android Access Framework (TurboEdit)

Created on 19 Aug 2019  路  6Comments  路  Source: termux/termux-app

Unable to open files starting with "." using Android Access Framework for example TurboEdit. I am not sure if it is an issue with TurboEdit or Termux.

Most helpful comment

Will be fixed in v0.104 release.

All 6 comments

User @johnmellor, who requested a document provider for the SAF framework in the first place via #79, commented on this in https://github.com/termux/termux-app/issues/79#issuecomment-213575265. He even added a commits to a fork to address the issue (although I don't see a pull request), so the behaviour does stem from Termux.

I agree that this behaviour is unfortunate. The apps using a storage should be the ones to determine whether or not they want to ignore hidden files, not the provider of the storage. File explorers normally have an option for this (FX Explorer does, for example). The storage should provide a full view of the files it contains. Indeed, I can even create new hidden files in the Termux storage using an external application, which could result in clobbering of existing files by accident, since existing hidden files are currently not visible.

To ignore hidden files by default assumes too much about the intent of the user. In my case, one of the main reasons I want to grant access to my Termux directory is to make it easier to manage my "home" directory, and most of the files of interest to me are hidden files.

Is there any reason not to update this behaviour?

FYI, I've created pull request #1856, which is identical to to the commit created by @johnmellor.

Will be fixed in v0.104 release.

Thanks for the quick fix @xeffyr!

Do you plan to release to Google Play?
Current version is 101.
Thanks for the fix!

Google Play releases are end-of-life now. See more information: https://wiki.termux.com/wiki/Termux_Google_Play

Termux needs drastic changes in order to get released on Google Play again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerroon picture gerroon  路  5Comments

nomxs picture nomxs  路  4Comments

AnkurJagani picture AnkurJagani  路  3Comments

christianrondeau picture christianrondeau  路  4Comments

nedz14 picture nedz14  路  4Comments