Closed Bug 809764 Opened 12 years ago Closed 6 years ago

[system] show overlay when device plugged in via usb

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-basecamp:-, b2g18-v1.0.1 affected)

RESOLVED WONTFIX
blocking-basecamp -
Tracking Status
b2g18-v1.0.1 --- affected

People

(Reporter: dietrich, Unassigned)

Details

(Keywords: feature, Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4, retest_leorun4, burirun1)

"As a user, I want a dialogue box asking me whether I want to charge my phone,  internet tether or turn on mass storage mode when my phone is plugged into my computer via USB."

UCID: SysOverlay-009
blocking-basecamp: --- → +
Keywords: feature
Priority: -- → P1
This is a feature that came out of analysis of the user-stories.

This needs evaluation by Daniel and Clee about whether it's absolutely required for V1.
I think it is not absolutely required but it is a super duper very ultra nice to have. Clee, up to you!
Component: Gaia → Gaia::System
cc'd Casey, who worked on this issue extensively.

On a related note, WRT to showing a status bar indicator, we do have a USB status bar icon already designed:

https://www.dropbox.com/sh/j8o1trg68rzdtba/8MGcJmTgJm

See: icons-new_roaming.png

We were going to use it as a permissions indicator for WebUSB API but that feature was nixed for v1.
If bug 798254 is implemented, user will not be able to switch on two incompatible USB features in the Settings app; we would not need the dialog in this bug.

I highly suspect this bug require platform support (beyond System app), so I would recommend we drop this feature and turn to bug 798254 instead.
I believe there is a default state today which seems to work just fine.

1) charges the device
2) turns on USB mass storage as long as the toggle is checked in Settings
3) user will need to go setup WiFi hotspot if they want to turn that function on

I would mark this as not blocking for v1.
Milestoning for C2 (deadline of 12/10), as this meets the criteria of "remaining P1 bugs not already milestoned for C1".
Target Milestone: --- → B2G C2 (20nov-10dec)
Agree w/ Clee that this is non-blocking. Re-setting to ? for triagers to catch.
blocking-basecamp: + → ?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
blocking-basecamp: ? → ---
Gaia TRiage : Duplicate.  -
blocking-basecamp: --- → -
This is not a duplicate of bug 798254. That bug is the Settings choices between things like USB and tethering. This bug is specific to USB overlays shown when plugging in USB, regardless of tether. It's a specific UI feature that is separate from the general Settings contention issues.

Re-opening: Is marked out-of-scope for V1, but that doesn't mean we don't want this for a subsequent release.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Target Milestone: B2G C2 (20nov-10dec) → ---
Priority: P1 → --
Whiteboard: interaction, UX-P4, v2
Is USB mass storage turned on by default?
This issue repros on Build 2012121707020

Repro Steps: 

1. Unlock the phone and open any application or access the phone setting.
2.  Connect the USB cable to a computer.
3.  Look and feel what happens

Expected:
The system overlay notification appears when the user connects the phone with a USB cable. The notification automatically disappears after 1 second and the phone nudges at the same time.

Actual: The battery has a electric bolt picture in it displaying it is charging in top right hand side of screen.  Does not show in system overlay nor does it disappear after 1 second.  Phone also does not nudge once plugged in.  

Note: Same happens whether USB is turned off or on.
Please ignore previous comment.  

This issue repros in Build 2012121707020

Repro Steps:
1.Plug device into USB
2. View what happens
 Expected:
Choice to charge phone,  internet tether or turn on mass storage mode when plugged into my computer via USB.
Actual:
Nothing is displayed
(In reply to Jeni from comment #13)
> Please ignore previous comment.  
> 
> This issue repros in Build 2012121707020
> 
> Repro Steps:
> 1.Plug device into USB
> 2. View what happens
>  Expected:
> Choice to charge phone,  internet tether or turn on mass storage mode when
> plugged into my computer via USB.
> Actual:
> Nothing is displayed

Please note that this User Story has been de-scoped for V1 and hence it is not expected to work or to be tested.
This issue repros in Build 20130104070203

Repro Steps:
1.Plug device into USB
2. View what happens
 
Expected:
Choice to charge phone,  internet tether or turn on mass storage mode when plugged into my computer via USB.

Actual:
Nothing is displayed
Is the default: USB mass storage = On?
(In reply to Josh Carpenter [:jcarpenter] from comment #16)
> Is the default: USB mass storage = On?

I have tried it both ways, with USB Mass Storage On and Off.
UCID: sysoverlay-011
https://moztrap.mozilla.org/results/case/62586/
Whiteboard: interaction, UX-P4, v2 → interaction, UX-P4, v2, testrun 2
Whiteboard: interaction, UX-P4, v2, testrun 2 → interaction, UX-P4, v2, testrun 3
Issue repros

Build ID: 20130130070201
Kernel: Dec 5
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/4593f3e765eb
Gaia   f7f5a0cd17e3d04308cc5850b254947e127122b9
Whiteboard: interaction, UX-P4, v2, testrun 3 → interaction, testrun 3, c=system u=user s=v1.x-tracking
Inari Build: 20130417070205
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/6bac24e14538
Gaia   2d048a9bdae54e4ec7d48326c2130591c8b869b6
Kernel:  Feb 21st

When attaching the USB cable to the Inari device, with or without USB Mass Storage on, there is no dialogue box asking me whether I want to charge my phone, internet tether or turn on mass storage mode.
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1 → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1 → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3
Assignee: mbudzynski → nobody
Issue repros on 

Leo Build ID: 20130625070217
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/29933d1937db
Gaia: 1436e2778b90bd74635b0b94d1cf8ccb0d71b60c
Platform Version: 18.1

When plugging in device there is no message given for user to choose to charge their phone,  internet tether or turn on mass storage.
Issue repros on 
Leo Build ID: 20130625070217
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/29933d1937db
Gaia: 1436e2778b90bd74635b0b94d1cf8ccb0d71b60c
Platform Version: 18.1
RIL Version: 01.01.00.019.138 

when plugging in device there is no message giving user options to choose how they want their device to respond
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3 → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4
Still repros on Leo 1.1 commercial RIL.

Build ID: 20130715070218
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6062fdf2deb8
Gaia: 55ed5e08a2250ea2d3571fff860c39e66fabed14
Platform Version: 18.1
RIL Version: 01.01.00.019.158
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4 → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4, retest_leorun4
Whiteboard: interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4, retest_leorun4 → interaction, testrun 3, c=system u=user s=v1.x-tracking, inarirun1, leorun1, leorun3, leorun4, retest_leorun4, burirun1
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 12 years ago6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.