Closed Bug 504874 Opened 14 years ago Closed 13 years ago

[10.4] Match 10.4 menu highlighting in location bar autocomplete

Categories

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

All
macOS
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Camino2.1

People

(Reporter: stuart.morgan+bugzilla, Assigned: dan.j.weber)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

It would be nice if we used 10.4 menu highlighting style on 10.4. Can someone with 10.4 access grab a screenshot of a highlighted menu and post it here for color extraction?
Graphite, too.

There really aren't constants for these?
Attached image 10.4 Screenshot
Aqua:
[NSColor colorWithDeviceRed:0.000000 green:0.392157 blue:0.901961 alpha:1.0]

Graphite:
[NSColor colorWithDeviceRed:0.392157 green:0.474510 blue:0.568627 alpha:1.0]
This seems like something we should fix for 2.1.
Flags: camino2.1?
Attached patch Patch 1Splinter Review
Attachment #423264 - Flags: review?(stuart.morgan+bugzilla)
Comment on attachment 423264 [details] [diff] [review]
Patch 1

>+    NSRectFill(NSMakeRect(rect.origin.x, rect.origin.y - 1, rect.size.width, 1));
>+    [bottomColor set];
>+    NSRectFill(NSMakeRect(rect.origin.x, rect.origin.y - 1 + rect.size.height + 1, rect.size.width, 1));

It might make sense to reduce the duplication here by making the first rect outside the fill call, and then just changing its y origin and re-using it in the second fill, since everything else is the same.

Not a big deal though (especially since it's not new code); r=me either way.
Attachment #423264 - Flags: superreview?(mikepinkerton)
Attachment #423264 - Flags: review?(stuart.morgan+bugzilla)
Attachment #423264 - Flags: review+
Comment on attachment 423264 [details] [diff] [review]
Patch 1

sr=pink
Attachment #423264 - Flags: superreview?(mikepinkerton) → superreview+
Dan, are you going to make the change Stuart mentioned in comment 8, or should I just check this in as-is?
Landed on cvs trunk as-is, but filed bug 547495 on comment 8.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: camino2.1? → camino2.1+
Resolution: --- → FIXED
Target Milestone: --- → Camino2.1
You need to log in before you can comment on or make changes to this bug.