[haiku-bugs] [Haiku] #14747: Mail: Selection quoting broken

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 08 Dec 2018 16:22:08 -0000

#14747: Mail: Selection quoting broken
-------------------------------+------------------------------
 Reporter:  humdinger          |        Owner:  czeidler
     Type:  bug                |       Status:  new
 Priority:  normal             |    Milestone:  Unscheduled
Component:  Applications/Mail  |      Version:  R1/Development
 Keywords:                     |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 This is hrev52597, 32bit.

 A simple "Reply" to an email works as expected: The mail is quoted inits
 entirety, with with the preamble at the top, signature at the end, cursor
 set just above the signature; and "> " at the start of every line.

 Now, if you select only the part you want quoted and press "Reply", you
 get preamble and signature as expected, but instead of every quoted line
 getting a "> " at the start, you get many "> > > > > > > > > > > > > >" at
 the beginning of the quoted text before the quoted lines are printed.

 The number of ">" depends on the amount of text quoted. I'm not 100% sure,
 but it looks like the number of ">" is about the number of letters
 (without spaces" of the quoted text.

 I'm too bad reading the code, but the bug might be in [https://git.haiku-
 os.org/haiku/tree/src/apps/mail/Content.cpp#n2313 Content.cpp#n2313]...?

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14747>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: