Closed
Bug 504691
Opened 17 years ago
Closed 16 years ago
Don't autocomplete search bookmarklets
Categories
(Camino Graveyard :: Location Bar & Autocomplete, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino2.1
People
(Reporter: stuart.morgan+bugzilla, Assigned: dan.j.weber)
References
Details
Attachments
(1 file, 1 obsolete file)
|
914 bytes,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
We shouldn't autocomplete search bookmarklets (bookmarks with %s in their URL). Many don't do anything useful if picked from the results list. There are probably examples where people could theoretically want them (e.g., a search engine where an empty search goes to the front page), but for that people can just add a second bookmark.
Example STR:
1) Have a search bookmarklet for https://bugzilla.mozilla.org/show_bug.cgi?id=%s
2) Type "bugzilla" in your location bar, wanting a history item
3) Be sad that the first item is a bookmark you can't do anything useful with
Blocks: 495490
Attachment #389249 -
Flags: review?(stuart.morgan+bugzilla)
| Reporter | ||
Comment 2•17 years ago
|
||
Comment on attachment 389249 [details] [diff] [review]
Patch 1
This looks good, but thinking ahead to having more complexity in this method when title search is added, maybe it would be clearer as:
// Never autocomplete with search bookmarklets
if (<your test>)
return NO;
<remainder of the logic>
Attachment #389249 -
Flags: review?(stuart.morgan+bugzilla) → review+
| Reporter | ||
Comment 3•17 years ago
|
||
Can you post an updated patch here for superreview?
(In reply to comment #3)
> Can you post an updated patch here for superreview?
Dan: ping ;) Let's get this one in!
Whiteboard: [needs new patch for sr]
Target Milestone: --- → Camino2.1
This is the lost patches shepherd, helping patches find their way into the tree.
This is Dan's patch with smorgan's review comment addressed and also unbitrotted (title searches are a reality now).
Attachment #389249 -
Attachment is obsolete: true
Attachment #439317 -
Flags: superreview?(mikepinkerton)
Updated•16 years ago
|
Attachment #439317 -
Flags: superreview?(mikepinkerton) → superreview+
Comment 6•16 years ago
|
||
Comment on attachment 439317 [details] [diff] [review]
Patch 1.1
sr=pink
http://hg.mozilla.org/camino/rev/843d069a19a3 (missed the bug number :( ) and cvs trunk.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [needs new patch for sr]
:sigh: and http://hg.mozilla.org/camino/rev/8b65e705feea where I backed out the part of hendy's patch that accidentally landed with it. Not my day (but at least there's a sort-of reference to the bug number now :P ).
You need to log in
before you can comment on or make changes to this bug.
Description
•