microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.41k stars 821 forks source link

Text content corruption after PowerShell terminal is minimized inside OneDrive - Business folders #11925

Open TalBenAmii opened 2 months ago

TalBenAmii commented 2 months ago

Windows Version

Microsoft Windows [Version 10.0.22631.3880]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.153

Distro Version

Ubuntu

Other Software

OneDrive Device ID: 91722b4c-80d6-ad62-76c9-573ab49b7bd4 OneDrive version: Build 24.146.0721.0003 (64-bit)

Repro Steps

  1. Go to a OneDrive- business folder (mine is universities but i guess it's considered as business)
  2. Right click and choose "open in terminal" (it runs powershell)
  3. Run wsl using "wsl" command
  4. minimize it enough so it reaches the text inside terminal
  5. expand and see text corruption

Expected Behavior

save text state as it was https://imgur.com/gallery/before-DekXxFu

Actual Behavior

Text content gets copied/corrupted I don't know how to explain what's going on there exactly https://imgur.com/gallery/weird-txt-Q7dN9ba

Diagnostic Logs

https://imgur.com/gallery/before-DekXxFu https://imgur.com/gallery/weird-txt-Q7dN9ba

github-actions[bot] commented 2 months ago

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs Download and execute [collect-wsl-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1) in an **administrative powershell prompt**: ``` Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1 Set-ExecutionPolicy Bypass -Scope Process -Force .\collect-wsl-logs.ps1 ``` The script will output the path of the log file once done. If this is a networking issue, please use [collect-networking-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1), following the instructions [here](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues) Once completed please upload the output files to this Github issue. [Click here for more info on logging](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method) If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
TalBenAmii commented 2 months ago

WslLogs-2024-08-15_21-55-12.zip

github-actions[bot] commented 2 months ago
Diagnostic information ``` Detected appx version: 2.2.4.0 ```