-
-
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
NewTreeWithData Rendering Issue #4346
Comments
The example code on https://developer.fyne.io/collection/tree exhibits the same behaviour (although it's worth noting the |
go 1.21.5
Also, when placing two tree controls on the interface, one of them may work properly while the other sometimes encounters this bug and sometimes doesn't. This bug usually appears when a new execution interface is launched. |
Can confirm this bug is occurring on both Windows and Linux:
The bug happens regularly around ever 5 times I start my app. I was planning to use this widget, so keeping my fingers crossed for a fix soon. |
I also found this issue on unbuntu18, and the triggering frequency is still very high. Relevant records。 I used version 2.5 for the relevant records. Detailed description reference: |
The no data variant ( |
This was fixed with this PR: #5096 |
This issue is a duplicate of #5093 - I'm sorry I missed it when opening a new issue. |
If you need the fix right away (as I did) - you can do: Though, that could carry some less-tested changes that have recently gone in. |
Checklist
Describe the bug
When making a widget.NewTreeWithData with the binding to a tree fyne sometimes doesnt render items above the selected one except for one above. See Video.
How to reproduce
Screenshots
minex.mp4
Example code
Fyne version
2.4.1
Go compiler version
1.21.3
Operating system and version
linux/amd64
Additional Information
Does NOT happen with widget.NewListWithData
The text was updated successfully, but these errors were encountered: