Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5275 set multiple images as desktop background #9712

Merged

Conversation

QuaintMako
Copy link
Contributor

@QuaintMako QuaintMako commented Aug 12, 2022

Resolved / Related Issues
Items resolved / related issues by this PR.

Details of Changes
Add details of changes here.

  • Added the "Set as desktop slideshow" command in the ContextFlyout menu.
  • Added bigger constraints on "Set as Desktop Background" and "Set as lockscreen background" so they appear only if one image is selected.
  • Readapted CheckFileExtension in src/Files.Uwp/ViewModels/SelectedItemsPropertiesViewModel.cs to be able to handle multiples extensions in entry, reflecting any multi-selection.
  • Did some light refactor on src/Files.Uwp/ViewModels/SelectedItemsPropertiesViewModel.cs.

Validation
How did you test these changes?

  • Built and ran the app
  • Tested the changes for accessibility

Screenshots

SetAsDesktopSlideshow

@yaira2
Copy link
Member

yaira2 commented Aug 14, 2022

@puppetsw does your PR also do this?

@puppetsw
Copy link
Contributor

@puppetsw does your PR also do this?

Only for the toolbar not the context menu.

…elper to compare extensions in SelectedItemsPropertiesViewModel.
Copy link
Contributor

@puppetsw puppetsw left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

LGTM

@yaira2 yaira2 merged commit 067bade into files-community:main Aug 16, 2022
@QuaintMako QuaintMako deleted the 5275_SetMultipleImagesAsDesktopBackground branch August 16, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Set as" Doesn't appear when selecting >1 image.
3 participants