Closed Bug 1004910 Opened 11 years ago Closed 10 years ago

[Sora][3rd][Aviary]the edit picture would store at the same path no matter select which output folder

Categories

(Tech Evangelism Graveyard :: Other, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sync-1, Assigned: ffosas)

References

Details

Attachments

(1 file)

Mozilla build ID:20140422024003
 
 Created an attachment (id=729761)
 screenshot
 
 DEFECT DESCRIPTION:
 the edit picture would store at the same path no matter select which output folder
 
  REPRODUCING PROCEDURES:
 1.Launch Aviary;
 2.Press settings icon at the upper right corner;
 3.Open Output Folder item,now 'Pictures' is selected;
 4.Press gallery to select 'Gallery' or 'Camera';
 5.Select one picture or capture one picture;And then edit this pciture;
 6.Press Save;
 7.Repeat step2-6,step 3 select SD Card;
 8.Launch file manager,you would see both of pictures saved at the root of internal storage.->KO
 
 
  EXPECTED BEHAVIOUR:
 Output Folder select 'Pictures' and select 'SD Card' should make edit pictures saved at different location.
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:5/5
 
  For FT PR, Please list reference mobile's behavior:
Attached image screenshot β€”
In fact if you set the Default media location in Settings to SD Card, the edited pictures will
be saved in external sd card, other wise they will be saved in the phone no matter you select Pictures or SD Card in the app.
Device Storage API in MDN explain 'picutures' as a storage area where pictures are stored and 'sdcard' as a storage area that give access to the device's SDCard.
But in my opinion in fact 'picutures' is a collection of pictures that exist in the phone or a external SD Card, and 'sdcard' refer to the default location either internal or external sd card. Am i right?
Hi Vance,

Can you help to answer my question in Comment 3?

Thanks.
(In reply to Lingling Zhao from comment #4)
> Hi Vance,
> 
> Can you help to answer my question in Comment 3?
> 
> Thanks.

Hi Lingling, could you provide the link of the Storage API in the MDN page? I will find someone to review and check again

Thanks

Vance
Flags: needinfo?(zhaolingling)
I find it in the following link:
https://developer.mozilla.org/en/docs/WebAPI/Device_Storage
Flags: needinfo?(zhaolingling)
Vance, can you find someone to check it? Thanks.
Flags: needinfo?(vchen)
Can someone confirm if this is a third party app issue? Shall we contact Aviary devs?Thanks in advance.
(In reply to Lingling Zhao from comment #7)
> Vance, can you find someone to check it? Thanks.

Hi Lingling -

In the API level, the "picture" means the default picture folder the FFOS will generate when it capture a phone and store it to the device, whether the picture is stored in SD card or internal storage(eMMC) is depends on the default storage setting.

I think this one should be a 3rd party vendor bug, ni Nicole here to help
Assignee: nobody → other
Component: Gaia → Other
Flags: needinfo?(vchen) → needinfo?(nfong)
Product: Firefox OS → Tech Evangelism
Nicole,

Can you help to contact Aviary to fix it? Thanks.
Jose Enrique, could you please contact Aviary as well?
Flags: needinfo?(joseenrique.alvarezfernandez)
Done! Waiting for their answer
Flags: needinfo?(joseenrique.alvarezfernandez)
Notified them as well.
Blocks: 1009908
Flags: needinfo?(nfong)
Waiting on maint contract. Expected to close sometime later this Q or in Q4
Assignee: other → hkirschner
Status: NEW → ASSIGNED
@Xoriant - Can you please take a look at this bug and provide a comment?
Assignee: hkirschner → ffosas
Flags: needinfo?(ffosas)
There is an option in device's setting (Setting --> Media Storage --> Default media location) to select the default media location. 

If "Internal" is selected as the default media location, then 
navigator.getDeviceStorage(β€˜pictures’) --> returns the pictures from Internal SD Card. 
navigator.getDeviceStorage(β€˜sdcard’) --> returns all the data(including pictures) from Internal SD Card.

And if "SD Card" is selected as default media location, then
navigator.getDeviceStorage(β€˜pictures’) --> returns the pictures from External SD Card. 
navigator.getDeviceStorage(β€˜sdcard’) --> returns all the data(including pictures) that is present on External SD Card.

So, when we select any of these in the device setting, the app's internal settings don't have control over it.

It will save the edited image to the default media location selected in the device settings and not the app settings(output folder).
Flags: needinfo?(ffosas)
Thank you for the detailed information.

It would seem as though this is not actually a bug on Aviary's side, but rather a case of the device's settings overriding the app's preference. Therefore I am closing this bug.

@sync-1: Please note, that this issue can be corrected by going into the device settings and changing the default storage location (see comment 16).
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: