xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 2 years ago

Closed 2 years ago

Last modified 3 months ago

#2013 closed enhancement (fixed)

avoid awt clipboard spam

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 3.0
Component: clipboard Version: 2.4.x
Keywords: Cc:

Description

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.

Change History (2)

comment:1 Changed 2 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done as part of #812.

comment:2 Changed 3 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2013

Note: See TracTickets for help on using tickets.