Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 2, 2025

GitHub Issue: Related to #22014

PR Type:

🧪 Test

What is the current behavior? 🤔

The fix in #22014 added Menu/Option and Windows/Command keys to the ignored modifier keys list in TextBox.skia.cs, but lacked test coverage for these newly ignored keys.

What is the new behavior? 🚀

Added runtime test When_Option_Or_Command_Key_Alone() that verifies pressing these modifier keys alone doesn't insert text into the TextBox:

  • Tests VirtualKey.Menu, LeftMenu, RightMenu (Option/Alt)
  • Tests VirtualKey.LeftWindows, RightWindows (Command on macOS)
  • Follows the existing When_Shift() test pattern

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️

This PR merges into #22014 to address review feedback requesting test coverage for the modifier key changes.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] WIP address changes based on feedback for macOS key handling fix test: Add coverage for Menu/Option and Windows/Command modifier keys Dec 2, 2025
Copilot AI requested a review from spouliot December 2, 2025 19:56
@spouliot spouliot marked this pull request as ready for review December 2, 2025 22:24
@spouliot spouliot merged commit ea29df4 into dev/spouliot/gh21925 Dec 2, 2025
5 checks passed
@spouliot spouliot deleted the copilot/sub-pr-22014 branch December 2, 2025 22:24
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.

3 participants