[Pidgin] #8445: GtkIMHtml doesn't support <img ...>

Pidgin trac at pidgin.im
Wed Feb 18 11:51:30 EST 2009


#8445: GtkIMHtml doesn't support <img ...>
--------------------+-------------------------------------------------------
 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:3 datallah]:
 > The issue you're seeing is not related to there being multiple formats
 (if this were the case any copy/paste from Firefox would fail).
 >
 > The only issue here is that we don't know how to deal with an <img .../>
 tag, so that is ignored.  It isn't obvious what we would really do with a
 pasted <img> - most protocols don't support sending an inline image.
 >
 > Since we have found something in the HTML clipboard, we don't bother
 trying to look in the text clipboard (whether or not we can fully render
 the contents can't reasonably used to choose whether to fall back to the
 text clipboard).

 Okay, fair enough. You are handling the CF_HTML, but not processing the
 <img> tag.

 Perhaps a Pidgin should do this:

 If the case presents itself where process CF_HTML but it contains only a
 <html>,<body>, and <img> tags, you then fall back to CF_TEXT, read the
 url, and paste that instead. As the issue stands now, other IM clients
 (tested with Trillian and AOL's client) are capable of pasting at least
 the url (even if they can't or don't process <img>).

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


More information about the Tracker mailing list