Closed Bug 352689 Opened 18 years ago Closed 18 years ago

[mac] regression: autodiscovery of search engines is not announced by color change in search bar

Categories

(Firefox :: Search, defect)

2.0 Branch
PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: lc__fc-xx001xx, Assigned: pamg.bugs)

References

()

Details

(Keywords: fixed1.8.1)

Attachments

(6 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20060914 BonEcho/2.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20060914 BonEcho/2.0

When you visit a page that advertises its search plug-ins so that Fx's autodiscovery finds them, the search bar doesn't announce that by a color change like usual anymore. Just a mac problem.

Reproducible: Always

Steps to Reproduce:
1. visit http://www.searchplugins.net/pluginlist.aspx
2. Search bar doesn't show that the autodiscovery found search engines


Actual Results:  
Search bar looks like it looks for pages where the autodiscovery doesn't find search plug-ins offered.

Expected Results:  
Color change around the symbol of the current search plug-in announces that autodetection found search plug-ins for installation
Component: Security → Search
QA Contact: firefox → search
Gavin says that he heard Pam say this was caused by missing a file in a check-in. Confirming for now...
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 2.0 Branch
Flags: blocking-firefox2?
Keywords: qawanted
Regression from 351618. CSS, not a missing file, but I'm working on it.
Target Milestone: --- → Firefox 2
Assignee: nobody → pamg.bugs
Keywords: qawanted
Updates pinstripe to use stacked images instead of button background-images for hover, open, and engine-is-available states too.
Attachment #238466 - Flags: review?(mconnor)
Attachment #238466 - Flags: approval1.8.1?
Attachment #238466 - Flags: review?(mconnor)
Attachment #238466 - Flags: review+
Attachment #238466 - Flags: approval1.8.1?
Attachment #238466 - Flags: approval1.8.1+
Fixed on branch.

/mozilla/browser/themes/pinstripe/browser/searchbar.css 1.4.8.14
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: blocking-firefox2?
Keywords: fixed1.8.1
Resolution: --- → FIXED
Short question: is the triangle supposed to be centered on the blue spot? If so the blue spot is not placed correctly in Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20060915 BonEcho/2.0 ID:2006091508

Dex
attaching this screenshot, i agree that the current implementation looks odd to me on Mac.
Attached image Glow screenshot
Odd -- here's what I see in Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/2006091508 BonEcho/2.0.  It looks pretty centered to me.
I also see the version on Marcia's screenshot.

Dex
That's strange, 'cause mine looks totally different.
change the width of the window, the distance of the triangle to the search engine icon seems to get wider the wider the window, while the spot stays at the same place. 
The width of the searchbar seems to affect the appearance of the splotch. That can't be right.
(In reply to comment #11)
> The width of the searchbar seems to affect the appearance of the splotch. That
> can't be right.

What it's affecting is the distance between the search-engine icon and the left end of the searchbar.  The splotch is actually part of the same image that the left end is, so it can't be moving -- but the triangle is.

For reference, a 1068-pixel-wide window has an off-center splotch (the icon and triangle are too far right), 1069 pixels also off-center, 1070 through 1072 centered, and 1073 off-center again.
nominating to get back on the radar.
Status: RESOLVED → REOPENED
Flags: blocking-firefox2?
Resolution: FIXED → ---
Okay, apparently the code that centers even-pixel-width XUL objects in an odd-pixel-width box isn't consistent about whether it takes the floor or ceiling for the left margin, and the choice depends on the location of the outer box.

So here's a patch that removes the pack="center", sets a hard left margin instead in winstripe, and spaces the triangle out from the favicon properly in pinstripe.  I've tested in Mac, Windows, ad Linux, and it looks correct in all the window sizes I've tried.
Attachment #238706 - Flags: review?(mconnor)
Attachment #238706 - Flags: approval1.8.1?
Comment on attachment 238706 [details] [diff] [review]
Set left margin rather than centering

r+a=me, this needs to go in by 6 PM PDT today, if I don't hear from you by then I'll land it for you :)
Attachment #238706 - Flags: review?(mconnor)
Attachment #238706 - Flags: review+
Attachment #238706 - Flags: approval1.8.1?
Attachment #238706 - Flags: approval1.8.1+
I landed this on the branch:
mozilla/browser/components/search/content/search.xm 1.37.2.62
mozilla/browser/themes/winstripe/browser/searchbar.css 1.3.8.24
mozilla/browser/themes/pinstripe/browser/searchbar.css 1.4.8.15
Keywords: fixed1.8.1
Flags: blocking-firefox2? → blocking-firefox2+
All of the patches here seem to be in on the trunk (the last one due to bug 353673), so I'm guessing that this can be marked FIXED now. Can a mac trunk user confirm?
Splotch and arrow look exactly alike at 1068 and 1071 pixels in a trunk build from last night.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: