Closed Bug 352764 Opened 18 years ago Closed 16 years ago

Icons in the location bar show the text (or other non-arrow) cursor when mousing in from outside the location bar

Categories

(Camino Graveyard :: Location Bar & Autocomplete, defect)

All
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: chris)

Details

(Keywords: polish)

Attachments

(1 file, 1 obsolete file)

From bug 352293:

------- Comment #5 From Stuart Morgan  2006-09-14 07:21 PDT -------

r=me with that change. I find it to only be really reliable if you mouse over
the icon starting from the text area of the location bar, but that's the same
behavior I see with the proxy icon. Is there a bug tracking that issue?  If
not, someone should file one.

--

Yeah, if you come in from the side that's another toolbar item, or above/below, you don't get the arrow cursor on any of the three (favicon, lock, feed)....

1.1 for now, but an early candidate for kicking if nothing materializes....
Target Milestone: Camino1.1 → Camino1.2
Target Milestone: Camino1.6 → ---
Attached patch Fix v1.0 (obsolete) — Splinter Review
Patch that overrides the resetCursorRects method in AutoCompleteTextField. Grabs the field's bounds, shrinks them to exclude the icons on each end, then sets the remaining space to have an I-beam cursor.
Assignee: nobody → trendyhendy2000
Status: NEW → ASSIGNED
Attachment #336569 - Flags: review?
Attached patch Fix v1.1Splinter Review
Realised that since I was taking the logic straight from a related method, I could just call that method instead. Makes this method more future-proof, if we add any more icons.
Attachment #336569 - Attachment is obsolete: true
Attachment #336569 - Flags: review?
Comment on attachment 336572 [details] [diff] [review]
Fix v1.1

r=me. This looks good and works as advertised.
Attachment #336572 - Flags: review+
Hardware: Macintosh → All
Attachment #336572 - Flags: superreview?(stuart.morgan+bugzilla)
Attachment #336572 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment on attachment 336572 [details] [diff] [review]
Fix v1.1

Nice! sr=smorgan
Landed on cvs trunk.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: