|
From: Ethan M. <merritt@u.washington.edu> - 2006-02-03 18:30:54
|
On Friday 03 February 2006 09:51 am, Timoth=C3=A9e Lecomte wrote: > The plot graph appears in klipper, but I can't paste it anyway but > after selecting it in klipper. If I don't select it in klipper, or if > klipper is not launched, I have nothing at all to paste ! I've tried > with both kde apps (KolourPaint) and non-kde (Gimp). I'm not sure > this is the expected behaviour ;-) > That's probably because you "remove gnuplot_x11 from the selection > list". As far as I understand, the app is intended to keep the > ownership of the clipboard as long as it provides something in it. That does not make much sense to me. If the original source is still available for selection, then you can copy-and-paste without going through klipper at all. Normally if I select something it continues to appear in the klipper history even after the original app exits. That way you can paste things selected earlier in your session, long after the original place you selected it from is gone. Isn't that the whole point of klipper? =20 > I tried myself, and got it working with the attached diff (against > cvs before your patches). You are doing better than I am :-) So your diff is against the cvs version from before 1 Feb 2006? I'll have a look. I worry a bit that in changing the code to work with KDE we may lose compatibility with whatever environment it was originally written for. Since I have never used this cut-and-paste of whole plot image myself, I don't have any historical usage to compare with. > There's one (small) problem that I don't understand : the first graph > (when it is first plotted) appears twice in klipper, and the > pixmap/colormap cases are triggered twice for this first time. In following one trail of links from the klipper bug report you sent earlier, I came across a separate bug report that klipper was sometimes triggering selection events from its own selection buffer, causing double entries. Perhaps this is an example. =2D-=20 Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |