Closed Bug 1335843 Opened 7 years ago Closed 7 years ago

Secure HTML bugmail body begins with HUGE "Subject: [Bug NNN] Bug-summary", which usually causes overflow in my email client

Categories

(bugzilla.mozilla.org :: Email Notifications, defect)

Production
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: dholbert, Assigned: dkl)

Details

Attachments

(3 files)

STR:
 1. View some decrypted secure bugmail in Thunderbird (using e.g. Enigmail)

ACTUAL RESULTS:
See attached (redacted) screenshot - a huge fraction of the visible space in the bugmail is occupied by the bug summary in a huge font-size.


This makes security bugmail much harder to skim through [unless my email client is fullscreen], because the useful content (the information that changed) is often pushed down & out of view.
EXPECTED RESULTS:
The "Subject: [Bug NNN] Bug-summary" text should be much smaller in this secure HTML bugmail -- ideally, just the same size as the rest of the text in the email (though maybe bold if you want it to stand out). There's no reason to make it so huge.
(If someone tweaks some bug-flags and adds a comment on a secure bug at the same time, it's pretty much guaranteed that I won't be able to see their comment in my 3-pane Thunderbird UI, because it will be pushed "below the fold" by this huge subject line. If the subject line were a more reasonable size, then this wouldn't be an issue.)
Here's a screenshot from another bug with a longer bug summary. As you can see, the bug title hogs basically all of the space here, and pushes all of the useful bugmail information out of view.
This is due to the subject being injected into the HTML body before encryption so that the end user can see what the subject should have been. The actual email subject is always scrubbed of the real summary. Also we are adding <h1> around the subject which makes it large in Thunderbird. Not sure why we need <h1> and we can look into just making it normal text.

dkl
Attached patch 1335843_1.patchSplinter Review
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Attachment #8833320 - Flags: review?(dylan)
Yeah, the <h1> is the problem here. Thanks!
Comment on attachment 8833320 [details] [diff] [review]
1335843_1.patch

Review of attachment 8833320 [details] [diff] [review]:
-----------------------------------------------------------------

r=dylan
Attachment #8833320 - Flags: review?(dylan) → review+
To https://github.com/mozilla-bteam/bmo.git
   bc705ae..a7317dc  master -> master
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
This is now live.

dkl
Verified fixed (the text is no longer huge, in the secure bugmail that I've received this morning).

Thanks!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: