MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
227 stars 493 forks source link

Does FileOpenPicker.PickMultipleFilesAsync still throw an exception when the app is snapped? #2444

Closed KevinKennedy closed 5 months ago

KevinKennedy commented 6 months ago

On Windows 11 (10.0.22621.3007) I can snap my app's window and FileOpenPicker.PickMultipleFilesAsync works as expected with no exception being thrown. So the warning in this doc doesn't seem to apply. Maybe call out which version of Windows fixed this?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

JaiganeshKumaran commented 6 months ago

I presume this only applies to Windows 8, where the file picker shows up as a full-screen popup over a Metro-style app's window.

KevinKennedy commented 6 months ago

Makes sense. I've long forgotten about that 🙂

alvinashcraft commented 5 months ago

Thanks for the PR to clarify the message, @JaiganeshKumaran. The change has been merged and should be reflected in the live docs soon.