-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
open dialog crash / win10 #2575
Comments
Thanks for using Wails and reporting this issue. Would it be possible for you to provide us with a code snippet of the |
Here is my code. There is another situation, the compiled exe file is put on another win 10 machine without crashing, the same version of webview2 runtime, It only crashes on my development machine, I'm confused func (s *service) ChooseLogFile(path string, title string) string {
chosenPath, err := runtime.OpenFileDialog(app.App().Ctx(), runtime.OpenDialogOptions{
DefaultDirectory: filepath.Dir(path),
DefaultFilename: filepath.Base(path),
Title: title,
ShowHiddenFiles: true,
CanCreateDirectories: true,
ResolvesAliases: false,
TreatPackagesAsDirectories: false,
})
if err != nil {
app.App().Log().Services().Fatalf("fail to open file dialog for ChooseLogFile: %+v\n", err)
return ""
}
if chosenPath != "" && app.App().Cfg().Set(types.ConfigNameLogFile, chosenPath) {
return chosenPath
}
return ""
} |
I manually replaced the two go files involved in this PR, window.go and dialog.go, Still crashing The following is the error message
|
Thanks for testing, too bad it doesn't fix it... |
keep going,I'm ready for your next testing |
Out of interest, what's this?
|
System tray components packaged with systray |
Thank you very much, this problem was solved, after I turned off some security software, it was working fine |
Great, thanks for letting us know. So I think we could close this issue. Would you mind for docs purposes to shortly document what software that was and how you achieved to nail it down? |
Sorry, I can't disclose what software caused it, the software is not public within the company |
Description
open dialog crashed, not only file dialog, open all dialog will crash
To Reproduce
wails dev or wails build
Expected behaviour
go server running
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: