dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

FilePicker on MacCatalyst app FullPath #25873

Open Timlee1 opened 1 week ago

Timlee1 commented 1 week ago

Description

Whenever I get the FullPath of a file selected, I get the temporary file location (/var/folders/v2/<long-random-string/T/-inbox/text.txt), and not the actual physical path (Users//Documents/text.txt).

Steps to Reproduce

var result = await FilePicker.Default.PickAsync(); if (result != null){ var fileResult = fileResult; if (fileResult != null){ Debug.WriteLine(fileResult.FullPath); } }

Link to public reproduction project repository

No response

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

macOS Sonoma 14.2.1

Did you find any workaround?

No response

Relevant log output