microsoft / microsoft/WPF-Samples

Bug in code

Open
#257 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

up-for-grabs
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.