-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot display images under WSL2 network location properly #7
Comments
Basic support for WSL2 is now available in 0.3.1, still some known issues.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When try to double-click image under WSL2 network location with path like
\\wsl$\Ubuntu\home\username\filename.png
, it will says "File is not a valid image".When passing such path string to QUrl, it will drop the
wsl$
hostname since the name is invalid. Unsurprisedly according to microsoft/WSL#4722 and dotnet/runtime#36595 .NET's System.Uri also describing network resource\\wsl$\
is invalid.According to dotnet/runtime#36595 (comment) the WSL team is considering change of the name (as it violates spec), but before that happend, we can have a workaround fix for that, since
wsl$
is still in used now and we don't know when the hostname change will happened and other application like GIMP and also Intellij IDEA can load files under network location like that properly.The text was updated successfully, but these errors were encountered: