IssueRaiser

msrdc.exe randomly stealing focus

### Version 10.0.22621.0 ### WSL Version - [X] WSL 2 - [X] WSL 1 ### Kernel Version 5.15.74.2 ### Distro Version Ubuntu 22.04 ### Other Software Irrelevant, and happens as soon as the WSL instance is started. ### Repro Steps 1. Start any WSL instance. In my case I have a WSL v1 started without any WSLg support. 2. Wait 3. Focus is randomly stolen from your application. I found an app somewhere at some point simply printing what process is currently getting focus. When focus is stolen I see the following line printed; 4300:C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.0.0_x64__8wekyb3d8bbwe\msrdc.exe | Thu 17 November 12:26:04 Often I am having an outlook window open at the time in which I am composing a mail and suddenly I cannot write in it anymore. ### Expected Behavior WSL should not steal focus. ### Actual Behavior Focus is randomly stolen ### Diagnostic Logs N/A

Posted by mha42 on Nov 17, 2022, 11:38 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

support (SaaS)

msrdc.exe randomly stealing focus

mha42Nov 17, 2022, 11:38 AM

### Version 10.0.22621.0 ### WSL Version - [X] WSL 2 - [X] WSL 1 ### Kernel Version 5.15.74.2 ### Distro Version Ubuntu 22.04 ### Other Software Irrelevant, and happens as soon as the WSL instance is started. ### Repro Steps 1. Start any WSL instance. In my case I have a WSL v1 started without any WSLg support. 2. Wait 3. Focus is randomly stolen from your application. I found an app somewhere at some point simply printing what process is currently getting focus. When focus is stolen I see the following line printed; 4300:C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.0.0_x64__8wekyb3d8bbwe\msrdc.exe | Thu 17 November 12:26:04 Often I am having an outlook window open at the time in which I am composing a mail and suddenly I cannot write in it anymore. ### Expected Behavior WSL should not steal focus. ### Actual Behavior Focus is randomly stolen ### Diagnostic Logs N/A

Comments (0)

No comments yet. Start the discussion.

Comment on this issue