[Preview Pane] Add possibility to set file size threshold to avoid showing big files
#15.508 geöffnet am 13. Jan. 2022
Repository-Metriken
- Stars
- (133.154 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 14T 20h) (117 gemergte PRs in 30 T)
Beschreibung
Description of the new feature / enhancement
Add a field where the user can specify the maximum file size he would like to show to the Preview Pane, to avoid showing big files, which would take a lot of time/RAM to load, and in some cases would crash the File Explorer.
Adding a settable parameter (e.g. max_size) would be enough to solve this problem I suppose. As an example, max_size = 1 MB would only show to the Preview Pane files of size up to 1 MB.
Scenario when this would be used?
When the file size too big for the available RAM size.
When the file size (e.g. an svg image in my case) is too big: the Preview Pane takes forever, consumes a lot of RAM to load it and then the File Explorer crashes.
Supporting information
No response