[BUG] - AtlasOS causes crashes with C#'s SendKeys.SendWait()
Before continuing...
- [X] I agree to follow Atlas' Code of Conduct
- [X] I have searched our issue tracker to verify that the issue hasn't been reported already
- [X] I have searched the Atlas documentation beforehand for a solution
- [X] I am on the latest version of Atlas, and didn't do an unsupported upgrade
Description
When using atlasOS, running any C# scripts that call SendKeys.SendWait(key) causes the system to freeze up. Ive teted
Steps to reproduce
- Make a c# script that calls SendKeys.SentWait(key)
- Run the script
Expected behavior
The chosen key gets sent.
Actual behavior
The system freezes up
Atlas Edition
Atlas for Windows 10 22H2
Desktop information
i7 8700k, rtx 2080 latest drivers, 16gb ddr4 @ 3600mhz, samsung 980 pro 1tb
Additional content
No response
Need the specific version. It can be seen in windows settings > system > about. If it just shows atlas for windows 10 22h2, you need to update immediately (https://docs.atlasos.net/getting-started/installation/)
After updating, see if your issue persists.
I can't reproduce this issue. Are you sure that you're on v0.4.0?
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
namespace SendKeysTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("running");
Process.Start("notepad.exe");
Thread.Sleep(2500); // give time for Notepad
SendKeys.SendWait("test");
Console.WriteLine("finished");
Console.ReadKey();
}
}
}
https://github.com/Atlas-OS/Atlas/assets/65787561/90aeaaf6-2936-4261-a71e-4e2af313b3c1