Closed Bug 885728 Opened 11 years ago Closed 11 years ago

[gallery] when answering an activity, error messages should have a way to go back to the origin app

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 894277

People

(Reporter: julienw, Assigned: johnhu)

References

Details

(Whiteboard: [mozilla-triage])

Attachments

(1 file)

STR:
* have usb mass storage activated
* plug your phone on your computer
* check that you can access the sdcard from your computer
* open the SMS app
* start writing a new message
* tap the bottom left "attachment" icon
* pick "gallery"

Expected:
* the alert "memory card in use" is displayed, and there is a "cancel" button to go back to the sms app

Actual:
* the alert "memory card in use" is displayed, and there is no "cancel" button


The same problem exist in other apps too: music, camera, video, at least.

The only way out is press home, and go back to the original app.
Flags: needinfo?(firefoxos-ux-bugzilla)
We recommend not blocking given very low user impact, but will leave it to partners to make a final decision.
Whiteboard: [mozilla-triage]
See Also: → 881664
(In reply to Julien Wajsberg [:julienw] from comment #0)
> STR:
> * have usb mass storage activated
> * plug your phone on your computer
> * check that you can access the sdcard from your computer
> * open the SMS app
> * start writing a new message
> * tap the bottom left "attachment" icon
> * pick "gallery"
> 
> Expected:
> * the alert "memory card in use" is displayed, and there is a "cancel"
> button to go back to the sms app
> 
> Actual:
> * the alert "memory card in use" is displayed, and there is no "cancel"
> button
> 
> 
> The same problem exist in other apps too: music, camera, video, at least.
> 
> The only way out is press home, and go back to the original app.

Strange, on bug 881664 that I filled, this was not working, and my only way out was to reboot the phone.
(In reply to Alexandre LISSY :gerard-majax from comment #2)
> 
> Strange, on bug 881664 that I filled, this was not working, and my only way
> out was to reboot the phone.

I've seen this in the past too, maybe there's a difference between 1.1 and master.

This bug is about gallery, while bug 881664 is about camera, but I think we should fix all apps that exhibit this behaviour in one patch. I also wonder if we should not do something at the system level to let the user cancel an activity whatever the activity is and the application does.

Dale, any thought here ?
Flags: needinfo?(dale)
Without a back button or giving up screenspace inside activity UI's not sure exactly how we could do that, but yeh the home button should definitely always work, I already cc'd firefox-ux for Alexandre's patch
Flags: needinfo?(dale)
Assigning to Casey in our non-blocking triage.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(kyee)
blocking-b2g: leo? → -
Priority: -- → P1
Strange thing here. I had checked the code about answering activity when sdcard is mounted as usb mass storage. In the patch of Bug 875641, it just cancels pick activity[1][2]. It is still true in v1-train. So, this bug is not reproducible.


[1] https://github.com/mozilla-b2g/gaia/blob/f2e2403873bcd83b046ff2b9baf61e8db6224496/apps/gallery/js/gallery.js#L232
[2] https://github.com/mozilla-b2g/gaia/blob/f2e2403873bcd83b046ff2b9baf61e8db6224496/apps/gallery/js/gallery.js#L281
I had found there is a bug 894277 which complains no error message while mount sdcard as usb mass storage.
Reassigning to Rob since Casey has been out a bit lately and Rob has Gallery has part of Media. Apologies for delays. The UX team still has to focus on blockers due to how constrained we are right now.
Flags: needinfo?(kyee) → needinfo?(rmacdonald)
Assignee: nobody → johu
See Also: → 914958
See Also: → 915039
See Also: → 915043
blocking-b2g: - → 1.3?
This one is also fixed by bug 894277, make it as duplicate.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
the attachment is the image after applied the patch of 894277
clear needinfo flags.
Flags: needinfo?(rmacdonald)
blocking-b2g: 1.3? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: