Skip to content

feat(injection): Add keyboard input injection on Skia - #23970

Merged
MartinZikmund merged 17 commits into
masterfrom
dev/mazi/keyboardinjection
Oct 9, 2026
Merged

MartinZikmund merged 17 commits into
masterfrom
dev/mazi/keyboardinjection

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: closes #12962

PR Type:

✨ Feature

What changed? 🚀

InputInjector.InjectKeyboardInput was unimplemented on every Uno target — the generated stub threw. This implements it for all Skia targets.

The implementation joins the input pipeline at InputManager.KeyboardManager, the single chokepoint every Skia host already feeds through IUnoKeyboardInputSource. Injected keys therefore get focus routing, accelerators, Tab navigation and text input for free, with no per-host changes.

Keyboard injection targets the active window, mirroring the foreground-window behavior of the Windows implementation. The injector registration moves from the managed pointer manager into the InputManager constructor and now tracks every ContentRoot on the thread, so a second window is reachable.

Also included:

  • Held modifiers now reach injected pointer events. A modifier latched by an injected key-down is carried into subsequently injected pointer events, so Ctrl+Click behaves as it does for a user.
  • Unpaired surrogates no longer throw in Skia text layout. UnicodeText assumed every surrogate was part of a valid pair, so char.ConvertToUtf32 threw whenever a lone surrogate reached layout — which happens transiently whenever a surrogate pair arrives one code unit at a time, i.e. exactly how a pair is typed, injected, or committed by an IME. Unpaired surrogates now render as the replacement character.
  • A design note in specs/keyboard-injection-design.md covering the pipeline entry point, window targeting, and the documented differences from Windows (in-process only, no IME composition, invariant US layout unless Unicode is used, no automatic key repeat, synchronous delivery).

Non-Skia targets keep the previous behavior: the new IInputInjectorTarget keyboard members follow the existing pointer pattern (cross-platform explicit interface implementation delegating to a partial void that only the Skia file implements), so they compile to a no-op everywhere else.

PR Checklist ✅

@github-actions github-actions Bot added area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation labels Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 4m 25s —— View job


PR Review: feat(injection): Add keyboard input injection on Skia

Tasks:

  • Gather context and analyze PR structure
  • Read changed source files
  • Review InputInjector.cs (main logic)
  • Review InjectedInputKeyboardInfo.cs and InjectedInputKeyboardCharacterMap.cs
  • Review InputManager.Keyboard.skia.cs and InputManager.Keyboard.cs
  • Review IInputInjectorTarget.cs interface changes
  • Review runtime tests
  • Post inline comments
  • Write summary

Review Summary

Verdict: ship — the architecture is sound and the approach of joining at KeyboardManager.OnKey is correct. A handful of small issues below.

Inline findings posted (4 substantive, 1 informational):

Cross-cutting notes (no matching diff line):

  • IInputInjectorTarget.cs carries a pre-existing using System.Linq; import that is never used — remove it.
  • The InjectedInputKeyboardCharacterMap omits numpad operators (Add, Subtract, Multiply, Divide) from the shift-aware path (they correctly fall through to the unshifted switch arm), but consider a note explaining they are unaffected by shift for future readers.
  • Test coverage is excellent: 13 targeted tests covering character synthesis, modifier chaining, Caps Lock, Tab nav, Unicode/surrogate injection, KeyStatus fields, and the Ctrl+Click cross-device modifier test. The design doc in specs/ is a useful addition.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 225873 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2348, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • ImageIconPage.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • Examples.png-dark
  • skia-windows-screenshots: 2348 changed over 2394

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AppBarButtonTest.png-dark
    • Accessibility_ScreenReader.png-dark
    • AppWindowFeatures.png-dark
    • AppWindowPresenters.png
    • AutoBorderStretchwithbottommargin.png-dark
    • AuthenticationBroker_Demo.png
    • AutomationProperties_Name.png-dark
    • AutomationProperties_Name.png
    • AutoSuggestBox_Description.png
    • AutoSuggestBox_Reason.png
    • BadgeNotificationTests.png
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png
    • Battery.png-dark
    • BitmapIcon_Sizing.png-dark
    • BenchmarkDotNet.png
    • Border_AntiAlias.png
    • BitmapIcon_Sizing.png
    • Border_BorderThickness.png-dark
    • BitmapImage_vs_SvgImageSource.png-dark
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Uno_Web.Http.CookieManagerTests

