dialog.New(Folder, File, etc)Open(callback, parent) + Show() does not work in javascript / wasm #5211
Open
2 tasks done
Labels
unverified
A bug that has been reported but not verified
Checklist
Describe the bug
I have created a new fyne repository interface that implements a subset of webdav functionality. This repository should work with js / wasm since it does not rely on local filesystem calls.
This repository is working with dialog.NewFolderOpen(callback, parent) + Show() when built for Windows. Using a verrsion of fyne with the fix for #5200 included. This dialog.NewFolderOpen(callback, parent) + Show() does NOT work with this repository when built for js / wasm.
Instead of Show() displaying a File/Foler open dialog box, nothing happens.
I assume this issue is due to the other ties that fyne.io\fyne\[email protected]\dialog\file.go has with the fyne "file" repository. See the following issues for examples of the above:
#5207
#5204
How to reproduce
Screenshots
No response
Example code
locationURI, err := storage.ParseURI("httpfile:///")
if err != nil {
return err
}
listableURI, err := storage.ListerForURI(locationURI)
if err != nil {
return err
}
folderdialog := dialog.NewFolderOpen(callback, parent)
folderdialog.SetLocation(listableURI)
folderdialog.Show()
Fyne version
2.5.2
Go compiler version
1.23.1
Operating system and version
Windows 11
Additional Information
No response
The text was updated successfully, but these errors were encountered: