Closed Bug 985173 Opened 10 years ago Closed

[B2G][Marketplace] In the app 'Recomienda' there are two broken images in the tile view

Categories

(Tech Evangelism Graveyard :: Preinstalled B2G Apps, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 affected, b2g-v1.4 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v1.3 --- affected
b2g-v1.4 --- affected

People

(Reporter: demerick, Unassigned)

References

()

Details

(Whiteboard: dogfood1.4)

Attachments

(5 files, 1 obsolete file)

Attached file logcat.txt
Description:
If the user switches to tile view in Recomienda they will see two broken images. These do not replace images, but are added when switching to this view. Please see attached screenshots.

Repro Steps:
1) Update a Buri to BuildID: 20140318004002
2) Install the app Recomienda from the marketplace and launch it from the home screen
3) Tap 'Don't Share'
4) Tap the 4 squares icon in the top right corner
5) Tap the 4 horizontal bars icon in the top right corner (same button as step 4)
6) Tap the 4 squares icon again
7) Scroll down

Actual:
The user will see two broken image/hyperlinks

Expected:
The user should not see any broken images

1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140318000203
Gaia: c03a6af9028c4b74a84b5a98085bbb0c07261175
Gecko: 3776f72f1967
Version: 30.0a2
Firmware Version: v1.2-device.cfg

Repro frequency: 100%
See attached: screenshot, logcat
Attached image recomienda_tileView.png
This issue also occurs on the Buri v 1.3.0 Mozilla RIL

1.3 Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140318004002
Gaia: 2ea2aab306bd1c941719160cdcb49ee9d755dc17
Gecko: cf2042938526
Version: 28.0
Firmware Version: v1.2-device.cfg

Two broken images are seen in Tile view in the app Recomendia when the user switches between tile and detailed view.
This issue does not occur on the Buri v 1.1.0 Mozilla RIL

1.1 Environmental Variables:
Device: Buri 1.1 MOZ
BuildID: 20140306041201
Gaia: 44a2ddf63373f8e95c784faf4ed4d60081699c61
Gecko: 1421a6b7fc51
Version: 18.0
Firmware Version: v1.2-device.cfg

No broken images are seen in Tile view in the Recomendia app.
Can we get a screenshot of the behavior seen on 1.1?
Keywords: qawanted
Attached image 1.1.png
Uploaded a 1.1 picture
Keywords: qawanted
Milan - Do you know someone who would know why we would get broken images on 1.3 for 2 of the images, but have all images render on 1.1? I'm wondering how this could be a bug on our side & why.
Flags: needinfo?(milan)
Any chance we can get the two images attached to the bug that cause trouble? Just to see if it's a codec bug we may have fixed that now rejects those images as invalid where before they sneaked through.

We should also check for a more recent regression, there were some 1.3 imagelib changes earlier this week :)
Flags: needinfo?(milan)
blocking-b2g: --- → 1.3?
Keywords: regression
(In reply to Milan Sreckovic [:milan] from comment #6)
> Any chance we can get the two images attached to the bug that cause trouble?
> Just to see if it's a codec bug we may have fixed that now rejects those
> images as invalid where before they sneaked through.

From using a UA spoofer on Desktop Firefox with Firefox OS as the UA, I can't find the particular image in question. However, we might be able to get that information from remote debugging on device.
QA Contact: mvaughan
This issue looks to have started on the 10/08/13 1.3 build at the latest. The 10/06 and 10/07 builds do not load past the Firefox splash screen on start up so they could not be tested.

- Last Working -
Device: Buri v1.3 MOZ RIL
BuildID: 20131005040201
Gaia: c9090021f7d642bae1db73a1093ab3dbb5078642
Gecko: b5d24ef1eb37
Version: 27.0a1
Firmware Version: V1.2-device.cfg

- First Broken -
Device: Buri v1.3 MOZ RIL
BuildID: 20131008064334
Gaia: 122ff8c6363227501f4121e5a3892ba41d4c0417
Gecko: 64b497e6f593
Version: 27.0a1
Firmware Version: V1.2-device.cfg


**This looks to be a gecko issue**
last working gaia/first broken gecko = REPRO
Gaia: c9090021f7d642bae1db73a1093ab3dbb5078642
Gecko: 64b497e6f593

first broken gaia/last working gecko = NO REPRO
Gaia: 122ff8c6363227501f4121e5a3892ba41d4c0417
Gecko: b5d24ef1eb37

Push log: http://hg.mozilla.org//mozilla-central/pushloghtml?fromchange=b5d24ef1eb37&tochange=64b497e6f593
bug 922931 is a potential suspect for causing this bug
Going to investigate the points Johnny suggested - which was:

1. See if this reproduces on Desktop with a FxOS UA spoof
2. Disable browser cache, browser memory, and network http usecache and try to reproduce

While I'm digging into this, I'd like to get input on whether bug 922931 could have caused this.

Boris - What do you think?
Flags: needinfo?(bzbarsky)
Component: General → Layout: Images
Product: Firefox OS → Core
Version: unspecified → 28 Branch
Before bug 922931, in standards mode a broken <img> with no alt attribute was completely invisible.

After that bug, it shows a broken-image icon.

So presumably these images were broken all along but were simply not being shown, and now they're being shown.

The possible fixes are to add alt="" to the images if they're _meant_ to be broken but shouldn't be visible, or to fix them to not be broken.
Flags: needinfo?(bzbarsky)
But according to attachment #8394449 [details], the broken image has an alt attribute.
<img alt="" src="http://www.movistarrecomienda.es/upload/92c8c28233/URL_THUMBAIL_20130916.png"></img>
Moreover, this image is not broken when opening it directly.
Yes, I'm having a hard time with the various contradictory bits in this bug...
(In reply to Jason Smith [:jsmith] from comment #13)
> Going to investigate the points Johnny suggested - which was:
> 
> 1. See if this reproduces on Desktop with a FxOS UA spoof
> 2. Disable browser cache, browser memory, and network http usecache and try
> to reproduce
> 
> While I'm digging into this, I'd like to get input on whether bug 922931
> could have caused this.
> 
> Boris - What do you think?

Adding QA wanted for further investigation on QA.
Keywords: qawanted
Please update bug with your investigation
Flags: needinfo?(jsmith)
Attached file Img Tag Only Test Case (obsolete) —
Flags: needinfo?(jsmith)
Confirmed this does reproduce on Desktop Firefox Nightly with the user agent spoofed to FxOS.
Attachment #8395400 - Attachment is obsolete: true
Figured it out. This line appears to be causing the trouble:

<img src="" class="img_grid" ruta="">

In Firefox 26 or earlier, we displayed this as invisible, so Kayak & Facebook never showed up. In Firefox 27 or later due to the spec change in gecko, we show a broken icon here.

On that regard, this is a TE bug with the app. The difference in behavior is just due to a spec change in gecko, but the bug exists across both versions (i.e. not a regression).
blocking-b2g: 1.3? → ---
Component: Layout: Images → Preinstalled B2G Apps
Keywords: qawanted, regression
Product: Core → Tech Evangelism
Version: 28 Branch → unspecified
Whiteboard: dogfood1.4 → dogfood1.4, [flame-1.4-exploratory]
Whiteboard: dogfood1.4, [flame-1.4-exploratory] → dogfood1.4
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Closed: 6 years ago6 years ago
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: