[Pidgin] #304: Pasting formatted text is buggy

Pidgin trac at pidgin.im
Wed Apr 25 12:39:02 EDT 2007


#304: Pasting formatted text is buggy
---------------------------+------------------------------------------------
  Reporter:  rlaager       |       Owner:  rlaager
      Type:  defect        |      Status:  new    
  Priority:  major         |   Milestone:         
 Component:  pidgin (gtk)  |     Version:  2.0    
Resolution:                |    Keywords:         
---------------------------+------------------------------------------------
Old description:

> Due to whole buffer formatting limitations of some protocols, pasting
> formatted text can result in weird formatting in the entry box. Ideally,
> this is how it should work:
> {{{
> if (wbfo)
> {
>     if (no text)
>     {
>         keep as much formatting as possible
>         reset formatting after the message is sent, or if it is
> completely deleted
>     }
>     else
>     {
>         drop the formatting of the pasted text,
>               keeping that of the previously-typed text
>     }
> }
> else
> {
>     keep formatting of pasted text
>     reset formatting of the insertion point
>               to that of the formatting pre-paste
> }
> }}}

New description:

 Due to whole buffer formatting limitations of some protocols, pasting
 formatted text can result in weird formatting in the entry box. Ideally,
 this is how it should work:
 {{{
 if (wbfo)
 {
     if (no text)
     {
         keep as much formatting as possible
         reset formatting after the message is sent,
               or if it is completely deleted
     }
     else
     {
         drop the formatting of the pasted text,
               keeping that of the previously-typed text
     }
 }
 else
 {
     keep formatting of pasted text
     reset formatting of the insertion point
               to that of the formatting pre-paste
 }
 }}}

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


More information about the Tracker mailing list