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

avoid awt clipboard spam #2013

Closed
totaam opened this issue Oct 28, 2018 · 3 comments
Closed

avoid awt clipboard spam #2013

totaam opened this issue Oct 28, 2018 · 3 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Oct 28, 2018

Issue migrated from trac ticket # 2013

component: clipboard | priority: minor | resolution: fixed

2018-10-28 04:47:33: antoine created the issue


It just requests the targets over and over...

do_selection_request_event(<gtk.gdk.Event at 0x7f90910f7b70: GDK_SELECTION_REQUEST selection=CLIPBOARD, target=TARGETS, property=XAWT_TARGETS_OF_SELECTION:CLIPBOARD>)
target for CLIPBOARD: 'TARGETS'
do_selection_request_event(<gtk.gdk.Event at 0x7f90910f7b70: GDK_SELECTION_REQUEST selection=CLIPBOARD, target=TARGETS, property=XAWT_TARGETS_OF_SELECTION:CLIPBOARD>) target=TARGETS, selection=CLIPBOARD
do_selection_get(<GtkSelectionData at 0x7ffe41037310>, 0, 0) selection=CLIPBOARD

We should be able to cache the last value of TARGETS and re-use it when we see XAWT_TARGETS_OF_SELECTION:CLIPBOARD.

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 08:42:27: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 08:42:27: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 23, 2019

2019-04-23 08:42:27: antoine commented


Done as part of #812.

@totaam totaam closed this as completed Apr 23, 2019
@totaam totaam added the v2.4.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant