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

Cleanup of unneeded locks in canvas objects #5388

Merged
merged 17 commits into from
Jan 14, 2025

Conversation

Jacalz
Copy link
Member

@Jacalz Jacalz commented Jan 9, 2025

Description:

This is work in progress changes for removing locks that no longer should be needed within canvas objects like canvas primitives, containers and widgets. With this one, all locks except the ones in widgets and their public base widget are removed. Further lock removals there might require #5384 to land first.

For #4654

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

@coveralls
Copy link

coveralls commented Jan 9, 2025

Coverage Status

coverage: 59.191% (-0.04%) from 59.232%
when pulling 4773721 on Jacalz:cleanup-of-unneeded-locks
into b7b8a61 on fyne-io:develop.

@Jacalz Jacalz marked this pull request as ready for review January 9, 2025 22:28
@Jacalz Jacalz force-pushed the cleanup-of-unneeded-locks branch from 85dd286 to 6ecf5db Compare January 9, 2025 22:34
@Jacalz Jacalz force-pushed the cleanup-of-unneeded-locks branch from 6ecf5db to 09446f7 Compare January 11, 2025 12:10
andydotxyz
andydotxyz previously approved these changes Jan 11, 2025
Copy link
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Epic thanks for all this!

@andydotxyz andydotxyz mentioned this pull request Jan 11, 2025
16 tasks
@andydotxyz
Copy link
Member

Oh looks like it found a race on focusing in the window tests :(

@Jacalz
Copy link
Member Author

Jacalz commented Jan 11, 2025

I feel like it is racing everywhere. Lots to be done to have Glfw tests passing 🥲

@Jacalz Jacalz requested a review from andydotxyz January 13, 2025 18:03
@Jacalz
Copy link
Member Author

Jacalz commented Jan 13, 2025

I think I got that fixed :)

andydotxyz
andydotxyz previously approved these changes Jan 13, 2025
Copy link
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A load of nice fixes thanks!

@Jacalz
Copy link
Member Author

Jacalz commented Jan 13, 2025

It looks like CI running slower triggers more races than I can locally. Everything is green here but I fixed some more things that it found. Hopefully green soon.

@Jacalz
Copy link
Member Author

Jacalz commented Jan 13, 2025

It appears like CI likely will be all green soon. I still expect races to be a bit flakey with more potting up later on but this seems to be a lot better.

@Jacalz Jacalz requested a review from andydotxyz January 13, 2025 19:38
@Jacalz Jacalz merged commit d7eeddc into fyne-io:develop Jan 14, 2025
12 checks passed
@Jacalz Jacalz deleted the cleanup-of-unneeded-locks branch January 14, 2025 05:31
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

Successfully merging this pull request may close these issues.

3 participants