Closed Bug 813030 Opened 13 years ago Closed 13 years ago

[contacts] [gallery] Not able to add a photo from gallery to a contact

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)

x86_64
Windows 7
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: carlosmartinez, Assigned: vingtetun)

References

Details

Attachments

(1 file)

Tested with unagi with: gaia 620399e gecko 85d0121 STR: 1-Open contacts app 2-Create a new contact 3-Tap in the + symbol to add a photo 4-Select add from gallery Expected result --> You can select the photo, crop it if needed and finally add it to the contact Actul result --> Gallery app is crashing
blocking-basecamp: --- → ?
Keywords: smoketest
David, is this a regression from bug 794407 ?
Depends on: 794407
What does `adb logcat` says?
Component: Gaia → Gaia::Contacts
blocking-basecamp: ? → +
Priority: -- → P1
Actul result --> Gallery app is crashing and the device restarts the first two times. After I can select the photo properly.
QA Contact: dflanagan
I'm getting a NO_PROVIDER DOMError in logcat with last gecko/gaia. Not sure it was the initial bug, but that's the current result.
Andread, could you check if the issue in comment 4 doesn't come from your patch?
Assignee: nobody → amarchesini
Attached patch patchSplinter Review
Attachment #684388 - Flags: review?(mounir)
Comment on attachment 684388 [details] [diff] [review] patch Review of attachment 684388 [details] [diff] [review]: ----------------------------------------------------------------- I'm not a Gaia peer.
Attachment #684388 - Flags: review?(mounir) → review?(21)
This bug is a duplicate of 813462 but I would like to see this patch landed as well becuase there are no reasons to have width/height in the activity: the image is resize at 'onsuccess' in any case.
https://github.com/mozilla-b2g/gaia/commit/992e8783b440597ad9aecd505806f163ffea89ea It seems like this is also hard to create sms from the contact edition page since your changes? Do you mind having a look?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
I already submitted a patch for that.
(In reply to Andrea Marchesini (:baku) from comment #9) > This bug is a duplicate of 813462 but I would like to see this patch landed > as well becuase there are no reasons to have width/height in the activity: > the image is resize at 'onsuccess' in any case. As far as I know, the size is used by the gallery for cropping. Is resized in the onsuccess because the Camera is not allowing to crop after taking the picture.
Please revert the patch from this bug. The width and height properties allow the gallery to provide an image of the correct size. And more importantly, they tell the gallery what the desired aspect ratio of the image is, and affect the way it does cropping. Without those parameters, the gallery would allow the user to crop the image at any aspect ratio, even though the contacts app really wants a square image.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: amarchesini → 21
Not a smoketest blocker anymore.
Keywords: smoketest
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
verified on unagi build id: 20130103070201
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: