microsoft/PowerToys

[Preview Pane] Add possibility to set file size threshold to avoid showing big files

Open

#15,508 建立於 2022年1月13日

在 GitHub 查看
 (9 留言) (3 反應) (0 負責人)C# (7,978 fork)batch import
Help WantedIdea-EnhancementProduct-File Explorer

倉庫指標

Star
 (133,154 star)
PR 合併指標
 (平均合併 14天 20小時) (30 天內合併 117 個 PR)

描述

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

貢獻者指南