[B2G][Helix][USB]When the music is playing or is stopped, open "Enable USB storage" in the setting menu, but the phone does not enter the mass storage mode, and the disk doesn't appear in the PC.

RESOLVED WONTFIX

Status

Firefox OS
Gaia::Settings
P2
enhancement
RESOLVED WONTFIX
5 years ago
3 months ago

People

(Reporter: lecky, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0E; .NET4.0C)

Steps to reproduce:

Test 1:
1, Play music.
2, Open "Enable USB storage" in the setting menu

Test 2:
1, After the music is stopped.
2, Open or Close "Enable USB storage" in the setting menu.


Actual results:

1,  The phone does not enter the mass storage mode, and the disk doesn't appear in the PC.


Expected results:

1, The phone can enter the mass storage mode, and the disk can appear in the PC.
(Reporter)

Updated

5 years ago
Severity: normal → major
Component: General → Gaia::Settings
OS: All → Gonk (Firefox OS)
Priority: -- → P2
Hardware: All → ARM
(Reporter)

Updated

5 years ago
Severity: major → blocker
blocking-b2g: --- → hd?
This is our current designed behaviour.

Flagging UX to check if further considerations are required.
Flags: needinfo?(firefoxos-ux-bugzilla)

Comment 2

5 years ago
I am flagging Rob initially (to comment on the music playing or stopped aspect) with Jacqueline as back-up since Rob is in Oslo. 

Neo is on vacation so I cannot flag him on the expected behavior for Settings, so I am flagging Casey as back-up. The "by design" behavior described in this bug is not shown in the latest document I can find for Settings, which appears to be the menu tree document here:
https://mozilla.box.com/s/oixe20ndlr42kv4fatvl

Wayne, if you are referring to another spec/wireframe document, please let me know what it is so I can review the expected behavior. Thank you!
Flags: needinfo?(rmacdonald)
Flags: needinfo?(kyee)
Flags: needinfo?(jsavory)
Flags: needinfo?(firefoxos-ux-bugzilla)
Stephany, 
I got the info directly from a dev actually - that music play will take priority over USB storage when user attempts to do both at the same time.
(Reporter)

Comment 4

5 years ago
Hi Wayne and Stephany,

How is this issue going?
Can you give me an explicit conclusions, whether this issue was solved on Helix hd1.1 or Helix 1.2?

Thanks.

Comment 5

5 years ago
Lecky, it sounds like you should talk to Wayne (as he talked to the dev, per comment #3, and it sounds like the issue was solved), and that UX is no longer needed. Wayne, can you confirm this is correct?
Flags: needinfo?(rmacdonald)
Flags: needinfo?(kyee)
Flags: needinfo?(jsavory)
(Reporter)

Updated

5 years ago
Flags: needinfo?(wchang)
Hi,

From Gecko's perspective, if any application is accessing files on the SD card, e.g. music playing, then USB Mass Storage cannot be enabled. This applies to other applications accessing SD card content as well.

This is not a blocker as is consistent with all devices on the current release.
Severity: blocker → normal
blocking-b2g: hd? → ---
Flags: needinfo?(wchang)
(Reporter)

Comment 7

5 years ago
Hi Wayne,

I know. but it should give a hint or disable "Enable USB storage" button When the music is playing.

Thanks.
(Reporter)

Updated

5 years ago
Flags: needinfo?(wchang)
Not altering UX for now. Clearing my ni.
Severity: normal → enhancement
Flags: needinfo?(wchang)
(Reporter)

Comment 9

5 years ago
Hi Wayne,

(In reply to Wayne Chang [:wchang] from comment #8)
> Not altering UX for now. Clearing my ni.

So, whether this issue is modified on Helix hd1.1?

Thanks.
(Reporter)

Updated

5 years ago
Flags: needinfo?(wchang)
As stated in comment 8.
Flags: needinfo?(wchang)

Comment 11

5 years ago
I just updated to the Ffos 1.2 ( B2G 1.2.0.0)and i can't access usb storage in any way ( even with music / gallery/camera or any other app that uses the storage on )

Comment 12

5 years ago
and by access i meant from my PC obviously

Comment 13

5 years ago
Created attachment 822250 [details] [diff] [review]
automounter.patch

Comment 14

5 years ago
We can confirm this bug on v1.2 with out platform.
Code related to the bug is here:AutoMounter::UpdateState()
AutoMounter::UpdateState will be waiting until all opened files were closed.
And we did a try to kill all the process with the opened files, with attachment 822250 [details] [diff] [review].
Then UpdateState() can go through.
    
In contract with Android, There will be a choice tip win on screen to remind users.
We suggest that ffos would give users choices either.

(In reply to ying.xu from comment #13)
> Created attachment 822250 [details] [diff] [review]
> automounter.patch
fugu also has this issue.
I suggest FFOS should kill the process with opened files when user want to use udisk, the same as android.

Comment 16

3 months ago
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.