Adium

Ticket #8631 (closed defect: duplicate)

Opened 10 months ago

Last modified 2 weeks ago

Copying from history window converts BR's to Unicode

Reported by: alien88 Assigned to: nobody
Priority: normal Milestone:
Component: Adium Core Version: 1.2b3
Severity: normal Keywords: linefeed, br, U+2028
Cc: alien88 Patch: None
Pending: 0

Description

Copying a message that has line breaks in it from the history window and re-pasting it will result in it not being displayed properly. It seems that when you copy it, the <BR>'s are converted to unicode linefeed, <U+2028>,

First time:

00:27:20: adiumPurpleConvWriteIm: Received <HTML><FONT FACE="Lucida Grande" ABSZ=11 SIZE=3>test<BR><BR>test<BR><BR>test</FONT></HTML> from a88laptop

Copying it from the history window and resending:

00:27:24: adiumPurpleConvWriteIm: Received <HTML><FONT FACE="Lucida Grande" ABSZ=11 SIZE=3>test<U+2028><U+2028>test<U+2028><U+2028>test</FONT></HTML> from a88laptop

(Sorry, not sure what component this falls under..)

Attachments

Picture 1.png (18.0 kB) - added by alien88 on 12/21/2007 12:51:17 AM.
Sending orig with line breaks
Picture 2.png (18.7 kB) - added by alien88 on 12/21/2007 12:51:46 AM.
Getting ready to send copy and pasted text from history
Picture 3.png (26.8 kB) - added by alien88 on 12/21/2007 12:52:17 AM.
After sending - note the lack of breaks now.

Change History

12/21/2007 12:51:17 AM changed by alien88

  • attachment Picture 1.png added.

Sending orig with line breaks

12/21/2007 12:51:46 AM changed by alien88

  • attachment Picture 2.png added.

Getting ready to send copy and pasted text from history

12/21/2007 12:52:17 AM changed by alien88

  • attachment Picture 3.png added.

After sending - note the lack of breaks now.

12/23/2007 02:51:19 PM changed by jas8522

  • status changed from new to closed.
  • resolution set to duplicate.
  • milestone set to zzzDuplicate tickets.

#6893

Oddly enough I still can't reproduce this with 1.2b4

My steps to reproduce were:

  1. Write test (Option-Return * 2) test (Option-Return *2) test (Return)
  2. Copy the three tests with two line breaks after the first two
  3. Paste them into the text entry area of the message window - they appear as expected with space between each
  4. Hit Return key and they appear in the message history as expected with space between each - exactly as they were originally.

Perhaps your steps to reproduce were slightly different?

I'm thinking this might be related to that bug where writing something with linebreaks, then closing and re-opening the message window results in those exact lines (that looked fine before) with double the linebreaks. I can't seem to find the ticket for it right now though...

We may as well update in #6893.

09/26/2008 08:29:23 AM changed by Robby

  • milestone deleted.