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
6.08k stars 410 forks source link

Disable thumbnail creation and/or respect .nomedia file #366

Open bhe69 opened 4 years ago

bhe69 commented 4 years ago

First of all I'd like to tell you that I absolute love Material Files.

I have a proposal for a new option or function in Material Files:

Please add an option to disable the creation of thumbnails for files. Sometimes there a reasons why the creation of thumbnails is unwanted. The user should have the possibility to disable the creation of thumbnails in the settings menu, (possibly with an option to delete already created thumbnails).

This proposal could be combined the detection of a ".nomedia" file. If a ".nomedia" file exists in a folder, no thumbnails should be created for files in this folder.

zhanghai commented 4 years ago

A .nomedia means the files under that directory should be ignored when gallery is indexing media files, however I don't think it mandates no thumbnail/preview when the user themself is actively viewing images under that directory.

Why do you dislike thumbnails? If it's out of privacy concern, Material Files actually stores thumbnail files inside its app data on device internal storage, meaning no other app can read it unless the system is compromised/rooted.

Meanwhile for the same reason, you can just clear cache data for this app in Settings' app detail page if you want to delete thumbnails.

bhe69 commented 4 years ago

Yes, the main reason is privacy concern, further are user's choice and taking up storage space. It's good to know that the thumbnails are stored (somewhat) privately, however with root access you can undelete files even though you've cleared the cache. Hence an option to disable thumbnail creation at all would be great!