-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
TextGrid not always drawing correctly when resized #2501
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
Comments
Resize is an async operation, can you be more specific about what the fault is? |
On Linux platform during resize invoke blinking with repaint text and as you can see on picture in some cases it cause and broke content in line 2 should be "TO: 'A" but instead we see an "TTO ". |
Thanks for clarifying. I see now an issue with how cells are re-used so resize can cause glitches. This needs addressed |
I can reproduce this issue using @vit1251 's fyne-viewer code here: https://github.com/vit1251/fyne-viewer The visual symptoms (i.e. visual text corruption) are much easier to reproduce when using Fyne's current 'develop' branch vs. when using the 'master' branch, but the problem does also occur on the 'master' branch, for me, nonetheless. I found that the fix implemented by nullst here (#2548) (and PR here: #2555) for a different bug report actually seems to fix this issue as well - at least as far as I can tell visually whilst trying to repro by resizing. I don't know if there's some other underlying problem that is not fixed, though - I'm just commenting here w.r.t. visual symptoms after applying the proposed fix for issue 2548. :) |
This should now be resolved on develop and release branch :) |
During resize main window repaint may overlap and I think tat we have there race condition.
But it require more deeply research.
The text was updated successfully, but these errors were encountered: