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

Glfw remove old workaround #4417

Merged
merged 2 commits into from Nov 27, 2023
Merged

Conversation

Jacalz
Copy link
Member

@Jacalz Jacalz commented Nov 23, 2023

Description:

See #1136. The clipboard no longer crashes when pasting empy content (also verified locally). The clipboard also no longer require access to the window struct. Clean up the code. As the clipboard no longer needs the viewport, we can also remove a possible crash when getting a clipboard from a window that has yet to be set up.

I also added a comment to a workaround that is still needed.

Checklist:

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

See fyne-io#1136. The clipboard no longer crashes when pasting empy content (also verified locally). The clipboard also no longer require access to the window struct. Clean up the code. As the clipboard no longer needs the viewport, we can also remove a possible crash when getting a clipboard from a window that has yet to be set up.
@Jacalz
Copy link
Member Author

Jacalz commented Nov 23, 2023

See #4418 as well.

@coveralls
Copy link

Coverage Status

coverage: 65.094% (+0.002%) from 65.092%
when pulling 529a3d6 on Jacalz:glfw-remove-old-workaround
into 224edd0 on fyne-io:develop.

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.

Thanks

@Jacalz Jacalz merged commit 17e67b0 into fyne-io:develop Nov 27, 2023
11 of 12 checks passed
@Jacalz Jacalz deleted the glfw-remove-old-workaround branch November 27, 2023 08:04
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.

None yet

3 participants