-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
select menu choices #5106
Comments
It is not clear what a "select menu" is, there is no widget with that name. Do you mean a Select widget or a Menu ? Please provide the code you are using, as you might guess plenty of apps are running successfully using both of those widgets. |
the problem is that I can't run the app because Windows AntiVirus flags it |
In addition even if you could not determine what code to attach a crash report should have the stack trace that is printed to the console. |
On, so it's not crashing at all? It is a known issue that some antivirus is "default positive" for compiled applications. Either tell it to ignore your app or you'll need to set up signing for the windows binaries with a Microsoft developer account. |
How can I make it to ignore my app since the build path it's always different (that's how both go run and go build works) |
But that's not related to the select menu issue, before 2.5.0 was working, I downgraded to 2.4.5 |
To progress the original isseu please do reply to my questions, namely:
|
actions := widget.NewSelect([]string{"Write a message", "Edit a message", "Pin a message", "Create a channel", "Edit a channel", "Create a thread", "Delete a channel", "Delete a message", "Unpin a message", "Kick a user", "Ban a user", "Unban a user", "Create a role", "Edit a role", "Delete a role", "Add a role to a member", "Remove a role from a member"}, nil)
actions.OnChanged = func(s string) { /* code here... */ } |
I'm going to say that it's 99% likely that the crash is inside the "/* code here... */" that you have missed out. |
it works before 2.5.0 |
I did not suggest that it didn't. But without your code OR the crash log there is literally nothing we can do as it cannot be replicated or investigated. |
Checklist
Describe the bug
it causes the app to crash
How to reproduce
create an app with a select menu
Screenshots
No response
Example code
idk what to send, it's just an issue with select menus I wasn't having in the old 2.4.3 version
Fyne version
2.5.1
Go compiler version
1.23.0
Operating system and version
Windows 11
Additional Information
No response
The text was updated successfully, but these errors were encountered: