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

Split container refreshes full content when dragging to resize the split #5488

Closed
2 tasks done
dweymouth opened this issue Feb 2, 2025 · 2 comments
Closed
2 tasks done
Labels
bug Something isn't working optimization Tickets that could help Fyne apps run faster

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

Split.SetOffset refreshes everything, when it should just move/resize things. This causes lagginess with fyne_demo and the efficient run loop PR (where input events are currently processed as fast as they arrive).

Related: #5456

How to reproduce

run fyne_demo on the efficient runloop branch, resize a split container

Screenshots

No response

Example code

n/a

Fyne version

develop

Go compiler version

n/a

Operating system and version

all

Additional Information

No response

@dweymouth dweymouth added unverified A bug that has been reported but not verified bug Something isn't working optimization Tickets that could help Fyne apps run faster and removed unverified A bug that has been reported but not verified labels Feb 2, 2025
@andydotxyz
Copy link
Member

Good point, no idea why we just shortcut the resize by calling Refresh

@dweymouth
Copy link
Contributor Author

Fixed on develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working optimization Tickets that could help Fyne apps run faster
Projects
None yet
Development

No branches or pull requests

2 participants