Closed
Bug 525467
Opened 16 years ago
Closed 15 years ago
URL-bar remains orange-highlighted, even when it is not focused
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(fennec1.0b1-wm+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 1.0b1-wm+ | --- |
People
(Reporter: crowderbt, Assigned: stechz)
References
Details
Attachments
(1 file)
|
681 bytes,
patch
|
mfinkle
:
review-
|
Details | Diff | Splinter Review |
I think the highlighting should go away as soon as typing focus leaves the URL-bar area.
Comment 1•16 years ago
|
||
I see this after double tapping to zoom. Ben, any ideas?
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → webapps
| Assignee | ||
Comment 2•16 years ago
|
||
Since browser UI listens for window and urlbar mousedowns, check for target.
Attachment #409444 -
Flags: review?(mark.finkle)
Comment 3•16 years ago
|
||
Comment on attachment 409444 [details] [diff] [review]
Check target for mousedown
> if (aEvent.detail == 2 &&
> aEvent.button == 0 &&
>+ aEvent.target == this._edit &&
> gPrefService.getBoolPref("browser.urlbar.doubleClickSelectsAll")) {
> this._edit.editor.selectAll();
> aEvent.preventDefault();
We add the mousedown listener to the editare, not just the textbox itself. The editarea is the white box around the textbox. We should test for it too.
You might be able to use one of the many event.xxxTarget properties to find the editarea element alone, or just add it to the check.
Also, at this point, I'd be happy if the if check was brkeon inot nested if statements. It's getting too big and hairy.
Attachment #409444 -
Flags: review?(mark.finkle) → review-
Updated•16 years ago
|
tracking-fennec: --- → ?
Updated•16 years ago
|
tracking-fennec: ? → 1.0b1-wm+
Comment 5•15 years ago
|
||
fixed by bug 557619
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
Verifixed fixed, using:
Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.3a5pre) Gecko/20100420 Namoroka/3.7a5pre Fennec/1.1a2pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•