Closed Bug 1167491 Opened 9 years ago Closed 9 years ago

[FFOS2.0][Woodduck][HOMO]PDF Document does NOT open correctly

Categories

(Firefox OS Graveyard :: Gaia, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sync-1, Unassigned)

References

Details

Attachments

(7 files)

PROBLEM DESCRIPTION:
 When you try to download a pdf document, the handset displays a message (Image_1), if you keep the file and try to read it, phone open some application but doesn't show correctly the document (Image_2).
 
 If you copy a pdf document to memory phone, when try to view the document, phone open some application but doesn't show correctly the document.
 
 EXPECTED BEHAVIOUR:
 If you download or copy a pdf document, phone must open correctly this (if there is an application to read pdf) or show the message that there isn't an application to read pdf.
 
 STEPS TO REPRODUCE:
 Insert a Sim
 Turn on the phone
 Copy or download a pdf document.
 Try to open a few times.
 Check the behavior.
 
 ++++++++++ end of initial bug #1007507 description ++++++++++
  DEFECT DESCRIPTION:
  REPRODUCING PROCEDURES:
  EXPECTED BEHAVIOUR:
  ASSOCIATE SPECIFICATION:
  TEST PLAN REFERENCE:
  TOOLS AND PLATFORMS USED:
  USER IMPACT:
  REPRODUCING RATE:
  For FT PR, Please list reference mobile's behavior:
Attached image Image2
Attached image Image1
need information jocheng@mozilla.com
Hi Reporter,
Can you provide the link to the pdf?
Flags: needinfo?(sync-1)
Hi Norry,
QA wanted for Woodduck, 2.0/2.1/2.2/3.0
Thanks!
Flags: needinfo?(fan.luo)
Keywords: qawanted
Blocks: Woodduck
Flags: needinfo?(hlu)
hi mozilla:
    The link is www.gangqinpu.com.
     For example "http://www.gangqinpu.com/pdfdown_26422.htm" and dowm the pdf.
Attached image 2015-05-25-05-26-41.png
Hi Josh,
   This issue could NOT be reproduced on Flame v2.0 and Woodduck v2.0m latest build. 

== Result ==
* No matter it is opened on step 2 or 3, pdf file could be opened and readable.

== Test Steps ==
Step 1: Download pdf file to download the pdf file.
  ** Test file 1: http://www.gangqinpu.com/pu/2015/5/22/173348_554827.pdf (Provided by comment 6)
  ** Test file 2: http://kmmc.in/wp-content/uploads/2014/01/lesson2.pdf
Step 2: Press the notification to open the downloaded pdf.
Step 3: Go to settings-> Downloads, and press the downloaded pdf file to open it.

== Test Builds ==
* Flame v2.0
  Build ID               20150524160205
  Gaia Revision          5552bf529d3d6775a968942e9afa6c1d4037362c
  Gaia Date              2015-05-21 14:42:19
  Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/b841c3b8a094
  Gecko Version          32.0
  Device Name            flame
  Firmware(Release)      4.4.2
  Firmware(Incremental)  65
  Firmware Date          Mon Dec 15 18:51:29 CST 2014
  Bootloader             L1TC000118D0

* Woodduck v2.0m
  Build ID               20150525050314
  Gaia Revision          45ef5035abb12ecc599574cf7e08093a7cd35a66
  Gaia Date              2015-05-12 01:39:55
  Gecko Revision         6e1bada60fa18f3dd552db7618582879964747d7
  Gecko Version          32.0
  Device Name            jrdhz72_w_ff
  Firmware(Release)      4.4.2
  Firmware(Incremental)  1432501490
  Firmware Date          Mon May 25 05:05:10 CST 2015
Flags: needinfo?(hlu)
hi mozilla:
    The Mobile can't read the pdf file
 
    there are error log:
    E/GeckoConsole( 1283): Content JS LOG at app://pdfjs.gaiamobile.org/content/build/pdf.js:250 in error: Error: Invalid parameter array, need either .data or .url
    E/GeckoConsole( 1283): Content JS LOG at app://pdfjs.gaiamobile.org/content/build/pdf.js:252 in error: getDocument@app://pdfjs.gaiamobile.org/content/build/pdf.js:1760:5
Flags: needinfo?(joshcheng)
Hi Reporter,
Can you provide your pdf.js for our reference?
Thanks
Created an attachment (id=1291674)
 woodduck2.0 pdf.js
Created an attachment (id=1291674)
 woodduck2.0 pdf.js
Attached file woodduck2.0 pdf.js
Created an attachment (id=1291674)
 woodduck2.0 pdf.js
Please ignore commen 9.
With the STR in comment 0, the bug cannot be reproduced on Woodduck,Flame v2.0&v2.1. The PDF file can be open successfully, same as commen 7.

And in flame v2.2&v3.0, we can't open the pdf file. The screen will show: "There is a problem opening the pdf file.Would you like to save the file or delete it?"--->For this case, we will file a new bug

See attachments: verify_woodduck&flamev2.0&v2.1.mp4,verify_flamev2.2&v3.0.MP4 .mp4

Reproduce rate: 0/5
Repro STR:
1.Turn on the phone.
2.Download a pdf document.
3.Try to open a few times.
4.Check the behavior.

Device: woodduck 2.0M build(Pass)
Build ID               20150525050314
Gaia Revision          45ef5035abb12ecc599574cf7e08093a7cd35a66
Gaia Date              2015-05-12 01:39:55
Gecko Revision         6e1bada60fa18f3dd552db7618582879964747d7
Gecko Version          32.0
Device Name            jrdhz72_w_ff
Firmware(Release)      4.4.2
Firmware(Incremental)  1432501490
Firmware Date          Mon May 25 05:05:10 CST 2015

Device: Flame 2.0 build(Pass)
Build ID               20150224162516
Gaia Revision          ca64f2fe145909f31af266b1730874051ba76c78
Gaia Date              2015-02-24 22:06:53
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/16804008c29f
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.0
Firmware(Incremental)  eng.cltbld.20150224.201149
Firmware Date          Tue Feb 24 20:12:04 EST 2015
Bootloader             HHZ12f

Device: Flame 2.1 build(Pass)
Build ID               20150524001202
Gaia Revision          0d343f49c0e0a3928a4f456faf98e37bb26a6ef6
Gaia Date              2015-05-21 14:40:33
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/74464f851eed
Gecko Version          34.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150524.034840
Firmware Date          Sun May 24 03:48:51 EDT 2015
Bootloader             L1TC000118D0
Flags: needinfo?(fan.luo)
> See attachments:
> verify_woodduck&flamev2.0&v2.1.mp4,verify_flamev2.2&v3.0.MP4 .mp4
The two video has uploaded in comment 10& comment 11.
Hi Yifan,
Do you think the log and off.js provided can help to identify what is going wrong in partner's build?
Thanks
Flags: needinfo?(yliao)
Attached video woodduck2.0m.mp4
Upload the video of Woodduck 2.0m device.
I couldn't reproduce this issue on flame 2.2 and woodduck 2.0m with the same pdf above.

Gaia-Rev        144673a413586f98b5e2c27b781c1a539611f754
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/115112d51e08
Build ID        20150525162504
Version         37.0
Device Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150525.202102
FW-Date         Mon May 25 20:21:12 EDT 2015
Bootloader      L1TC000118D0

Am I missing any specific steps?
Flags: needinfo?(yliao)
Updated: Partner found the root cause is their File Manager app. 
Resolved as invalid.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(sync-1)
Flags: needinfo?(joshcheng)
Resolution: --- → INVALID
See Also: → 1168712
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: