Closed Bug 403471 Opened 17 years ago Closed 17 years ago

Address and Search field text half-selected when clicking just inside field bounds

Categories

(Toolkit :: UI Widgets, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: asquithea, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007111104 Minefield/3.0b2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007111104 Minefield/3.0b2pre

Clicking just inside the search field will appear to select all the text ("Google"), but the focus will remain where it was. Clicking further into the field acts as designed (clears the search field) and appears to make the problem go away.

To demonstrate the problem, open a new window. The same issue can be reproduced slightly less consistently with the address bar.

Reproducible: Always

Steps to Reproduce:
1. Open a new window
2. Click just into white of the search field
Actual Results:  
The faded search provider ("Google") appears to be selected. Type some text and notice that the input goes to the last focused control.

Expected Results:  
The search provider should be cleared, and the caret should appear in the field.

Reproduce steps for the address bar are as given above, but completely restarting Firefox might be necessary.
Blocks: 393828
Status: UNCONFIRMED → NEW
Component: General → XUL Widgets
Ever confirmed: true
Keywords: regression
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Version: unspecified → Trunk
Flags: blocking1.9?
Attached patch patchSplinter Review
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #288302 - Flags: review?(mano)
Yep.
Comment on attachment 288302 [details] [diff] [review]
patch

r=mano
Attachment #288302 - Flags: review?(mano) → review+
Attachment #288302 - Flags: approval1.9?
Attachment #288302 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in toolkit/content/widgets/textbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/textbox.xml,v  <--  textbox.xml
new revision: 1.47; previous revision: 1.46
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: