Closed
Bug 707150
Opened 14 years ago
Closed 14 years ago
Add mechanism to enable/disable Fennec's local bookmarks/history DB
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox11 fixed, firefox13 verified)
VERIFIED
FIXED
Firefox 12
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
(Keywords: feature)
Attachments
(2 files)
|
1.64 KB,
patch
|
blassey
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
1.59 KB,
patch
|
blassey
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•14 years ago
|
||
Context: we've decided to ship Fennec using local DB by default. This bug is about deciding how we're going to expose the ability to use Android's DB to users.
| Assignee | ||
Comment 2•14 years ago
|
||
Guys, my initial plan is to add a checkbox prefs to switch Android DB on and off. The wording should be something like "Use bookmarks/history from Android" or "Use system's bookmarks/history". Not entirely happy the wording yet. What do you think?
Updated•14 years ago
|
Priority: -- → P5
Comment 3•14 years ago
|
||
Using a checkbox doesn't make it clear what the other option is, i.e. what happens if you don't "Use bookmarks/history from Android". Not using bookmarks at all or what?
(On Android, some checkboxes change their description when toggled, but it's often not clear whether it describes the current state or the action).
I'd suggest a dropdown menu, something like this:
Bookmarks and History store:
- Android (shared with other apps)
- Firefox
Comment 4•14 years ago
|
||
(In reply to Steffen Wilberg from comment #3)
> Using a checkbox doesn't make it clear what the other option is, i.e. what
> happens if you don't "Use bookmarks/history from Android". Not using
> bookmarks at all or what?
> (On Android, some checkboxes change their description when toggled, but it's
> often not clear whether it describes the current state or the action).
>
> I'd suggest a dropdown menu, something like this:
> Bookmarks and History store:
> - Android (shared with other apps)
> - Firefox
I think this is a better direction. Still not sure we even want to enable using Android system for v1 (yeah I said it)
| Assignee | ||
Comment 5•14 years ago
|
||
One-liner to enable local DB. This patch should only land once bug 708651 and bug 690901 are fixed. Otherwise Fennec will simply crash on when you run it for the first time with no existing profile.
Attachment #581374 -
Flags: review?(blassey.bugs)
Updated•14 years ago
|
Attachment #581374 -
Flags: review?(blassey.bugs) → review+
| Assignee | ||
Comment 6•14 years ago
|
||
This is a high priority bug as it's about enabling a core feature for 1.0. The profile directory is now created in Java so we can enable local DB now.
Assignee: nobody → lucasr.at.mozilla
Priority: P5 → P1
| Assignee | ||
Comment 7•14 years ago
|
||
| Assignee | ||
Comment 8•14 years ago
|
||
The comparison "== 1" when IS_FOLDER is null is causing a NullPointerException somehow. This patch fixes a regression caused by the patch in bug 716811.
Attachment #587767 -
Flags: review?(blassey.bugs)
Updated•14 years ago
|
Attachment #587767 -
Flags: review?(blassey.bugs) → review+
| Assignee | ||
Comment 9•14 years ago
|
||
| Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 587767 [details] [diff] [review]
Fix NullPointerException when getting IS_FOLDER
Fixes a ClassCastException and NullPointerException (caused by bug 716811). Adding bookmarks is broken without this patch. Small non-risky patch.
Attachment #587767 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 581374 [details] [diff] [review]
Enable local bookmarks/history database
Enables local DB for bookmarks and history. Hard requirement for 1.0 as Sync on native UI is only implemented for local DB (not for Android DB). Needs to be enabled as soon as possible for general testing.
Attachment #581374 -
Flags: approval-mozilla-aurora?
Comment 12•14 years ago
|
||
Leaving this in the queue to watch for fallout tomorrow on m-c.
Comment 14•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/87b138f5e782
https://hg.mozilla.org/mozilla-central/rev/e897ce426615
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Comment 15•14 years ago
|
||
What's the UI interaction here? Or is there none?
| Assignee | ||
Comment 16•14 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #15)
> What's the UI interaction here? Or is there none?
No UI interaction. However, one way to verify this is working is to do any set of operations that involve DB access:
- Add and remove bookmarks and see if it appears in awesomescreen's Bookmarks tab
- Access any webpage and see if it appears in awesomescreen's History tab
- Filter results in awesomescreen's search entry
- Clear history
- And so on.
Comment 17•14 years ago
|
||
Comment on attachment 581374 [details] [diff] [review]
Enable local bookmarks/history database
[Triage Comment]
Mobile only - approving for Aurora.
Attachment #581374 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•14 years ago
|
Attachment #587767 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 18•14 years ago
|
||
Pushed to mozilla-aurora:
https://hg.mozilla.org/releases/mozilla-aurora/rev/15bbd03602a4
https://hg.mozilla.org/releases/mozilla-aurora/rev/54a65a510142
status-firefox11:
--- → fixed
Comment 19•14 years ago
|
||
Verified fixed on:
Firefox 13.0a1 (2012-03-02)
20120302031112
http://hg.mozilla.org/mozilla-central/rev/3a7b9e61c263
--
Device: Samsung Galaxy S2
OS: Android 2.3.4
Status: RESOLVED → VERIFIED
status-firefox13:
--- → verified
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•