thunderbird / thunderbird/thunderbird-android
Thunderbird fails to display SVG and doesn't indicate with broken image icon/alt-text
Nobody has claimed this yet.
- 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
-
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 withrole="img"attribute. -
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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