Closed
Bug 867231
Opened 12 years ago
Closed 12 years ago
MozActivity "open" with a blob should offer "save" button
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Tracking
(b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)
RESOLVED
FIXED
People
(Reporter: gnarf, Assigned: djf)
References
Details
Attachments
(1 file)
The gallery app should be offering a "Save" button for blob's opened by other applications.
Copying this part of the description from https://bugzilla.mozilla.org/show_bug.cgi?id=840059#c6 :
The image file is opened by the gallery, while the picture is viewed, the user has the option to "save" that content, if the user selects that option, a banner indicating the success/failure of the operation is shown when completed. If the user cancels the "view" operation, he is returned to the thread detail screen in SMS Application. All this code should be implemented by an activity (I suppose in the gallery).
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dflanagan
Assignee | ||
Comment 1•12 years ago
|
||
Wireframes here: https://www.dropbox.com/s/vbxes8onsv58ir7/meta-pattern-previews.pdf
Assignee | ||
Comment 2•12 years ago
|
||
Work in progress patch is here: https://github.com/mozilla-b2g/gaia/pull/9549
It looks like there is a gecko bug, however: the gallery app crashes right after saving the file. dhylands is investigating.
Assignee | ||
Comment 3•12 years ago
|
||
This bug is blocked on a gecko crash in bug 868625
Assignee | ||
Comment 4•12 years ago
|
||
Dominic,
This is a bug that the MMS team wants soon. For some reason they are not marking their bugs leo+, but they need to land soon to get into the v1.1 release.
This adds an optional Save button to the open activity for Gallery. MMS needs the same thing for Music and Video, so I've put some utilties in shared/js to make it easier for those apps.
(The Music app is bug 867448. I'm happy to work on that one after this patch lands, but if you'd like to take it that's okay with me.)
Attachment #746731 -
Flags: review?(dkuo)
Assignee | ||
Comment 5•12 years ago
|
||
Dominic,
Comment 3 says the bug is blocked by a crash. It turns out that if the blob passed to the view activity is from device storage, then saving it again causes a crash. But there is no crash when I test it with the new uitest in the pull request. So I think it is okay to review and land this Gaia patch now. When the gecko crash gets fixed, then the save feature will start working.
Comment 6•12 years ago
|
||
Comment on attachment 746731 [details]
link to patch on github
David,
I have encountered the gecko crash in bug 868625 which you mentioned in Comment 3, then I turned to test the uitest that you also added in this patch, that uitest works good and fits the requirement in the wireframes. After that I backed to test it with modified email app again, and found although it crashes but a broken file is saved, so I think the saving works are done in this patch and we can land this first to wait bug 868625 to be fixed.
Attachment #746731 -
Flags: review?(dkuo) → review+
Comment 7•12 years ago
|
||
David,
To speed up landing the save features for music and video, I think it would be great if we implement bug 867448 and bug 869292 in parallel, and we can even review the patches each other! how about that?
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•12 years ago
|
||
Dominic,
Sounds like a good idea. I'll take the video bug now and leave the music one to you.
Assignee | ||
Comment 9•12 years ago
|
||
Landed to gaia master: https://github.com/mozilla-b2g/gaia/commit/ad01e40314fb800493e3865912b107b96664836b
Assignee | ||
Comment 10•12 years ago
|
||
uplifted to v1-train: https://github.com/mozilla-b2g/gaia/commit/12f348ec283f5f395d860a2e89a68d9d4a48a3e8
You need to log in
before you can comment on or make changes to this bug.
Description
•