StorageProvider.OpenFolderPickerAsync() not work #15775
Unanswered
perfect100
asked this question in
Q&A
Replies: 2 comments 11 replies
-
This code in the picture looks odd to me.
Also:
|
Beta Was this translation helpful? Give feedback.
11 replies
-
The root cause is that the I have created a issue here : #15806 Thanks all @thevortexcloud @jp2masa |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm trying to open a folder picker in avalonia , but the behavior is tricky :
Most Pcs work good, but only one Pc can not open the folder, and the UI blocks,
OpenFolderPickerAsync()
never return.However, after I tried ugly codes, it looks like that the folder is related to the
breakpoint
when debugging(maybe not).For context, if I put a breakpoint in
L15
, the folder picker displays, otherwise, UI blocks even I useawait Task.Delay(2000)
.So, what happed here? Is the StorageProvider waitting for some condition to meet?
Avalonia : 11.1.0-beta1
OS : Windows 10
Beta Was this translation helpful? Give feedback.
All reactions