Closed Bug 1008424 Opened 10 years ago Closed 10 years ago

Remove unintended gradient from the tab toolbar's background

Categories

(Firefox :: Theme, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 32

People

(Reporter: dao, Assigned: dao)

References

Details

(Whiteboard: p=8 s=it-32c-31a-30b.2 [qa-])

Attachments

(1 file, 3 obsolete files)

This is causing bug 1000754 on Windows.
Flags: firefox-backlog+
Blocks: 1000754
Attached patch patch (obsolete) — Splinter Review
So... I don't know what adding the negative margins in the title bar height calculation was good for. On Windows, we need the titlebar to extend behind the border between the tab bar and the nav bar, as that border has transparency (see toolbarShadowColor).
Attachment #8421124 - Flags: review?(mconley)
Attached patch patch (obsolete) — Splinter Review
fixed a small mistake in the previous patch
Attachment #8421124 - Attachment is obsolete: true
Attachment #8421124 - Flags: review?(mconley)
Attachment #8421508 - Flags: review?(mconley)
Whiteboard: p=8
Status: NEW → ASSIGNED
Whiteboard: p=8 → p=8 s=it-32c-31a-30b.2 [qa?]
Blocks: 1003659
Whiteboard: p=8 s=it-32c-31a-30b.2 [qa?] → p=8 s=it-32c-31a-30b.2 [qa-]
Comment on attachment 8421508 [details] [diff] [review]
patch

Review of attachment 8421508 [details] [diff] [review]:
-----------------------------------------------------------------

This looks pretty good - but I am noticing a likely unintentional inner highlight on the nav-bar on Windows XP.

I'll have a closer look on Tuesday (Monday is a holiday in Canada), but what I'm going to do is run MattN's screenshot tool and do a before and after comparison, and make sure we're not introducing anything new here.

I'll post a report on Tuesday.
Attached patch patch (obsolete) — Splinter Review
unbitrotted
Attachment #8421508 - Attachment is obsolete: true
Attachment #8421508 - Flags: review?(mconley)
Attachment #8425507 - Flags: review?(mconley)
Ok, running this through some paces...
Comment on attachment 8425507 [details] [diff] [review]
patch

The code looks fine, but I think this reintroduces bug 885062 (to a lesser, but still noticeable degree).

Specifically, please see the disconnect between the titlebar and the top of the nav-bar in the padding area while in customize mode: http://i.imgur.com/4NMspLr.png

This doesn't appear to affect Windows Classic themes.

The inner-highlight issue I mentioned earlier has vanished.

I have not yet found any other issues.
Attachment #8425507 - Flags: review?(mconley)
Attached patch patch v2Splinter Review
Is this better? Unfortunately and strangely, I don't find my old laptop where I had Windows XP installed...
Attachment #8425507 - Attachment is obsolete: true
Attachment #8426282 - Flags: review?(mconley)
Comment on attachment 8426282 [details] [diff] [review]
patch v2

Review of attachment 8426282 [details] [diff] [review]:
-----------------------------------------------------------------

Ok, I tested this Windows XP (Luna, Classic), Windows 7 (Classic, Aero Basic, Aero Glass) and Windows 8. Looks good to me.

You'll probably want someone from core to look at the widget/ change.
Attachment #8426282 - Flags: review?(mconley) → review+
Comment on attachment 8426282 [details] [diff] [review]
patch v2

Jim, could you please have a look at the tiny change in widget code? I think you wrote this. It's not clear to me why you excluded the bottom pixel row when drawing the title bar; dealing with this is pretty confusing on the front-end side.
Attachment #8426282 - Flags: review?(jmathies)
Comment on attachment 8426282 [details] [diff] [review]
patch v2

Review of attachment 8426282 [details] [diff] [review]:
-----------------------------------------------------------------

Hmm, not sure and unfortunately I didn't add a comment. The rect was probably slightly off and the adjustment compensated for that. Regardless, if it looks right now, fine with me.

Hopefully in a few years we can depreciate all this old drawing code now that classic mode is officially dead.
Attachment #8426282 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/mozilla-central/rev/2236b3fc98ae
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Depends on: 1014523
Status: RESOLVED → VERIFIED
No longer blocks: 1000754
Blocks: 1016742
Depends on: 1062311
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: