WordPress.org

Making WordPress.org

#5549 closed defect (invalid)

Use a fixed width font for the ticket information in Trac emails

Reported by: johnbillion Owned by:
Milestone: Priority: low
Component: Trac Keywords: reporter-feedback
Cc:

Description

Trac sends its emails as text/html with a proportional width font which means the ticket information table at the top is misaligned. This table is actually correctly formatted by Trac for display as plain text. It should look like this:

-----------------------------+-----------------------------
 Reporter:  peterwilsoncc    |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------

Probably the whole email should be text/plain, but there's some minor styling in the email footer that would need to be removed in that case. Alternatively the information table at the top should use a monospace font declaration.

Attachments (1)

Screenshot 2020-12-16 at 09.39.35.png (44.5 KB) - added by johnbillion 10 months ago.
Screenshot

Download all attachments as: .zip

Change History (3)

#1 @dd32
10 months ago

  • Keywords reporter-feedback added

Trac sends emails as plain text, setting appropriate headers. Can you check the headers of the emails you have?

It looks like email clients, such as gmail, display that with a non-fixed-width font.

#2 @johnbillion
10 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Huh, you're right. This is a Gmail issue in that case. I was confused by the styling that Gmail applies to the "signature" section and assumed it was coming from Trac.

Note: See TracTickets for help on using tickets.