Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use the new Microsoft.Windows.Storage.Pickers API#509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
DinahK-2SO wants to merge3 commits intorelease/experimental
base:release/experimental
Choose a base branch
Loading
fromuser/DinahK-2SO/1_8_preview_storage_pickers

Conversation

@DinahK-2SO
Copy link

Use the new Microsoft.Windows.Storage.Pickers API from WindowsAppSDK.1.8

picker.FileTypeFilter.Add(".png");

varfile=awaitpicker.PickSingleFileAsync();
varpicker=newFileOpenPicker(App.window.Id)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think no compliable here, since i tried it.
Even you change to App.Window.AppWindow.Id will not be working in runtime, since i tried it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I can put my version in your PR here.
Basically, beside using our picker, I also get rid of StorageFile in below usage.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sorry,@DinahK-2SO, I found that I cannot apply the file pickers here.
Since 1.8 stable build doesn't have all API need for previous 1.8 experiemental release for this AI project.
And our picker in 1.8 exp4 doesn't work here as well because of localization problem.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

My local build has the same issue. I am converting this PR to draft. Let's wait for the samples to migrate to official release.

@DinahK-2SODinahK-2SO marked this pull request as draftOctober 9, 2025 06:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@yeelam-gordonyeelam-gordonyeelam-gordon left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@DinahK-2SO@yeelam-gordon

[8]ページ先頭

©2009-2025 Movatter.jp