microsoft / microsoft/microsoft-ui-xaml
Image Source doesn't support long paths
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
Image control doesn't work with long file paths, that are actually supported by rest parts of dotnet.
### Why is this important?
My user tries to open file from his filesystem, that is located deep inside folder structure and has a pretty long name. Image shows nothing, but he still can open it from other applications.
### Steps to reproduce the bug
```
```
### Actual behavior
Image doesn't show
### Expected behavior
Image shows
### Screenshots
_No response_
### NuGet package version
2.2.0
### Windows version
Windows 11 (24H2): Build 26100
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the issue with the long path in the Image control example and compare it with a shorter path. Trace the Image control's source-loading path to find where long paths stop working. Done means the example image renders successfully on the stated Windows and package versions, with regression coverage if the existing tests expose a suitable entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100