thunderbird / thunderbird/thunderbird-android

Thunderbird fails to display SVG and doesn't indicate with broken image icon/alt-text

Open
#9,769 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

unconfirmed
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Checklist
  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.
App

Thunderbird for Android

App version

12.1

Where did you get the app from?

F-Droid

Android version

14

Device model

No response

Steps to reproduce
  1. broken image icon: Add inline SVG to email for eg. using thunderbird desktop with insert as html add the <svg>...</svg> code. You can also try with role="img" attribute.

  2. Alt text: add <svg>...<title> Alt text here </title></svg> to add alt text in case client can't render svg. This format is common and used by MathJax, for example, so you can find such svg in email with LaTeX prerendered using MathJax SVG. Alternatively try some garbage tag <svg>...<afindgnweiu> Alt text here </afindgnweiu></svg> or even <desc>.

Expected behavior

Show image broken/missing icon in place and show the <title> of the svg which works on desktop and everywhere else. <desc> and garbage tags are shown as alt-text but not <title> which is more commonly used.

see info on SVG title/Desc spec: mdn article on title, mdn article on desc
see tangentially related issue #3412

Actual behavior

Renders properly on desktop and roundcube webmail, etc. and shows broken icon/alt-text when display-as is changed on desktop as expected but thunderbird android doesn't render this but also doesn't show an image missing/broken icon or alt text either. Thunderbird android does show broken image and alt text for remote svg content in img tag but not embedded svg.

Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Thunderbird for Android 12.1 with an inline SVG containing a title, desc, or invalid child tag, then trace the email rendering path. Done means unsupported or failed inline SVG content shows a broken-image indicator and exposes the SVG title as alt text, matching the reported desktop behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.