Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZoomIt DemoType inserts extra characters with "Drive Input With Typing" option #37755

Open
jongalloway opened this issue Mar 5, 2025 · 0 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@jongalloway
Copy link
Member

Microsoft PowerToys version

0.89.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

ZoomIt

Steps to reproduce

When using the DemoType feature of ZoomIt 8+, I am finding that extra characters are inserted when I type quickly while using the "Drive Input With Typing" feature. This doesn't happen immediately, it usually happens after about 75 characters.

I originally hit this when trying to type C# code in VS Code, but was able to reproduce it in Notepad and Word. If I turn the turn the typing speed very low (under about "10"), I am able to type several lines of code code in, but it's a little too slow for a code based demo and it still blows up after a few lines.

✔️ Expected Behavior

Using this script which has been copied into my clipboard:

[start]
public void Concat<T>(params ReadOnlySpan<T> items)
{
    for (int i = 0; i < items.Length; i++)
    {
        Console.Write(items[i]);
        Console.Write(" ");
    }
    Console.WriteLine();
}

using System.Threading;

Lock myLock = new();

Console.WriteLine("Starting critical section...");
using (myLock.EnterScope())
{
    Console.WriteLine("Inside critical section.");
}
Console.WriteLine("Exited critical section.");

// Prior to C# 13
Console.WriteLine("\u001b[1mThis is a bold text\u001b[0m");

// With C# 13
Console.WriteLine("\e[1mThis is a bold text\e[0m");
[end]

I then go to VS Code, Notepad, etc. and activate DemoType with Ctrl-7. I then type keys in the home row (asdfjkl;) at a reasonable speed. I am not using any control or system keys. I expect to see my code typed into the code editor window.

❌ Actual Behavior

I get output that looks like this:

public void Concat<T>(params eadOnlySpan<T> tems)
{
    foro (nt( <( es.Length;i++)
    {
        Conosoe.])
        C        Conoso 
d    }
    Conosoe.())
}
}
usuin m.eaedig;

LoLckmy
ck  

Other Software

I have verified this on two computers in multiple editors. I first tried shutting off a bunch of features in VS Code, but then was able to repro the exact same output in Notepad.

I'm not running any weird utilities, mostly just PowerToys :)

@jongalloway jongalloway added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

1 participant