Closed Bug 1003035 Opened 10 years ago Closed 6 years ago

[Flatfish][Gallery] Unable to crop large image and crop view is broken.

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: eva.chen.fx, Unassigned)

References

Details

(Whiteboard: [flatfish][TCP=breakage])

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

Steps to reproduce:

1. Long-tap the home-screen, select from Gallery.
2. Select the image.
3. Crop view is broken.

Gaia - cba203c750d3364f3e3971ea8a0ec315ced784d3
* Test Image Type: jpeg
* Resolution: 1600*1065
* See attached screenshot.
Whiteboard: [Flatfish only][developer+]
I'm a contributor to the Tablet Contributor Program. I can reproduce with your steps the same issue on my Flatfish tablet.

B2G: 1.4.0.0-prerelease
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [Flatfish only][developer+] → [Flatfish only][developer+][TCP]
Blocks: flatfish
Model:flatfish
Os Version:2.1.0.0-prerelease
gaia commit id:84b7cca6

try to test:
1.use willReadFrequently:true
code:
displayCropOnlyPreview()@apps/gallery/js/ImageEditor.js :553
	- var previewContext = this.previewCanvas.getContext('2d') :554
        + var previewContext = this.previewCanvas.getContext('2d',{willReadFrequently:true}) :554

result:
looks good on flatfish

2.then...test canvas tag on flatfish:
result:
canvas.getContext(‘2d’) -> errors
Whiteboard: [Flatfish only][developer+][TCP] → [flatfish][TCP]
See Also: → 1048959
Whiteboard: [flatfish][TCP] → [flatfish][TCP=breakage]
Assignee: nobody → shchen
Offline discussed with Jerry, seems we are able to get correct image blob, but something went wrong when rendering it out. Need more investigation from gecko side and deassign myself.
Assignee: shchen → nobody
Flags: needinfo?(hshih)
Flags: needinfo?(hshih)
I can reproduce on build 20140916012921.
I had experienced this bug since the beginning (shipment release). Now I have found that the same visual problem afflicts also PDFs, expecially when I try to view one in vertical orientation.
I am still able to reproduce this bug on the latest build 20141217.

OS version: 2.2.0.0-prerelease
Platform version: 37.0a1
Build identifier: 20141217021324 
Git commit info: 2014-12-16 16:17:31 939cf033
Firmware revision: flatfish_20141217-0144
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

Creator:
Created:
Updated:
Size: