Make sure that setting a preference, then quiting, results in the preference being saved

VERIFIED FIXED

Status

()

Firefox for Android
General
P3
normal
VERIFIED FIXED
6 years ago
9 months ago

People

(Reporter: nhirata, Assigned: mfinkle)

Tracking

unspecified
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox11 fixed, fennec11+)

Details

(Whiteboard: [testday-20111111])

1. go to the preferences and set to about:blank
2. hit back
3. explicitly quit the application by hitting the menu and selecting quit
4. relaunch

Expected: about:home
Actual: the last page that you are on.

Note: even if you force quit the application using settings, and relaunch you still show the last page you are on.

testbuild
OS: Mac OS X → Android
Hardware: x86 → ARM

Updated

6 years ago
Assignee: nobody → doug.turner

Comment 1

6 years ago
bugs related to our Quit feature.
Assignee: doug.turner → blassey.bugs

Comment 2

6 years ago
We use to rely on onXreExit() delaying System.exit().  Things may have changed using the window.close() approach, but not sure.  We should verify that setting a preference, then quiting, results in the preference being saved.
We could wait for Gecko to quit ("quit-application") and send a "Gecko:Quit" to Java, and then System.exit(0)
Assignee: blassey.bugs → mark.finkle
(Assignee)

Updated

6 years ago
Priority: -- → P3

Comment 4

6 years ago
You can't set the homepage right now, it fails with
E/GeckoPreferences(  717): invalid preference given to setPreference()

about:home is hardcoded. That's bug 696950.
It's a pity because about:home is completely broken. Bug 701380 will reimplement it in Java.

If you were seeing the last used page, that was the screenshot, which has been disabled a few days ago.

So I'd dupe this to bug 696950, but comment 2 mentions another bug.
Changing the summary accordingly.
Summary: Setting the home page doesn't show after explicitly quitting the application. → Make sure that setting a preference, then quiting, results in the preference being saved
Should be fixed now that "Quit" is fixed
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Samsung Galaxy SII (Android 2.3.4)
20111202040206
http://hg.mozilla.org/projects/birch/rev/e2a54aafac18
Status: RESOLVED → VERIFIED
So, the home page preference is still not being saved between quits...tested with 12/06 build.

Comment 8

6 years ago
That's bug 696950 - about:home is hardcoded.
Ask :bnicholson to unbitrot his patch...
tracking-fennec: --- → 11+
status-firefox11: --- → fixed
You need to log in before you can comment on or make changes to this bug.