! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
'Prevent Empty Clipboard' causes Image Pastes to Fail in other Apps
Status:
CLOSED: FIXED
Product:
Xfce4-clipman-plugin
Component:
General

Comments

Description David Collins 2008-12-17 22:45:16 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4
Build Identifier: http://svn.xfce.org/svn/goodies/xfce4-clipman-plugin/trunk

Clipman overwrites any images that are in the clipboard, at the time that the user tries to paste the image.  This only happens if 'Prevent Empty Clipboard' is chosen.
Mike, I have added what I believe is the correct logic to clipman_check() and also tested and achieved the required result.
I will attach the patch file.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 David Collins 2008-12-17 22:57:55 CET
Created attachment 2045 
Patch for clipman_check() function in clipman.c
Comment 2 David Collins 2008-12-17 23:05:24 CET
Steps (sorry, I was having problems with bugzilla) -

1. Install the trunk versions of xfce4-clipman-plugin and xfce4-screenshooter-plugin.
2. Add both to your panel
3. Tick 'Prevent Empty Clipboard' in clipman properties
4. Copy some text into the clipboard so that it is shown in the clipman list
4. Use screenshooter to copy an image to the clipboard
4. Open KolourPaint and choose Edit/Paste - the text that was in the clipboard prior to the image copy is inserted into KolourPaint - instead of the image.
Comment 3 Mike Massonnet editbugs 2008-12-27 12:21:17 CET
Commited in revision 6369

Bug #4726

Reported by:
David Collins
Reported on: 2008-12-17
Last modified on: 2012-04-09

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information