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

UWP: Keep upstream names for capabilities preset settings to avoid mismatch #49680

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

akien-mga
Copy link
Member

The previous code used camelcase_to_underscore to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the AppxManifest.xml.

It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.

Fixes #47900.
Supersedes #47902.


Also, this doesn't seem to impact what gets shown to users in the Export Preset configuration dialog, where the property editor does apply capitalize anyway:

Screenshot_20210617_130850

…smatch

The previous code used `camelcase_to_underscore` to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the `AppxManifest.xml`.

It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.

Fixes godotengine#47900.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
@akien-mga akien-mga added bug platform:uwp cherrypick:3.x Considered for cherry-picking into a future 3.x release cherrypick:3.3 topic:export labels Jun 17, 2021
@akien-mga akien-mga added this to the 4.0 milestone Jun 17, 2021
@akien-mga akien-mga requested a review from a team as a code owner June 17, 2021 11:09
@akien-mga akien-mga merged commit 2b0bf20 into godotengine:master Jun 17, 2021
@akien-mga akien-mga deleted the fix-uwp-export-capabilities branch June 17, 2021 12:34
@akien-mga
Copy link
Member Author

Cherry-picked for 3.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 29, 2021
@akien-mga
Copy link
Member Author

Cherry-picked for 3.3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiword UWP Export Capabilities not added to AppxManifest.xml
2 participants