Closed Bug 1163930 Opened 9 years ago Closed 9 years ago

[Homescreen]The rocket icon on homescreen is not updated after the device connects captive portal wifi and then restarts device.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

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

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

People

(Reporter: lixia, Unassigned)

References

Details

(Keywords: regression)

Attachments

(8 files)

[1.Description]:
[Flame v3.0][Homescreen]Add a bookmark icon to homescreen under no-network environment, the icon will be shown as a rocket icon. Then connect to a wifi, and restart device. The bookmark icon is not updated to its website icon.

Attachments:bookmark_icon.mp4, before_reboot_logcat_2234.txt,after_reboot_logcat_2254.txt and after_reboot.png.
Found time: 22:54

[2.Testing Steps]: 
1. Add a bookmark displayed as  rocket icon to homescreen.
2. Connect to a wifi. 
3. Open a website, it will redirect to the Authentication page, then login with valid account and password. 
4. Check the bookmark icon.
5. Restart device and check the icon again.

[3.Expected Result]: 
4&5. The bookmark icon will be updated from rocket icon to its website icon.

[4.Actual Result]: 
4&5. The bookmark icon is not updated and still shown as rocket icon on homescreen.

[5.Reproduction build]: 
Device: Flame v2.1 build(unaffected)
Build ID               20150511001203
Gaia Revision          3e7bd686ecd852f4dfa4605b45f558e6bd34f02a
Gaia Date              2015-05-07 15:12:34
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/de4ebfdc7db6
Gecko Version          34.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150511.033924
Firmware Date          Mon May 11 03:39:35 EDT 2015
Bootloader             L1TC000118D0

Device: Flame v2.2 build(unaffected)
Build ID               20150510002505
Gaia Revision          528ef60e7cda09ad43478065f5d33bda398fbeb7
Gaia Date              2015-05-08 23:40:58
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/8d04cc085cf5
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150510.042512
Firmware Date          Sun May 10 04:25:23 EDT 2015
Bootloader             L1TC000118D0

Device: Flame v3.0 build(affected)
Build ID               20150510010201
Gaia Revision          5b2a150f6f5d29bddfaac13fcbbf099376f2f275
Gaia Date              2015-05-09 12:34:41
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/77d92f6d7679
Gecko Version          40.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150510.045933
Firmware Date          Sun May 10 04:59:44 EDT 2015
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
Always Recurrence,10/10

[7.TCID]: 
Free Test

[8.Note]:
1.In step 2,if you connect a general wifi,the icon will be updated successfully.
2.After step 5,if you long tap the icon and go to editing view,it shows its correct icon on editing view(please see: after_reboot.png).
3.On Flame v2.1&2.2,the bookmark icon will be updated successfully after step 5.
Chris, is this what you are seeing?
Flags: needinfo?(chrislord.net)
Attached image after_reboot.png
According to https://bugzilla.mozilla.org/show_bug.cgi?id=1150495#c28, this bug is filed, but they are different bug.
See Also: → 1150495
Attached video bookmark_icon.mp4
According to the description this looks like it could be a regression. Is it possible to get a regression window here?
I was unable to reproduce this issue on a build from today.  Leaving the tag so someone else can give it a try.

