xpra icon
Bug tracker and wiki

Opened 9 months ago

Closed 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 (1)

comment:1 Changed 3 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done as part of #812.

Note: See TracTickets for help on using tickets.