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

Fixed KeyTrigger where the Alt key was being seen as Key.System #176

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

brianlagunas
Copy link
Collaborator

Fixes #175

There are not unit tests because WPF makes it impossible to simulate modifier keys in a unit test.

@brianlagunas
Copy link
Collaborator Author

@mgoertz-msft Looks like we have some build errors I do not have access to fix

Error: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

@mgoertz-msft
Copy link
Member

@jstedfast Could you please help Brian with this? Thank you!

@jstedfast jstedfast self-assigned this Aug 26, 2024
@jstedfast jstedfast merged commit 62e5480 into main Aug 28, 2024
1 check passed
@jstedfast jstedfast deleted the alt-keytrigger-fix branch August 28, 2024 15:58
ChrisPulman referenced this pull request in reactiveui/ReactiveUI Sep 19, 2024
#3903)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[Microsoft.Xaml.Behaviors.Wpf](https://redirect.github.com/Microsoft/XamlBehaviorsWpf)
([source](https://redirect.github.com/microsoft/XamlBehaviorsWpf)) |
`1.1.122` -> `1.1.135` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.135?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.135?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.122/1.1.135?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.Xaml.Behaviors.Wpf/1.1.122/1.1.135?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/XamlBehaviorsWpf
(Microsoft.Xaml.Behaviors.Wpf)</summary>

###
[`v1.1.135`](https://redirect.github.com/microsoft/XamlBehaviorsWpf/releases/tag/v1.1.135):
Behaviors 1.1.135

##### What's Changed

This release fixes an issue with [Keytriggers not firing when the ALT
modifier is
used](https://redirect.github.com/microsoft/XamlBehaviorsWpf/issues/175):

- Fixed KeyTrigger where the Alt key was being seen as Key.System by
[@&#8203;brianlagunas](https://redirect.github.com/brianlagunas) in
[https://github.com/microsoft/XamlBehaviorsWpf/pull/176](https://redirect.github.com/microsoft/XamlBehaviorsWpf/pull/176)

**Full Changelog**:
microsoft/XamlBehaviorsWpf@v1.1.122...v1.1.135

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/reactiveui/ReactiveUI).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jeSBNYW5hZ2VtZW50Il19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

KeyTrigger doesn't invoke the command using "ALT" Modifier Key
3 participants