Closed Bug 828717 Opened 11 years ago Closed 6 years ago

[Email] Wide embedded images are shown cut, user is not able to scale it or zoom

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v1.2 affected, b2g-v1.3T affected)

RESOLVED WONTFIX
Tracking Status
b2g-v1.2 --- affected
b2g-v1.3T --- affected

People

(Reporter: nkot, Unassigned)

Details

(Whiteboard: burirun2, 1.3tarakorun2)

Attachments

(1 obsolete file)

Attached file log file (obsolete) —
Summary: User is not able to open a full embedded image, it is shown cut in the email body without option to zoom it in/out, scale or scroll horizontally, user may only scroll up/down entire message

Unagi Build ID: 20130104070203

Preconditions:
have an email with embedded image received

Steps to reproduce:
1. Open email app
2. Open the email with embedded image
3. Tap "Show external images"
    
Expected result:
- User is able to view full image, scale it or zoom if it displayed partially

Actual result:
- Image is shown cut, no option to scale or zoom it to view full image

logcat attached
Presumably the issue is that the HTML mail does not explicitly identify the size of the image, so we decide to go into non-newsletter mode which causes us to not attach the interaction handlers.

Can you please forward the e-mail in question using a different e-mail client (like the webmail interface or Thunderbird) to bugmail@asutherland.org.

The simplest thing is probably just to always attach the interaction handlers, but if that is too overkill, we could just consider it when we invoke the resize handler.  (Or always attach them but have the resize handler decide whether to deactivate them, etc.)
Comment on attachment 700095 [details]
log file

(the log file does not include any email stuff; either nothing interesting happened from e-mail's perspective or the dump pref was off)
Attachment #700095 - Attachment is obsolete: true
I forwarded the email to bugmail@asutherland.org (sent from gmail account, from PC)
Hardware: x86_64 → ARM
(In reply to nkot from comment #3)
> I forwarded the email to bugmail@asutherland.org (sent from gmail account,
> from PC)

Let the record show that the e-mail was text/html with an external <img src=""> with no sizing information provided in the HTML tag or via other styling.

This is consistent with what I said in comment 1.  An additional possibility is to have the external image-detector detect unsized images and feed that back to our decision making process.
Whiteboard: burirun2
Also occurs in Tarako 1.3t

1.3t Environmental Variables:
Device: tarako 1.3t MOZ
BuildID: 20140411004003
Gaia: 27a0e773e01eed74e20709bdcab6894469f42a72
Gecko: 257dd37da601
Version: 28.1
Firmware Version: sp6821a
Whiteboard: burirun2 → burirun2, 1.3tarakorun2
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: