Open lorypelli opened 2 weeks ago
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.
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. Otherwise we are just guessing.
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
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
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:
Please provide the code you are using, as you might guess plenty of apps are running successfully using both of those widgets.
For the crash please attach a crash report should have the stack trace that is printed to the console.
@andydotxyz
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. That is why a crash log is so helpful.
I'm going to say that it's 99% likely that the crash is inside the "/ code here... /" that you have missed out. That is why a crash log is so helpful.
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