@unodevops

Copy link
Copy Markdown
Contributor

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

@MartinZikmund
MartinZikmund changed the base branch from master to feature/breakingchanges August 22, 2026 15:32
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/keyboardinjection branch from 749d749 to fbe3858 Compare August 22, 2026 15:33
@github-actions

github-actions Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 3m 43s —— View job


PR Review: feat(injection): Add keyboard input injection on Skia

Tasks:

  • Load MCP tools
  • Read changed source files
  • Review InputInjector.cs (main logic)
  • Review InjectedInputKeyboardInfo.cs and InjectedInputKeyboardCharacterMap.cs
  • Review InputManager.Keyboard.cs and IInputInjectorTarget.cs
  • Review runtime tests
  • Post inline comments
  • Write summary

Review Summary

Verdict: fix-first — the architecture and approach are sound; a small cluster of issues from the prior review were not addressed and need fixing before merge.

Inline findings (5 posted):

Severity Location Issue
🔴 Bug InjectedInputKeyboardInfo.cs:59 Wrong paramName in ArgumentException — nameof(InputInjector.InjectKeyboardInput) resolves to a method name, not a parameter name; ex.ParamName returns a misleading value. Should be "input". (flagged by prior review, not yet fixed)
🟡 Test Given_InputInjector_Keyboard.cs:317 No key-up events for either surrogate code unit in the emoji test — VK 255 stays permanently "down" in KeyboardStateTracker. (flagged by prior review, not yet fixed)
🟡 Style InputManager.Keyboard.cs:168 New code uses .LogWarning(...) (MEL extension) while the surrounding file uses this.Log().Error(...) (Uno convention). Should be .Warn(...). (flagged by prior review, not yet fixed)
🟡 Style InputManager.Keyboard.cs:52 Pre-existing copy-paste: error message says "PointerManager" — should read "KeyboardManager". Good opportunity to fix while this file is open.
🟢 Nit Given_InputInjector_Keyboard.cs:32 Assert.Inconclusive is discouraged by the runtime-test guidelines — add a comment explaining why it's justified here over [PlatformCondition] or [Ignore].
🟢 Nit IInputInjectorTarget.cs:16 Pre-existing using System.Linq; is unused in this pure interface — remove it.

What's correct:

  • The join-point at KeyboardManager.OnKey is the right place to inject — injected keys get focus routing, accelerators, Tab nav, and CharacterReceived for free.
  • InjectKeyboardInput validates the full batch before dispatching any key (preventing partial injection with latched modifiers).
  • ResolveKeyboardTarget correctly falls back to the injector's own target when no window is active.
  • The static _capsLock with process-wide semantics is clearly documented and the TryCreate()-per-call pattern justifies it.
  • InjectedInputKeyboardCharacterMap is a clean US-layout invariant map — the AltGr / Apple keyboard suppression logic is correct.
  • Test coverage is excellent: 13 targeted tests covering character synthesis, modifier chaining, Caps Lock, Tab nav, Unicode/surrogate injection, KeyStatus fields, and the Ctrl+Click cross-device modifier test.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund force-pushed the dev/mazi/keyboardinjection branch from fbe3858 to 7db720c Compare August 22, 2026 16:31
@github-actions

github-actions Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 4m 10s —— View job


PR Review: feat(injection): Add keyboard input injection on Skia

Tasks:

  • Load MCP tools
  • Read changed source files
  • Check if prior review findings were addressed
  • Post inline comments for remaining issues
  • Write summary

Review Summary

