Skip to content

fix: Allow Key property in XAML for KeyboardAccelerator (backport #22362) - #22404

Merged
kazo0 merged 1 commit into
release/stable/6.5from
mergify/bp/release/stable/6.5/pr-22362
Jan 22, 2026
Merged

kazo0 merged 1 commit into
release/stable/6.5from
mergify/bp/release/stable/6.5/pr-22362

Conversation

@mergify

@mergify mergify Bot commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #22094

PR Type: 🐞 Bugfix

What is the current behavior? 🤔

The XAML source generator was incorrectly filtering out all properties named "Key", which was intended to exclude x:Key directive but also excluded legitimate properties like KeyboardAccelerator.Key.

Changed the filter to only exclude Key when it has the XAML namespace (x:Key), allowing regular Key properties to be generated.

What is the new behavior? 🚀

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️


This is an automatic backport of pull request #22362 done by [Mergify](https://mergify.com).

@github-actions github-actions Bot added the area/code-generation Categorizes an issue or PR as relevant to code generation label Jan 20, 2026
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 192102 has failed on Uno.UI - CI.

@kazo0
kazo0 force-pushed the mergify/bp/release/stable/6.5/pr-22362 branch from e8f0bce to 0ba3d26 Compare January 21, 2026 19:57
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@kazo0
kazo0 disabled auto-merge January 22, 2026 02:19
@kazo0
kazo0 enabled auto-merge January 22, 2026 02:19
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 192370 has failed on Uno.UI - CI.

The XAML source generator was incorrectly filtering out all properties
named "Key", which was intended to exclude x:Key directive but also
excluded legitimate properties like KeyboardAccelerator.Key.

Changed the filter to only exclude Key when it has the XAML namespace
(x:Key), allowing regular Key properties to be generated.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
(cherry picked from commit 8f7d262)
@MartinZikmund
MartinZikmund force-pushed the mergify/bp/release/stable/6.5/pr-22362 branch from 0ba3d26 to 3ed77c6 Compare January 22, 2026 06:48
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 192467 has failed on Uno.UI - CI.

@kazo0
kazo0 merged commit 1d12d48 into release/stable/6.5 Jan 22, 2026
52 of 53 checks passed
@kazo0
kazo0 deleted the mergify/bp/release/stable/6.5/pr-22362 branch January 22, 2026 16:16
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/code-generation Categorizes an issue or PR as relevant to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants