Closed
Bug 707711
Opened 14 years ago
Closed 13 years ago
No way to delete bookmarks
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(firefox11 affected, firefox13 verified, fennec11+)
VERIFIED
FIXED
Firefox 12
People
(Reporter: samth, Assigned: mkohler)
References
Details
Attachments
(1 file)
|
5.40 KB,
patch
|
mfinkle
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
If a bookmarked page redirects to another url, it's very difficult to remove the bookmark. You have to hit the "menu" button prior to the redirect/url change.
Updated•14 years ago
|
OS: Linux → Android
Hardware: x86 → ARM
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•14 years ago
|
Keywords: testcase-wanted
| Reporter | ||
Comment 1•14 years ago
|
||
Here's a test case: the HTC Sensation on T-Mobile ships with a default bookmark of http://home.web2go.com/ which redirects as described. Unfortunately, this site only works on the T-Mobile cellular network, so it's not a general test case.
Updated•14 years ago
|
Priority: -- → P3
Comment 2•14 years ago
|
||
Let's add a context menu with a "Remove" action for the bookmark list
Assignee: nobody → sriram
Comment 3•14 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #2)
> Let's add a context menu with a "Remove" action for the bookmark list
Isn't the right fix to check original URL to decide whether the final URL is a bookmark or not?
Updated•14 years ago
|
tracking-fennec: --- → 11+
Updated•14 years ago
|
Summary: No way to delete bookmarks that redirect → No way to delete bookmarks
| Reporter | ||
Comment 5•14 years ago
|
||
mfinkle, as far as I can see, it's still possible to delete bookmarks in Aurora by going to the relevant page using the context menu, which has a button labeled "Remove".
Comment 6•14 years ago
|
||
(In reply to Sam Tobin-Hochstadt from comment #5)
> mfinkle, as far as I can see, it's still possible to delete bookmarks in
> Aurora by going to the relevant page using the context menu, which has a
> button labeled "Remove".
Correct, but this is really not an acceptable way to remove bookmarks. We need a "Remove" context menu on the Bookmark list.
(In reply to Lucas Rocha (:lucasr) from comment #3)
> (In reply to Mark Finkle (:mfinkle) from comment #2)
> > Let's add a context menu with a "Remove" action for the bookmark list
>
> Isn't the right fix to check original URL to decide whether the final URL is
> a bookmark or not?
This would be an approach to _stop_ redirects from ending up in the bookmark list to begin with, but I don't know how feasible this approach would be to implement.
| Assignee | ||
Comment 7•14 years ago
|
||
Sriram, are you working on a patch? I'd be happy to provide a patch.
Comment 8•14 years ago
|
||
(In reply to Michael Kohler [:michaelkohler] from comment #7)
> Sriram, are you working on a patch? I'd be happy to provide a patch.
Michael, a patch would be great. Thank you
| Assignee | ||
Updated•14 years ago
|
Assignee: sriram → michaelkohler
Comment 9•13 years ago
|
||
Michael
You should be able to remove a bookmark using:
BrowserDB.removeBookmark(resolver, getURL());
Like we do here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/Tab.java#437
| Assignee | ||
Comment 10•13 years ago
|
||
Attachment #588769 -
Flags: review?(mark.finkle)
Comment 11•13 years ago
|
||
Comment on attachment 588769 [details] [diff] [review]
Patch v1
>diff -r 823072af2430 mobile/android/base/resources/menu/awesomebar_contextmenu.xml
>+ <item android:id="@+id/remove_bookmark"
>+ android:title="@string/contextmenu_remove_bookmark"/>
>
> <item android:id="@+id/share"
> android:title="@string/contextmenu_share"/>
>
> <item android:id="@+id/add_to_launcher"
> android:title="@string/contextmenu_add_to_launcher"/>
Looks right to me. The only changes I want to make is to move "Share" above "Remove Bookmark", and to use "Remove" as the text. This matches the XUL design.
I can make those changes when I land this.
Thanks!
Attachment #588769 -
Flags: review?(mark.finkle) → review+
Comment 12•13 years ago
|
||
| Assignee | ||
Comment 13•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #12)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/1007541442b5
Mark, do we want this in Aurara too? (just thinking about string freeze) I think this is pretty low-risk.
Comment 14•13 years ago
|
||
(In reply to Michael Kohler [:michaelkohler] from comment #13)
> (In reply to Mark Finkle (:mfinkle) from comment #12)
> > https://hg.mozilla.org/integration/mozilla-inbound/rev/1007541442b5
>
> Mark, do we want this in Aurara too? (just thinking about string freeze) I
> think this is pretty low-risk.
Yes, I'd like it in Aurora. I was just waiting for it to land on m-c before requesting. As for the string issue, we'd like to get as many strings as possible landed by Jan 17th.
Updated•13 years ago
|
status-firefox11:
--- → affected
status-firefox12:
--- → affected
Comment 15•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Comment 16•13 years ago
|
||
Should this request approval then?
Comment 17•13 years ago
|
||
Comment on attachment 588769 [details] [diff] [review]
Patch v1
[Triage Comment]
We want this on aurora, sooner rather than later for l10n. Its been on trunk for 4 days, no issues so far.
Attachment #588769 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 18•13 years ago
|
||
(In reply to Brad Lassey [:blassey] from comment #17)
> Comment on attachment 588769 [details] [diff] [review]
> Patch v1
>
> [Triage Comment]
> We want this on aurora, sooner rather than later for l10n. Its been on trunk
> for 4 days, no issues so far.
please keep in mind that the patch v1 was changed before checkin (see comment 11). I'm on mobile now, so I can't attach a correct patch. Mark, could you do that for me?
Comment 19•13 years ago
|
||
(In reply to Michael Kohler [:michaelkohler] from comment #18)
> (In reply to Brad Lassey [:blassey] from comment #17)
> > Comment on attachment 588769 [details] [diff] [review]
> > Patch v1
> >
> > [Triage Comment]
> > We want this on aurora, sooner rather than later for l10n. Its been on trunk
> > for 4 days, no issues so far.
>
> please keep in mind that the patch v1 was changed before checkin (see
> comment 11). I'm on mobile now, so I can't attach a correct patch. Mark,
> could you do that for me?
We'll use the code landed in HG, not the patch on bugzilla. Things should be fine.
Updated•13 years ago
|
status-firefox12:
affected → ---
Comment 20•13 years ago
|
||
Verified fixed on:
Nightly Fennec 13.0a1 (2012-03-05)
Device: HTC Desire Z
OS: Android 2.3.3
Testcase added in litmus in BFT bookmarks
https://litmus.mozilla.org/show_test.cgi?id=50508
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
•