[Pidgin] #8445: Windows Pidgin fails to paste when multiple formats are on the clipboard

Pidgin trac at pidgin.im
Wed Feb 18 01:49:00 EST 2009


#8445: Windows Pidgin fails to paste when multiple formats are on the clipboard
--------------------+-------------------------------------------------------
 Reporter:  sysrpl  |           Owner:  lschiere    
     Type:  defect  |          Status:  pending     
Milestone:          |       Component:  unclassified
  Version:  2.5.4   |      Resolution:              
 Keywords:          |   Launchpad_bug:              
--------------------+-------------------------------------------------------
Changes (by sysrpl):

  * status:  pending => new


Comment:

 Replying to [comment:1 datallah]:
 > Please provide a specific concrete example - your example doesn't work
 for the images I've tried (copying an image to the clipboard doesn't copy
 the URL to the CF_TEXT clipboard).
 >
 > Are you using any sort of clipboard enhancement utility?

 No, I am not using a clipboard enhancement utility.

 To clarify (using Windows here):

 Do not right click "copy image" or "copy image location". Rather use
 Firefox to view the image by right clicking an image and select "view
 image". This will view only the image in the web browser and put the image
 url in the address bar.

 For example, navigate to this in Firefox ...
 http://www.google.com/intl/en_ALL/images/logo.gif

 Now highlight the image by left clicking and dragging the mouse from an
 area to the right of the image to the left of the image. This will
 highlight select the image. Now press Ctrl+C to copy what is selected. The
 clipboard now has both CF_TEXT and CF_HTML formats on it.

 Now go to a Pidgin message window and paste. Nothing happens. Switch to
 notepad and paste, you get the url which is the CF_TEXT format data
 (notepad only supports plain text). Switch to a Gmail message in Firefox
 and paste, you get an image wrapped in an html fragment from the CF_HTML
 format. Now switch to MS Word and paste, again you get the image from the
 CF_HTML format.

 I stumbled upon this bug while writing a screen capture and upload
 program. It was reported to me by another user. We are using my program to
 IM screen shots between testers. In my program when a screen shot is
 captured and uploaded I copy both formats to the clipboard (CF_TEXT and
 CF_HTML). We are able to paste urls (CF_TEXT) with Trillian and the AOL IM
 client, and paste images (CF_HTML) into MS Word and Gmail without any
 problems. It seems Pidgin can't handle multiple clipboard formats, as
 evidenced my program not working as expected with Pidgin, and then
 verified on several other computers using Firefox.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8445#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list