Description
Selecting files can cause noticeable delays, especially when the Recycle Bin contains a large number of items.
SHQueryRecycleBin() can be slow (over 1 second) when the Recycle Bin is large, and ToolBar.PopulateToolbarItems() is called multiple times per selection leads to UI lag.
ToolBar.PopulateToolbarItems()
-> ...
-> TrashBinService.QueryRecycleBin()
-> PInvoke.SHQueryRecycleBin()
Steps To Reproduce
- Fill the Recycle Bin with a large number of files
- Execute Files
- Navigate to a folder
- Change file selection repeatedly
Files Version
4.0.40.0
Windows Version
10.0.26100
User ID
No response
Log File
no log files
Description
Selecting files can cause noticeable delays, especially when the Recycle Bin contains a large number of items.
SHQueryRecycleBin()can be slow (over 1 second) when the Recycle Bin is large, andToolBar.PopulateToolbarItems()is called multiple times per selection leads to UI lag.Steps To Reproduce
Files Version
4.0.40.0
Windows Version
10.0.26100
User ID
No response
Log File
no log files