Closed Bug 256201 Opened 20 years ago Closed 19 years ago

discoverability of Clear Search History is hard (add a context menu item)

Categories

(Firefox :: Search, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: chofmann, Assigned: p_ch)

References

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file, 3 obsolete files)

Jesse comments: doesn't "clear form information" do that anyway?
	
we do get lots of mail to webmaster and other "question/support" aliases on this.. 

tools | options | saved form information  [clear]

to clear form history seems tough for people to assoicate with the search bar...

googlebar for mozilla adds "clear history" on the drop down list, or right click
when hovering over the search bar might do the trick
Flags: blocking-aviary1.0PR+
Attached patch patch v1.0 (obsolete) — Splinter Review
This patch does the following:

- truely makes the searchbar an XBL widget, so that it will be easier to have
several searchbars at the same. (but unless there is a big request for it, I
don't plan to do it for 1.0)
- adds a 'Clear Search History' menuitem to the textbox context menu that
selectively removes the form history entries related with the search bar.
- focus (and eventually selects) the text box when an engine is selected (bug
253015)
- fixes ctrl-down regression (bug 256682)
- clears the text box not just after the user presses return, not after the
search page is loaded, but after the latter is unloaded (bug 253331).
- adds a menuseparator above "Add Engines..." (+capitalizes engine)
- more clean-up after the find in page removal.

I tested all the searchbar functionalities (search, shortcuts, engine
persistence, default engine, dnd in the textbox, pressing enter with no search
string, adding/selecting engines, ctrl-up, ctrl-down navigation, new/old
profile)
Comment on attachment 156868 [details] [diff] [review]
patch v1.0

bryner, could have a look to it, and at least review the satchel changes,
please?
Attachment #156868 - Flags: review?(bryner)
Whiteboard: [have patch] need bryner review
I don't see searchbar.properties in there...

>-#search-bar {
>+/* ::::: search-bar ::::: */
>+
>+search-bar {

searchbar
Comment on attachment 156868 [details] [diff] [review]
patch v1.0

I'm reviewing just the Satchel changes here:

- nameExists seems like a better name than isEmptyForName, because it works
similarly to entryExists.  In fact, it would be great if those could be the
same interface method or at least share an implementation.

- Similarly, I think removeEntriesForName() should share an implementation with
removeAllEntries().

The satchel changes look ok other than that but I'd like to see a revised
patch.
Attachment #156868 - Flags: review?(bryner) → review-
Whiteboard: [have patch] need bryner review → [have patch] needs rework
Attached patch patch v2.0 (obsolete) — Splinter Review
patch revised per bryner's and Dorando's comments.
Refactoring has a really good side effect: previous implementation of
EntryExists was returning an error code every time it didn't find a name paired
with a value.
Attachment #156868 - Attachment is obsolete: true
Comment on attachment 157463 [details] [diff] [review]
patch v2.0

requesting bryner's review for all the patch.
Attachment #157463 - Flags: review?(bryner)
Attached patch patch v2.1 (obsolete) — Splinter Review
minor class naming tweak
Attachment #157463 - Attachment is obsolete: true
Attachment #157463 - Flags: review?(bryner)
Attachment #157471 - Flags: review?(bryner)
Whiteboard: [have patch] needs rework → [have patch] needs rework - need review from ben and bryner
There's no way we need a patch this large to implement a feature as small as
clear search history at this stage in the game. Can't we get something simpler? 
Attached patch patch v2.2Splinter Review
same patch, without the part to clear the search bar when the result page is
unloaded.
Attachment #157471 - Attachment is obsolete: true
Attachment #157471 - Flags: review?(bryner)
Attachment #157982 - Flags: review?(bugs)
Attachment #157982 - Flags: approval-aviary?
Comment on attachment 157982 [details] [diff] [review]
patch v2.2

I'm OK with the chrome stuff... get bryner to look over the satchel stuff again
and r=me.
Attachment #157982 - Flags: superreview?(bryner)
Attachment #157982 - Flags: review?(bugs)
Attachment #157982 - Flags: review+
Attachment #157982 - Flags: superreview?(bryner) → superreview+
Comment on attachment 157982 [details] [diff] [review]
patch v2.2

a=ben@mozilla.org
Attachment #157982 - Flags: approval-aviary? → approval-aviary+
ETA: tuesday morning.
fixed on branch
Keywords: fixed-aviary1.0
Whiteboard: [have patch] needs rework - need review from ben and bryner
I think the patch caused bug 258359.
confirmed fixed on Windows Firefox Branch 2004-09-10-08-0.9 and Mac Firefox
Branch 2004-09-10-07-0.9
This patch seems to have something to do with bug 258943 (crash on OS X when
opening a new window using window.open()). See the first two points of bug
258943 comment 36, and bug 258943 comment 40.
Currently, people go to Tools>Options>Privacy to clear the history of everything
BUT the search history.

Having to also go to the search bar specifically to clear the search history
doesn't seem to make a lot of sense.

Why not add "Clear Search History" to the list of options under
Tools>Options>Privacy?

Thanks!
*** Bug 240331 has been marked as a duplicate of this bug. ***
Fixed on trunk by the aviary landing.
Status: NEW → RESOLVED
Closed: 19 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Summary: discoverability of clear search history is hard... → discoverability of Clear Search History is hard (add a context menu item)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: