From 82d031cf2a6d093f7fb41bc13411bc342545e235 Mon Sep 17 00:00:00 2001 From: Leilei Zhang Date: Wed, 30 Jul 2025 11:39:44 +0800 Subject: [PATCH] add comments --- src/common/UITestAutomation/Element/TextBox.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/UITestAutomation/Element/TextBox.cs b/src/common/UITestAutomation/Element/TextBox.cs index bbcf50fce9..c2fc49e791 100644 --- a/src/common/UITestAutomation/Element/TextBox.cs +++ b/src/common/UITestAutomation/Element/TextBox.cs @@ -42,6 +42,9 @@ namespace Microsoft.PowerToys.UITest Task.Delay(500).Wait(); } + // TODO: CmdPal bug – when inputting text, characters are swallowed too quickly. + // This should be fixed within CmdPal itself. + // Temporary workaround: introduce a delay between character inputs to avoid the issue if (charDelayMS > 0 || EnvironmentConfig.IsInPipeline) { // Send text character by character with delay (if specified or in pipeline)