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)

defect
Not set
normal

Tracking

(fennec1.0b1-wm+)

VERIFIED FIXED
Tracking Status
fennec 1.0b1-wm+ ---

People

(Reporter: crowderbt, Assigned: stechz)

References

Details

Attachments

(1 file)

I think the highlighting should go away as soon as typing focus leaves the URL-bar area.
I see this after double tapping to zoom. Ben, any ideas?
Assignee: nobody → webapps
Since browser UI listens for window and urlbar mousedowns, check for target.
Attachment #409444 - Flags: review?(mark.finkle)
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-
tracking-fennec: --- → ?
tracking-fennec: ? → 1.0b1-wm+
fixed by bug 557619
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: