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

Add workaround for drag and drop between frames #4800

Merged

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented May 26, 2024

Identify the Bug or Feature request

Addresses #3679

Description of the Change

This reimplements the WebView drag-and-drop listeners. The behaviour is the same except that we do not cache the mime types and values of a drag operation, meaning we don't have to worry about invalidating the cache on all relevant frames when a drag ends.

I will also be opening a bug ticket with JavaFX so that we can rip this code back out once the underlying issue is fixed.

Possible Drawbacks

More code to maintain for something that's not our fault.

Documentation Notes

N/A

Release Notes

  • Fixed a bug where drag-and-drop between two frames would get stuck with old data.

This change is Reviewable

This reimplements WebView drag and drop without the cache and thus the issue.
@kwvanderlinde kwvanderlinde self-assigned this May 26, 2024
@cwisniew cwisniew added this pull request to the merge queue May 28, 2024
Merged via the queue into RPTools:develop with commit 9a732ca May 28, 2024
5 checks passed
@kwvanderlinde kwvanderlinde deleted the bugfix/3679-dnd-between-frames branch May 28, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

None yet

2 participants