Closed Bug 1161461 Opened 10 years ago Closed 7 years ago

[Email]When you tap back icon on "New Account" page, the device will back to "Inbox" view.

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master unaffected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.1 --- affected
b2g-v2.1S --- affected
b2g-v2.2 --- affected
b2g-master --- unaffected

People

(Reporter: wangxin, Unassigned)

Details

(Whiteboard: [v2.2-nexus-5-l])

Attachments

(2 files)

[1.Description]: [Nexus 5][v2.2][Flame][v2.2][Email]With no email account logged in, you share a file with Email, but tap "Add another account" item before logging in an account completely. And press "<" icon on "New Account" page, then device will back to "Inbox" view. Found Time:23:47 See log:"logcat_2347.txt" See video: "2347.MP4" [2.Testing Steps]: Premise: There is no Emai account logged in 1. Share a Music/Picture/Video/Contact with Email. 2. Log in Email account. 3. In "Mail account setup" page, Choose "Add another account" item. 4. In "New Account" page, tap the "<" icon at top-left of the page. [3.Expected Result]: 4. Comparing with Flame3.0 and Nexus_5 3.0, the device should back to the view where we selected "Share" option(For example, if you select an image in gallery and share, device will back to the Gallery view after that.). [4.Actual Result]: 4. It loads to "Inbox" view. [5.Reproduction build]: Flame 2.2(Affected): Build ID 20150504002502 Gaia Revision 8d14361337e608c8cdf165ea5034db5eda23b618 Gaia Date 2015-05-01 18:23:46 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/cb7cb6597c91 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150504.041436 Firmware Date Mon May 4 04:14:48 EDT 2015 Bootloader L1TC000118D0 Flame 3.0(Unaffected): Build ID 20150504160201 Gaia Revision 70077825aab2c7a79611befb40a5fe7e610d5443 Gaia Date 2015-05-04 18:09:33 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/102d0e9aa9e1 Gecko Version 40.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150504.193019 Firmware Date Mon May 4 19:30:30 EDT 2015 Bootloader L1TC000118D0 Nexus_5 2.2 (Affected): Build ID 20150504002502 Gaia Revision 8d14361337e608c8cdf165ea5034db5eda23b618 Gaia Date 2015-05-01 18:23:46 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/cb7cb6597c91 Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150504.041256 Firmware Date Mon May 4 04:13:14 EDT 2015 Bootloader HHZ12f Nexus_5 3.0(Unaffected): Build ID 20150504160201 Gaia Revision 70077825aab2c7a79611befb40a5fe7e610d5443 Gaia Date 2015-05-04 18:09:33 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/102d0e9aa9e1 Gecko Version 40.0a1 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150504.193136 Firmware Date Mon May 4 19:31:54 EDT 2015 Bootloader HHZ12f [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test
Attached video Bug video: 2347.MP4
From initial code inspection, it looks like model.foldersSlice is set up in the master branch where on v2.2, it is not, and that triggers a 'resetApp' message. v2.2 onBack for setup_acccount_info.js: https://github.com/jrburke/gaia/blob/v2.2/apps/email/js/cards/setup_account_info.js#L44 master onBack: https://github.com/jrburke/gaia/blob/4652ef4d51b499a82165e0e0553814c2c5eecb94/apps/email/js/cards/setup_account_info.js#L52 which is handled by the setupAccountCanceled message in mail_app.js: https://github.com/jrburke/gaia/blob/4652ef4d51b499a82165e0e0553814c2c5eecb94/apps/email/js/mail_app.js#L103 I have not traced it further, but master has had a reworking of the startup paths for email, so I would not expect an easy backport fix for 2.2 for this. And I think this is a minor issue: the Back action goes back to a card whose options are to go account setup (which they just left), or go to Inbox, and given that the user pressed Back, it is highly likely they wanted to go to Inbox.
qawanted for checking 2.1 behaviour, thank you.
Keywords: qawanted
This bug exsits on latest Flame2.1 and 2.1S(512M), Same STR with comment0 Rate: 5/5 Flame 2.1(Affected): Build ID 20150505001204 Gaia Revision b4a03b7ee61de5a479b3cf0916f47e91a43b0f50 Gaia Date 2015-04-30 21:31:55 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/4493015380ab Gecko Version 34.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150505.040609 Firmware Date Tue May 5 04:06:20 EDT 2015 Bootloader L1TC000118D0 2.1S(512M)(Affected): Build ID 20150505001205 Gaia Revision fea8cbf6d0ea3d7ad5ffc1aa91b7d0fc2d05d5c6 Gaia Date 2015-04-30 23:20:18 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/10dd289cfb77 Gecko Version 34.0 Device Name scx15_sp7715ea Firmware(Release) 4.4.2 Firmware(Incremental) 122 Firmware Date Thu Feb 5 12:42:58 CST 2015
Keywords: qawanted
Note: As a user, if I share an image from Gallery, whether share it successfully or not, I hope device will back to Gallery view, which will be convinient for user to do any other operations on this picture. Maybe I will share it by email, but I maynot wish to check other information of the Email, as my current focus is the operation on this picture. So in my opinion, the behaviour on 3.0 is more user friendly.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: