microsoft / microsoft/WPF-Samples
Bug in code
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.7k
- Forks
- 3.3k
- Avg merge
- 12d 8h
- Merged PRs (30d)
- 2
Description
Hi.
WPF-Samples/Input and Commands/TouchKeyboard/TouchKeyboardNotifier/TouchKeyboardEventManager.cs
line 172.
I am sure you want here this condition
if (!_registrationTokens.ContainsKey(window))
instead of this one
if (_registrationTokens.ContainsKey(window))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open Input and Commands/TouchKeyboard/TouchKeyboardNotifier/TouchKeyboardEventManager.cs and inspect line 172 in the registration-token check. Compare the condition with the issue's report, then verify that the TouchKeyboard sample still builds and that the corrected registration behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100