Environmental Variables:
Device: Flame 3.0
BuildID: 20150512071241
Gaia: 3654ec1d7ce1e0a56a34d5c3b06f6a9b33ff79ad
Gecko: bedce1b405a3
Version: 41.0a1 (3.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Flags: needinfo?(ktucker)
Flags: needinfo?(ktucker)
Hi Gerry, Could you try to reproduce, thanks.
Flags: needinfo?(gchang)
I try to repro this bug on today's build of Flame v3.0 using the bookmark ("http://3g.163.com/x/" ,or "www.baidu.com"),sometimes I can repro it (Rate:2/5). 

Result: After restarting device, the bookmark icon is not updated.Sometimes when I restart device again,the icon is updated successfully.


------------------------------------------------------------------------------------------------
And I can repro this bug on the earliest build of Flame v3.0 by the STR in Comment 0. 

Results: After restarting device, the bookmark icon was not updated even if I could browser the website in Browser app.

Device:Flame v3.0(the earliest build,afffected,shallow flash)
Build ID               20150112130445
Gaia Revision          9946a490a9264b42e65385d703b28fa055ab2d42
Gaia Date              2015-01-12 20:31:05
Gecko Revision         https://hg.mozilla.org/integration/b2g-inbound/rev/9a58c29070d5
Gecko Version          38.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150325.191758
Firmware Date          Wed Mar 25 19:18:07 EDT 2015
Bootloader             L1TC000118D0
QA Contact: lixia
Add today's Flame v3.0 build version:

Build ID               20150512160203
Gaia Revision          3654ec1d7ce1e0a56a34d5c3b06f6a9b33ff79ad
Gaia Date              2015-05-12 05:13:33
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/42db79f3cd6b
Gecko Version          41.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150512.192015
Firmware Date          Tue May 12 19:20:26 EDT 2015
Bootloader             L1TC000118D0
Hi Hermes,
Can you help to dispatch?
Flags: needinfo?(gchang) → needinfo?(hcheng)
QA Whiteboard: [MGSEI-Triage+]
I think the reason is WIFI hotspot, but I don't have that kind of environment for this test.
Wait for Chris' response.
Flags: needinfo?(hcheng)
QAnalysts don't have a captive portal available for testing. I tried with a normal wifi hotspot and couldn't repro the issue (at step 4 and step 5 I see the updated icon).

Adding keyword to exclude this bug in our queries.
QA Whiteboard: [MGSEI-Triage+] → [MGSEI-Triage+], [QAnalyst-Triage?], QAExclude
Flags: needinfo?(ktucker)
QA Whiteboard: [MGSEI-Triage+], [QAnalyst-Triage?], QAExclude → [MGSEI-Triage+], [QAnalyst-Triage+], QAExclude
Flags: needinfo?(ktucker)
This wasn't the bug I'm seeing, but the bug I'm seeing I've certainly not experienced in a really long time, so the fix that got checked in almost certainly fixed it. I'm also pretty confident that it doesn't affect the new homescreen (I think there may also be marionette tests that guard against it now? I'm not certain of that though).
Flags: needinfo?(chrislord.net)
I can't repro this bug on latest Flame KK v2.5, but can repro it on latest Aries KK v2.5 by the STR in comment 0.

Actual results: 
(1)On Flame KK v2.5 (Rate:0/10):
After step 4, the bookmark icon is not updated from rocket icon to its website icon.
After step 5, the bookmark icon is updated from rocket icon to its website icon.

(2)On Aries KK v2.5 (Rate:6/6):
After step 4, the bookmark icon is not updated from rocket icon to its website icon.
After step 5, the bookmark icon is not updated from rocket icon to its website icon anyhow, unless you add a new bookmark to homescreen and give up/delete the old bookmark icon. When you open the old bookmark icon, the browser will allow you to add the bookmark to homescreen again.


See attachments: (unaffected)Flame_v2.5.3gp, Aries_v2.5.3gp, logcat_Aries2.5_AfterReboot.txt and logcat_Aries2.5_beforeReboot.txt.


Note: 
I can't do the regression on Aries device, leaving "regressionwindow-wanted", waiting for other people trying to find the broken window, thanks.


--------------------------------------------------------------------------
Device: Flame KK 2.5 (unaffected)
Build ID               20150901150204
Gaia Revision          c2582f4be03cd12124b96a263c8d14c774f0ffe4
Gaia Date              2015-09-01 17:03:45
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/e47423c019643792e6de894cfcee598dead4d3ba
Gecko Version          43.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150901.182949
Firmware Date          Tue Sep  1 18:30:04 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Aries KK 2.5 (affected)
Build ID               20150901190039
Gaia Revision          c2582f4be03cd12124b96a263c8d14c774f0ffe4
Gaia Date              2015-09-01 17:03:45
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/e47423c019643792e6de894cfcee598dead4d3ba
Gecko Version          43.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150901.182105
Firmware Date          Tue Sep  1 18:21:13 UTC 2015
Bootloader             s1
QA Contact: lixia
Attached video Aries_v2.5.3gp
Summary: [Flame][Homescreen]The rocket icon on homescreen is not updated after the device connects captive portal wifi and then restarts device. → [Homescreen]The rocket icon on homescreen is not updated after the device connects captive portal wifi and then restarts device.
Mass update: Resolve wontfix all issues with legacy homescreens.

As of 2.6 we have a new homescreen and having these issues open is confusing. All issues will block bug 1231115 so we can use that to re-visit any of these if needed.
Blocks: 1231115
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: