Closed Bug 483426 Opened 15 years ago Closed 15 years ago

[10.4] Bookmark bar always has background window (pinstriped) appearance

Categories

(Camino Graveyard :: Toolbars & Menus, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino2.0

People

(Reporter: alqahira, Assigned: chris)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

There have been a few random complaints about this on the forum, but none of the people ever followed through.  However, hendy noticed this when he last pulled out his G3 iBook for testing and made the sample page in the URL field.  You can see from his screenshot that 2.0* active windows have the inactive-style (pinstriped) bookmark bar instead of the former gradient bar.

The last two checkins that touched this code are bug 401340 and bug 417948, but both of them cross-landed, so that makes them unlikely.  hendy was investigating, and as of last night, his working theory was maybe the differences in - (BOOL)hasUnifiedToolbarAppearance in BrowserWindow between branch and trunk could be the problem (those were introduced by bug 425519 on the trunk):
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/camino/src/browser/BrowserWindow.mm&rev=1.38&mark=199#199
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/camino/src/browser/BrowserWindow.mm&rev=1.12.2.21&mark=197#197
Flags: camino2.0?
31/3/2008 has the gradient, 1/4/2008 doesn't. The only relevent checkin between
those dates is indeed Bug 425519.
Attached patch Fix v1.0Splinter Review
Looks like the and statement wasn't being correctly converted to a BOOL, as |hasUnifiedToolbarAppearance| was always returning NO. I tried a cast, but that didn't work either. This ternary statement fixes it up, though.
Assignee: nobody → trendyhendy2000
Status: NEW → ASSIGNED
Attachment #367528 - Flags: review?(stuart.morgan+bugzilla)
Comment on attachment 367528 [details] [diff] [review]
Fix v1.0

Sigh; I should have noticed that was wrong at the time I made the change.

r/sr=smorgan.
Attachment #367528 - Flags: review?(stuart.morgan+bugzilla) → superreview+
Landed on cvs trunk.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: camino2.0? → camino2.0+
Resolution: --- → FIXED
Target Milestone: --- → Camino2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: