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

screenshot: indicate correct version #103

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

FineFindus
Copy link
Contributor

Return version 1 for the screenshot portal to indicate that the PickColor method is not yet fully supported. This will allow clients to properly check and handle the missing method.

Ref: flatpak/xdg-desktop-portal#766

@jackpot51 jackpot51 requested a review from wash2 October 27, 2024 17:13
@ids1024
Copy link
Member

ids1024 commented Oct 29, 2024

This shouldn't actually impact behavior, because the version property isn't defined properly (here or before). It needs #[zbus(property, name = "version")] to use the right name, instead of the name Version.

#96 has a commit changing that, though it still needs some other changes (I guess including implementing PickColor).

Return version `1` for the screenshot portal to indicate that the
`PickColor` method is not yet fully supported. This will allow clients
to properly check and handle the missing method.

Ref: flatpak/xdg-desktop-portal#766
@FineFindus FineFindus force-pushed the fix/screenshot-version branch from 6690093 to 2b84de3 Compare November 1, 2024 19:03
@FineFindus
Copy link
Contributor Author

Thanks! I've updated the commit.

@ids1024 ids1024 merged commit cde4768 into pop-os:master Nov 15, 2024
@FineFindus FineFindus deleted the fix/screenshot-version branch November 15, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants