Closed Bug 426864 Opened 16 years ago Closed 15 years ago

Only show user typed history pages for the urlbar dropdown

Categories

(Toolkit :: Places, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: al_9x, Assigned: Mardak)

References

Details

(Keywords: fixed1.9.1)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

You can access bookmarks from the toolbar, sidebar, menu, but the typed url history is only available from the urlbar dropdown, so there should be an option to not pollute it with bookmarks.

I wasn't sure if Bug 422944 covers this request, as it talks about search results which is not necessarily the same as the deafault dropdown

Reproducible: Always
Severity: normal → enhancement
Per Bug 426924, urls from history that were not user entered, should also be kept out.  Just as with bookmarks you can see history elsewhere (sidebar).  If you conflate everything then a useful feature, user entered url history, is lost.
Summary: need option to not display bookmarks in the urlbar dropdown → option needed to keep bookmarks and non user typed history from the urlbar dropdown
Can anyone from Mozilla comment on this?  Is there any workaround? Searching all available urls makes sense and is an enhancement but showing everything when dropping down is not an enhancement, it's a loss of user entered URL history.
The history being shown in autocomplete spoils the feature completely for me as you end up with a lot of long useless urls from sites. I am currently using browser.urlbar.matchOnlyTyped, however it would be much better if i could have my bookmarks show up too.
Status: UNCONFIRMED → NEW
Component: Location Bar and Autocomplete → Places
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Toolkit
QA Contact: location.bar → places
Hardware: PC → All
Summary: option needed to keep bookmarks and non user typed history from the urlbar dropdown → Only show user typed history pages for the urlbar dropdown
Version: unspecified → Trunk
Depends on: 463483
Attached patch v1 (obsolete) — Splinter Review
Bug 463483 provides a restrict for typed pages, so use it to find typed pages with visit count > 0.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #346744 - Flags: review?(mak77)
Comment on attachment 346744 [details] [diff] [review]
v1

first-pass:

   mRestrictTyped = mAutoCompleteOnlyTyped;
+  

nit: trailing space

this needs a test though
Attachment #346744 - Flags: review?(mak77)
(In reply to comment #6)
> Created an attachment (id=346744) [details]
> v1
> 
> Bug 463483 provides a restrict for typed pages, so use it to find typed pages
> with visit count > 0.

Can you please confirm if the proposed solution applies to non search drop down?  i.e. is the meaning of mCurrentSearchTokens.Count() == 0, that you are not searching and just dropping down?

Is there a new option for this?
Attached patch v2Splinter Review
Add tests and change to explicitly check for empty original search. Tests failed for special searches that ended up with removed tokens if we check after processing.
Attachment #346744 - Attachment is obsolete: true
Attachment #346845 - Flags: review?(dietrich)
Talked to beltzner on IRC and he said that this should be the behavior when clicking on the dropdown button. Could possibly make it for RC1.

I'll need to rework the patch here and in bug 463483 if we're not targeting bug 463459 for rc1.
Target Milestone: --- → mozilla1.9.1
Attachment #346845 - Flags: review?(dietrich) → review+
Priority: -- → P3
http://hg.mozilla.org/mozilla-central/rev/5a68110f39c1
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: mozilla1.9.1 → mozilla1.9.2a1
Attachment #346845 - Flags: approval1.9.1?
Depends on: 472978
Comment on attachment 346845 [details] [diff] [review]
v2

a191=beltzner
Attachment #346845 - Flags: approval1.9.1? → approval1.9.1+
No longer depends on: 472978
clearing history should clear the "typed" flag on bookmarked urls, otherwise if you open a bookmark with typed flag (after clearing history) it starts showing up in the urlbar drop down.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #17)
> clearing history should clear the "typed" flag on bookmarked urls, otherwise if
> you open a bookmark with typed flag (after clearing history) it starts showing
> up in the urlbar drop down.
Then you should file a new bug for that behavior instead of changing the scope of your initial report long after it was fixed.
Status: REOPENED → RESOLVED
Closed: 16 years ago15 years ago
Resolution: --- → FIXED
(In reply to comment #18)
> (In reply to comment #17)
> > clearing history should clear the "typed" flag on bookmarked urls, otherwise if
> > you open a bookmark with typed flag (after clearing history) it starts showing
> > up in the urlbar drop down.
> Then you should file a new bug for that behavior instead of changing the scope
> of your initial report long after it was fixed.

Bug 519830
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: