thunderbird / thunderbird/thunderbird-android

Problems opening .JPG (capital letters) attachment with specified app

Open
#3,226 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I get emails from my Security cam with .JPG (!capital letters!) attachment
Expected behavior:
Usually my defined App is opened (Gallery in my case)

Actual behavior
K9 mail suggests some inadequate Apps

Steps to reproduce

  1. recieve an email vith attachment xxx.JPG (capital letters!)
  2. K9 Mail suggests several Apps to open it although there is a certain App specified for this action
    Note: If recieving an attachment xxx.jpg (lower case letters) it works!!

Environment
K-9 Mail version: 5.403

Android version: 7.0

Account type (IMAP, POP3, WebDAV/Exchange):

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

Reproduce the attachment-opening flow with matching .jpg and .JPG files on the reported Android/K-9 Mail setup, then trace how the attachment type or extension is passed to the app chooser. Done means uppercase .JPG attachments open with the user's specified app, matching lowercase behavior, with regression coverage if the relevant test area is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.