You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
Table would often randomly pass a negative value to the onSelected function and end up crashing the program. Based on my test, it always passes the correct digit but in negative and it can happen anytime between the first selection and after a couple dozens.
Out of interest is this fast tapping randomly anywhere in the table, or is this carefully tapping always inside the cell widget contents? (trying to understand if this might be a regression rather than new issue)
Out of interest is this fast tapping randomly anywhere in the table, or is this carefully tapping always inside the cell widget contents? (trying to understand if this might be a regression rather than new issue)
Both fast and slow taps triggered the error in my case, though I didn't really pay attention whether it was inside the cell. I don't have access to the code until Monday, but I'll do further tests once I can.
Can you please provide the full stack so we can see how it was triggered?
That error comes from my function trying to read the selected row. If I simply printed the id, no error occurs.
Checklist
Describe the bug
Table would often randomly pass a negative value to the
onSelected
function and end up crashing the program. Based on my test, it always passes the correct digit but in negative and it can happen anytime between the first selection and after a couple dozens.For example,
was produced by
The result of printing
id.Row
:Might be related to #2857
How to reproduce
onSelected
function that processes the selected row IDScreenshots
No response
Example code
Fyne version
v2.4.5
Go compiler version
1.22.3
Operating system and version
Linux Mint 21.3 x86_64
Additional Information
No response
The text was updated successfully, but these errors were encountered: