tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
5.93k stars 509 forks source link

iOS: Received email zoomed out and not readable #7193

Open vpenkoff opened 1 month ago

vpenkoff commented 1 month ago

Bug in mobile app

Describe the bug On iOS Tuta Mail, I've received an email that is being displayed in a way that's unreadable. The view of the email is ultra small. The user agent of the mail client that sent the email is Mozilla Thunderbird:

Content-Type: multipart/alternative;
 boundary="------------J2DxhAZ07blVhj9RWjHiKGoT"
Message-ID: <d1cbcb91-cbac-4dee-b91c-e6c014c4a93c@sender.de>
Date: Tue, 9 Jul 2024 19:48:50 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: contact@viktorpenkov.com
From: "Sender" <info@sender.de>
Subject: Subject
X-Spamd-Bar: ---

To Reproduce Steps to reproduce the behavior:

  1. Receive an email, sent by Mozilla Thunderbird mail client
  2. Press on the received email, so the app opens it.

Expected behavior The problematic email should be displayed not zoomed out.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from iOS Tuta Mail: Bildschirmfoto 2024-07-10 um 09 51 34

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

charlag commented 1 month ago

Hi, thank you for the report!

How it works is we try to find the size that would fit the email in width. There is probably some element that is not allowed to wrap, like preformatted text?

vpenkoff commented 1 month ago

Hi, thank you for the report!

How it works is we try to find the size that would fit the email in width. There is probably some element that is not allowed to wrap, like preformatted text?

No idea. I'd kindly ask the person who sent the email what and how they are using. I have a followup mail conversation and if the first email was kind of template/ preformated, the followups are pretty standard written, but the problematic behaviour still persist tho. I'll try also to debug it locally by running the iOS version of the app.