microsoft / microsoft/PowerToys
[Peek] Opening a folder in CLI mode miscategorises it and shows 0 byte size
Open
Issue-Bug
Needs-Triage
Product-Peek
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.100.2
### Installation method
GitHub
### Area(s) with issue?
Peek
### Steps to reproduce
1. Open PowerShell
2. Enter:
```pwsh
\PowerToys.Peek.UI.exe C:\SomeFolderThatExists
```
### ✔️ Expected Behavior
The folder details are opened in Peek.
### ❌ Actual Behavior
The folder previewer is opened, but the folder is shown with no name, has a size of 0 bytes, the number of files is not shown, and the tooltip is blank:
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.