Addon menuitems aren't remembered with don't keep activities set

RESOLVED INACTIVE

Status

()

Firefox for Android
General
RESOLVED INACTIVE
5 years ago
7 hours ago

People

(Reporter: wesj, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
We're loosing our array of menu items whenever the main activity disappears. We should store it in a static variable so that it can live forever.
Fyi, I tried this real quick ... if you set |don't keep activities|, then

Start FF
Wait for Addons to load
Hit back to Exit out
Start FF (again)

not only did my addons dissapear but my Top Sites tiles won't load. It looks like it goes through a cycle of something like the below...
...
=== Hit back to Exit out ===
AboutHome.onDestroyView()
TopSitesView.onDestroy()
AboutHome.onDetach()
=== Start FF (again) ===
AboutHome.onAttach()
AboutHome.onCreate()
BrowserApp.onCreate()
...
So two issues, the original bug with addons, and TopSites getting lost during fast stop / starts ...

The latter looks like http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/widget/TopSitesView.java#206 is silently failing, maybe if the view is not attached to a window when the post is done ...?

Updated

5 years ago
Duplicate of this bug: 948214

Comment 4

7 hours ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 7 hours ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.