Closed Bug 955046 Opened 10 years ago Closed 10 years ago

Unread ruler in split bubble just before an action message hides the sender name

Categories

(Instantbird Graveyard :: Conversation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aleth, Assigned: aleth)

Details

Attachments

(1 file, 1 obsolete file)

*** Original post on bio 1616 at 2012-08-03 11:25:00 UTC ***

The message following the ruler is displayed "*** is unsure...". 
Only when the unread ruler disappears, it becomes "*** aleth is unsure..."
OS: Linux → All
Hardware: x86 → All
Summary: Bubbles: Unread ruler in split bubble just before an action message hides the sender name → Unread ruler in split bubble just before an action message hides the sender name
*** Original post on bio 1616 at 2012-08-03 13:19:00 UTC ***

This is due to getHTMLForMessage replacing the /me in the message with the sender name the first time it is called. On the second call, it therefore does not recognize it should replace %message% with the infolist value from the message style.
Attached patch Patch (obsolete) — Splinter Review
*** Original post on bio 1616 as attmnt 1779 at 2012-08-03 15:06:00 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353540 - Flags: review?(florian)
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Comment on attachment 8353540 [details] [diff] [review]
Patch

*** Original change on bio 1616 attmnt 1779 at 2012-08-03 15:56:08 UTC ***

Looks ok, but please add a comment explaining why we are doing this, as the code after the modification looks really like someone meant to test the the string he's going to make a replacement on ;).
Attachment #8353540 - Flags: review?(florian) → review-
Attached patch PatchSplinter Review
*** Original post on bio 1616 as attmnt 1781 at 2012-08-03 17:10:00 UTC ***

Adds comment
Attachment #8353542 - Flags: review?(florian)
Comment on attachment 8353540 [details] [diff] [review]
Patch

*** Original change on bio 1616 attmnt 1779 at 2012-08-03 17:10:07 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353540 - Attachment is obsolete: true
Comment on attachment 8353542 [details] [diff] [review]
Patch

*** Original change on bio 1616 attmnt 1781 at 2012-08-03 18:03:08 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353542 - Flags: review?(florian) → review+
*** Original post on bio 1616 at 2012-08-03 18:11:57 UTC ***

Committed as http://hg.instantbird.org/instantbird/rev/0c4d8120606e

Thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in before you can comment on or make changes to this bug.