Open Jedi-Mind-Tricks opened 3 years ago
I assume that this('\04064') is not a folder, but a part of a name of your HDD. Could you please do ls -l /run/media/george
to verify that there is something with naming and better identify problem?
Oh, you're right!
The name is HDD 64
with a space.
And does cd '/run/media/george/HDD 64'
works as well?
And does
cd '/run/media/george/HDD 64'
works as well?
Yep, no problems with that.
More info: if I unmount this HDD, open dialog works.
As for some path with the space (tried both in $HOME and on external partition) everything works fine. So I think there is something with special characters in paths I suppose.
Okay, I reproduced the bug with another device:
HDD 64
disk was UNmountedUBUNTU 18
) was mountedStack trace:
Could not find a part of the path '/run/media/george/UBUNTU\04018'. ...
Yeah, path with a space works, but not a Disk Label with a space.
My guess: it crashes while creating the list of disk drives (on the left side of the Open Dialog).
I looked through the code for openingn and it looks like that is the bug in Avalonia's managed open file dialog Avalon Studio uses.
Should I open the issue there (AvaloniaUI repo) and close this one then?
You can open an issue there and paste a link for this issue (to preserve all information). And this issue, as for me, should be closed when Avalon Studio will receive update (new version of Avalonia with fixed issue), but not now when functionality is not working well.
It happens on windows 10 also.
Environment:
To reproduce:
Result:
Details: stack trace contain the path '/run/media/george/HDD\04064' '/run/media/george/HDD 64' is a path to my additional HDD. ~But this HDD never had 04064 folder.~ Edited: see below, the directory name was not
HDD
butHDD 64
with a space.