Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.11.2
-
Windows 10 (10.0.17134), WinSDK 10.0.17763.0 or 10.0.17134.0
Description
WSL (Windows Subsystem for Linux) may be corrupted if using an implementation of functions in Wslapi.h after requesting a QFileDialog window (directory or file). For testing, I used an example provided by microsoft at https://github.com/Microsoft/WSL-DistroLauncher . Firstly I tested it without any Qt installation, it worked (I just tested WslIsDistributionRegistered). After, I tested it with a simple QApp and a QWidget without any widget inside, It worked. But when I add a QFileDialog (before function calling but the function address loading's position has no importance), the result of the function is wrong and my debian WSL is corrupted (Error 0x800700b7). I tried some tricks to restore it but the only thing that worked for me is the total reinstallation.