Closed Bug 395642 Opened 17 years ago Closed 16 years ago

make clear button in Applications prefpane be "x" button inside search field

Categories

(Firefox :: Settings UI, defect, P4)

defect

Tracking

()

VERIFIED FIXED
Firefox 3.1a2

People

(Reporter: myk, Assigned: dao)

References

Details

Attachments

(1 file)

faaborg's review in bug 377784, comment 45 says that the clear button in the Applications prefpane should become an "x" button inside the search field on the right-hand side.

This bug is specific to that search field, but mconnor further notes in bug 377784, comment 46 that "We need the search textbox widget to do all of this instead of continuously reinventing this wheel," so maybe this bug should depend on another bug that implements this functionality generically.
Depends on: 377784
Assignee: nobody → myk
Priority: -- → P2
Target Milestone: --- → Firefox 3 M9
Depends on: 388811
Requesting wanted-1.9 for this Applications prefpane polish fix.
Flags: blocking-firefox3?
Flags: blocking-firefox3? → blocking-firefox3-
Whiteboard: [wanted-firefox3]
Not blocking, so lower priority.
Priority: P2 → P4
Target Milestone: Firefox 3 M9 → Firefox 3 M11
Flags: wanted-firefox3+
Whiteboard: [wanted-firefox3]
Dao still plans to get to 388811 in the Fx3 timeframe, after which it'll be trivial to fix this bug.
Target Milestone: Firefox 3 beta3 → Firefox 3
Attached patch patchSplinter Review
Assignee: myk → dao
Status: NEW → ASSIGNED
Attachment #332438 - Flags: review?(myk)
Comment on attachment 332438 [details] [diff] [review]
patch

This looks perfect, but for some reason it isn't working.  A bit of preliminary investigation reveals that the command handler isn't getting called once I stop typing in the field, but it's not clear why.  No errors show up in the console.
Attachment #332438 - Flags: review?(myk) → review-
Myk, it looks like something messed-up in your profile? I tried the tryserver build from Dao and it works perfectly for me. The x button is visible after I have pressed the first key. 
Target Milestone: Firefox 3 → ---
(In reply to comment #6)
> Myk, it looks like something messed-up in your profile? I tried the tryserver
> build from Dao and it works perfectly for me. The x button is visible after I
> have pressed the first key. 

I applied the patch, but I haven't pulled for a few days.  I bet I don't have the code that implements the type="search" textbox.  D'oh!  Fixing...
Component: File Handling → Preferences
QA Contact: file.handling → preferences
Attachment #332438 - Flags: review- → review?(myk)
Comment on attachment 332438 [details] [diff] [review]
patch

(In reply to comment #7)
> I applied the patch, but I haven't pulled for a few days.  I bet I don't have
> the code that implements the type="search" textbox.  D'oh!  Fixing...

Yup, that was the problem.  Sorry for the confusion.  This patch looks great.  r=myk
Attachment #332438 - Flags: review?(myk) → review+
http://hg.mozilla.org/index.cgi/mozilla-central/rev/df933c713700
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1a2
Verified with:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/20080808120213 Minefield/3.1a2pre ID:20080808120213

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080808031528 Minefield/3.1a2pre ID:20080808031528
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: