zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
5.87k stars 397 forks source link

Select file/path (paste/write path, search results, terminal, root) #219

Open mmm4m5m opened 4 years ago

mmm4m5m commented 4 years ago
  1. I can "copy path" but I can NOT "paste path" or "write path" manually.

  2. Search results have files and directories. For files menu, it will be useful to have "go to file directory".

  3. For "open in terminal", I can not select which terminal application to be used. I have 2 terminal applications, it is using "Terminal Emulator" (FDroid). If root is needed, then the "cd" command fails.

  4. From "KeePass DX" application, "Material Files" can be used as "select file" for "open existing database" BUT it is NOT used for "create new database" (It is not just "select directory", because using the default "select file/path" application, I had to provide directory and file name for the new database).

  5. (Edit: I noticed that "back" button works the same way with default "select file" - navigate to top directory and then exit) When "Material Files" is used as "select file", then "back" button must always "exit" and return back to the main application. Currently, "back" button navigate to the top directory (root or internal) and after that it will "exit".

  6. This one is more twisted... I am not sure is it valid issue...

1) Default "select file": From "KeePass DX", open database, using default "select file" application, I selected: "Internal/Download/test.kdbx" File open and save works. File name is shown correctly! In "KeePass DX" settings I see: "content://com.android.externalstorage.documents/document/primary%3ADownload%2Ftest.kdbx"

2) Strange file name with "Material Files": From "KeePass DX", open database, using "Material Files" to "select file", I selected: "Internal/Download/test.kdbx" File open and save works. File name is shown as: "file%3A%2F%2F%2Fstorage%2Femulated%2F0%2FDownload%2Ftest.kdbx" In "KeePass DX" settings I see: _"content://me.zhanghai.android.files.fileprovider/file%253A%252F%252F%252Fstorage%252Femulated%252F0%252FDownload%252Ftest.kdbx"

3) Save not working (maybe it is "KeePass DX" fault): From "KeePass DX", open database, using "Material Files" to "select file", I selected: "/data/data/com.kunzisoft.keepass.libre/test.kdbx" (rooted) File open works. File save is NOT working. File name is shown as: "file%3A%2F%2F%2Fdata%2Fdata%2Fcom.kunzisoft.keepass.libre%2Ftest.kdbx" In "KeePass DX" settings I see: _"content://me.zhanghai.android.files.fileprovider/file%253A%252F%252F%252Fdata%252Fdata%252Fcom.kunzisoft.keepass.libre%252Ftest.kdbx"

4) Strange file name with default "select file": From "KeePass DX", open database, using "Material Files" to "select file", I selected: "Downloads/test.kdbx" (virtual folder "Downloads") File open and save works. File name is shown as: "6" In "KeePass DX" settings I see: "content://com.android.providers.downloads.documents/document/6"

Thanks!

PrSunflower commented 4 years ago

Hi, it seems that you are describing many problems/feature requests in one single issue. For everyone to be able to help you it would be much much better if you create a separate issue for each problem.

Aside from this, I agree that there should be a "Paste path" feature. I have created issue #367 for this feature request. Be sure to leave a thumbs up if you still agree. 😉