Verdict: fix-first — the two new commits (7db720cb refactor: drop dead #if HAS_INPUT_INJECTOR guard; 72aef409 fix: retarget DevTools input namespace for 7.0) are both clean and introduce no new issues. However, all four substantive findings from the prior reviews remain unaddressed.

Inline findings (4 posted):

Severity Location Issue
🔴 Bug InjectedInputKeyboardInfo.cs:59 Wrong paramName in ArgumentException — nameof(InputInjector.InjectKeyboardInput) resolves to a method name, not a parameter name; ex.ParamName returns "InjectKeyboardInput" instead of "input". (flagged by both prior reviews, still unfixed)
🟡 Test Given_InputInjector_Keyboard.cs:317 No key-up events for either surrogate code unit in the emoji test — VK 255 stays permanently "down" in KeyboardStateTracker. The é test was fixed to include a key-up; the emoji test was not. (flagged by both prior reviews, still unfixed)
🟡 Style InputManager.Keyboard.cs:168 New Inject() method uses .LogWarning(...) (MEL extension) while the rest of this file uses this.Log().Error(...) (Uno convention). Should be .Warn(...). (flagged by both prior reviews, still unfixed)
🟢 Nit Given_InputInjector_Keyboard.cs:32 Assert.Inconclusive is valid here but needs a brief comment explaining why [PlatformCondition] or [Ignore] cannot be used instead, per runtime-tests.md. (flagged by both prior reviews, still unfixed)

Cross-cutting notes (not in diff, cannot post inline):

  • InputManager.Keyboard.cs:52: pre-existing copy-paste — error message says "PointerManager" but should read "KeyboardManager". Good opportunity to fix while this file is open; both prior reviews noted it.
  • IInputInjectorTarget.cs:3: pre-existing using System.Linq; is unused in this pure interface — remove it.

What's correct in the new commits:

  • Removing the #if HAS_INPUT_INJECTOR guard is correct — the comment in the commit message accurately explains why it's dead weight on the 7.0 line.
  • Retargeting the DevTools input namespace is a clean mechanical fix that depends on refactor!: Give the legacy toolkit types their natural namespaces #24148.
  • Core architecture (join-point at KeyboardManager.OnKey, weak-reference target list, process-wide _capsLock, pre-validation of batches, ResolveKeyboardTarget active-window logic) remains sound.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 229579 found UI Test snapshots differences: skia-linux-screenshots: 73, skia-windows-screenshots: 123

Details
  • skia-linux-screenshots: 73 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DynamicFont.png
    • CalendarView_Theming.png-dark
    • ButtonClippingTestsControl.png-dark
    • Buttons.png
    • ButtonClippingTestsControl.png
    • Examples.png
    • Focus_FocusVisual_Properties.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • ContextRequested.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • ContentControl_Inheritance.png
  • skia-windows-screenshots: 123 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Attributed_text_FontSize_Changing.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • DataTransferManager.png-dark
    • DataTransferManager.png
    • EmailManagerTests.png-dark
    • EmailManagerTests.png
    • Contacts_Pick.png-dark
    • Contacts_Pick.png
    • CalendarView_Theming.png-dark
    • DropDownButtonPage.png-dark
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Haptics.VibrationDevice.png-dark
    • Haptics.VibrationDevice.png
    • ContentPresenter_Template.png-dark

MartinZikmund and others added 17 commits October 9, 2026 14:05
Implements InputInjector.InjectKeyboardInput on all Skia targets by joining
the input pipeline at InputManager.KeyboardManager, the single chokepoint every
Skia host already feeds through IUnoKeyboardInputSource. Injected keys therefore
get focus routing, accelerators, Tab navigation and text input for free, with no
per-host changes.

Keyboard injection targets the active window, mirroring the foreground-window
behavior of the Windows implementation. The injector registration moves from the
managed pointer manager into the InputManager constructor and now tracks every
ContentRoot on the thread, so a second window is reachable.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqgzbwoDgQg8h23MRQamNr
(cherry picked from commit 7657e7a)
UnicodeText assumed every surrogate was part of a valid pair, so
char.ConvertToUtf32 threw whenever a lone surrogate reached layout. That happens
transiently whenever a surrogate pair arrives one code unit at a time, which is
how a pair is typed, injected, or committed by an IME.

The step also advanced by two for a lone low surrogate, skipping the following
character.

Unpaired surrogates now render as the replacement character instead of throwing.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqgzbwoDgQg8h23MRQamNr
(cherry picked from commit 73b13d1)
Covers typing into the focused element, Shift casing, Ctrl+A select-all without
a character, accelerator matching via injected modifier keys, Tab focus
movement, Unicode and surrogate pairs, bare key-up, ordering and KeyStatus.

When_InjectKey_Raises_CharacterReceived is the discriminating test: it cannot
pass through TestServices.KeyboardHelper, which raises routed events directly on
an element and so never reaches the only CharacterReceived raise site.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqgzbwoDgQg8h23MRQamNr
(cherry picked from commit 2aed440)
InjectMouseInput hardcoded VirtualKeyModifiers.None, so a modifier held through
InjectKeyboardInput never reached the pointer args and Ctrl+Click could not be
composed from the two injection APIs. Modifiers now default from the tracked
keyboard state.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqgzbwoDgQg8h23MRQamNr
(cherry picked from commit 75a187f)
- Mark InjectKeyboardInput [NotImplemented] for __WASM__ and IS_UNIT_TESTS. The
  native WASM (DOM) head defines HAS_INPUT_INJECTOR but has no keyboard body, so
  the API silently no-opped there while advertising itself implemented. Runtime
  tests are now gated on __SKIA__ so the WASM leg no longer runs them.
- Hold injector targets weakly. The per-thread list is appended from every
  InputManager constructor, so strong references pinned each closed window's
  visual tree for the process lifetime and defeated ContentRoot teardown.
- Validate a keyboard batch before dispatching any of it. Throwing mid-batch left
  injected modifier keys latched in the process-wide KeyboardStateTracker with no
  key-up to release them.
- Make the Caps Lock latch process-wide. TryCreate() mints a new injector per
  call, so per-instance state silently reset between them.
- Always scan for the active window instead of skipping the scan for a single
  target, and log when no window reports active.
- Match TextBox's AltGr and Apple-layout rules when synthesizing characters, so
  injection cannot produce a character the platform never would.
- Require the UI thread: injection drives the routed-event pipeline and reads
  shared keyboard state, neither of which is thread-safe.

Tests no longer pass vacuously when no injector is available, and cover Caps Lock
latching and batch validation.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01VqgzbwoDgQg8h23MRQamNr
(cherry picked from commit d62b0e1)
- ArgumentException now reports "input" as paramName instead of a method name.
- InjectKeyboardInputAsync validates the whole batch before dispatching, so the
  no-partial-delivery contract of the synchronous overload holds there too.
- Caps Lock toggling moves behind a static helper, keeping the static write out
  of the instance method.
- Logging uses this.Log().Warn(...), matching the rest of the file, and the
  KeyboardManager init error no longer says "PointerManager".
- The surrogate-pair test releases VK 255 instead of leaving it latched down.
- Documented why the XamlIsland skip uses Assert.Inconclusive.
- Dropped an unused using from IInputInjectorTarget.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01QmZ63vuPQNDmg8H6nSGFSq
Real input reads the OS key state after the transition is applied, so a
Shift key-down already reports Shift. The tracker is only updated once the
routed event reaches UIElement, so injected args reported stale modifiers.

Also resolves the Unicode key (255) before querying WasKeyDown, which was
previously looked up against VirtualKey 0.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012PF59BzvEyASdeFtsFHrox
Select-all is Cmd+A on Apple keyboards, so the hardcoded Ctrl+A failed on
macOS and iOS.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012PF59BzvEyASdeFtsFHrox
An unpaired surrogate in a test name or assertion message made the whole
NUnit results document unwritable on WebAssembly, where it is POSTed to a
server that encodes as UTF-16. The shard then aborted with "Root element is
missing" and no diagnostics.

Escape non-XML characters when generating the document, and stop passing
lone surrogates as data-row values.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012PF59BzvEyASdeFtsFHrox
Releasing one side of Shift, Control, Menu or Windows cleared the whole
modifier even while the opposite side was still held, both on the release
event and, through KeyboardStateTracker's aggregate key, on later input.
The aggregate Shift/Control/Menu state now stays down while either side
is, matching Win32 GetKeyState.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Both keyboard injection overloads now go through one validation helper,
and target lookups drop collected window references instead of only
pruning when a new window registers.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Canceling InjectKeyboardInputAsync mid-batch left injected modifiers
latched. Also document synchronous delivery and the UI-thread
requirement as differences from Windows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YY8tbyuyYCBAZWQQkpQyiL
Copilot AI lite review requested due to automatic review settings October 9, 2026 12:16
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/keyboardinjection branch from 0522126 to b5ab665 Compare October 9, 2026 12:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 36s —— View job


PR Review: feat(injection): Add keyboard input injection on Skia

Verdict: ship. I posted no inline comments.

The two newest commits are f9011a15 (finish canceled keyboard batches) and b5ab6654 (test for it). They address the cancellation concern from the latest Copilot pass: InjectKeyboardInputAsync now checks ct before dispatch begins. I only read the start of the method, so I did not trace the rest of the cancellation path. This review was by code inspection only. I did not build or run anything.

Latest Copilot findings (open on the PR):

  • OperatingSystem.IsMacOS etc. on older TFMs: not an issue. The project builds for modern TFMs, where these APIs exist.
  • _capsLock atomicity: not an issue. EnsureUIThread() limits all writes to a UI thread, and the field is a process-wide toggle on purpose.
  • Mid-batch cancellation leaving modifiers latched: addressed by f9011a15 and b5ab6654.
  • Synchronous delivery vs WinUI's asynchronous delivery: already documented. The remarks say handlers have run by the time the method returns, and the design note lists the divergence.

Cross-cutting: nothing new beyond what earlier rounds already confirmed fixed.
· branch

@MartinZikmund

Copy link
Copy Markdown
Member Author

Addressed PR comments up to this point

Rebased onto current master (532 commits, no conflicts).

  • Canceling InjectKeyboardInputAsync mid-batch could latch modifiers: fixed in f9011a1, regression test in b5ab665 (it fails without the fix).
  • Synchronous delivery and the UI-thread requirement are now documented as differences from Windows (f9011a1).
  • Two threads declined, with the reasons inline: OperatingSystem.IsX() availability (net10+ only) and _capsLock atomicity (UI-thread gated).

Local validation: Skia desktop (net10.0) runtime tests Windows_UI_Input_Preview_Injection.*: 34/34 passed. Strict (analyzer) build of Uno.UI.RuntimeTests.Skia: 0 errors.

@morning4coffe-dev, your overlapping left/right modifier finding was addressed in the Sep 24 round (fix + runtime/unit tests). Could you take another look when you get a chance? 🙏

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 238518 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 1148

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • Buttons.png
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DisplayInformation.png-dark
    • DoubleImageBrushInList.png-dark
    • DropDownButtonPage.png-dark
    • DoubleImageBrushInList.png
    • Image_UseTargetSizeLate.png-dark
    • Image_UseTargetSizeLate.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • DynamicFont.png-dark
  • skia-windows-screenshots: 1148 changed over 2474

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ApplicationViewSpanningRectsPage.png
    • AppWindowFeatures.png
    • Attributed_text_Simple.png
    • AutomationProperties_AutomationId.png
    • BitmapIcon_Sizing.png-dark
    • BitmapIcon_Sizing.png
    • Border_CornerRadius_Gradient.png-dark
    • Border_CornerRadius_Gradient.png
    • Border_Simple_No_Background_With_TextBox.png-dark
    • Border_Simple_No_Background_With_TextBox.png
    • Button_IsEnabled_Automated.png-dark
    • Button_IsEnabled_Automated.png
    • ClippingWithOpacity.png-dark
    • ClippingWithOpacity.png
    • ComboBox_Legacy.png-dark
    • ComboBox_Legacy.png
    • AppWindowFeatures.png-dark
    • AutoSizedPathCentered.png-dark
    • AutoSizedPathCentered.png
    • Basics.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add keyboard support for InputInjector

6 participants