Skip to content
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

[3.0] Consider removing render cache and make widgets maintain a reference to their renderer #5130

Open
2 tasks done
dweymouth opened this issue Sep 10, 2024 · 0 comments
Open
2 tasks done

Comments

@dweymouth
Copy link
Contributor

Checklist

  • 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

See discussion in #5112 for problems with the current approach of renderers being kept track of separately from widgets. It would be simpler and probably lead to fewer bugs if widgets kept a reference to their renderer and created only one renderer per widget ever, and the renderer just gets GC'ed along with the widget

How to reproduce

n/a

Screenshots

No response

Example code

n/a

Fyne version

2.x.x

Go compiler version

n/a

Operating system and version

n/a

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant