Closed Bug 348929 Opened 19 years ago Closed 19 years ago

Tab strip right scroll button and All Tabs menu draw bevels on hover

Categories

(Firefox :: Tabbed Browser, defect)

2.0 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: zerodpx, Assigned: mwu)

References

Details

(Keywords: fixed1.8.1)

Attachments

(4 files, 2 obsolete files)

After the landing of bug 345466, the two buttons on the right of the tab strip both draw bevels on hover on Linux, which looks bizarre. The left scroll button does not do this. Weirder, the buttons apparently aren't the same height, as the All Tabs menu's bevel extends down 1 pixel lower than the scroll button's bevel. Screenshots to follow.
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
I can see this on Windows as well, so I am adjusting the summary and OS.
OS: Linux → Windows XP
Summary: On Linux, tab strip right scroll button and All Tabs menu draw bevels on hover → Tab strip right scroll button and All Tabs menu draw bevels on hover
OS: Windows XP → All
Setting TM to final - small enough issue to not block b2
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: Firefox 2 beta2 → Firefox 2
If it helps, the bevel on the right-scoll button only appears when there are actually tabs to scroll to off the right side of the tabstrip.
(In reply to comment #5) > Setting TM to final - small enough issue to not block b2 > I agree this is a small issue, but considering that Beta2 is going to be out there for almost 2 months before the final release and will be reviewed widely across major publications, IMHO this bug is too 'visible' and 'sloppy' to be left as it is. I would sincerely request you to reconsider changing the TM to Fx2b2.
*** Bug 348937 has been marked as a duplicate of this bug. ***
Is there any reason why -moz-appearance: none is commented out?
Assignee: nobody → michael.wu
Status: NEW → ASSIGNED
Attachment #234293 - Flags: review?(sspitzer)
I can't remember why I did either of these commenting out: // -moz-appearance: none !important; // background: transparent !important; but it was me, and I handed off a patch to mconnor with those changes (sorry mike).
(In reply to comment #10) > I can't remember why I did either of these commenting out: > > // -moz-appearance: none !important; > // background: transparent !important; > > but it was me, and I handed off a patch to mconnor with those changes (sorry > mike). I wonder if removing the comment on that "background" thing would fix bug 348939. Maybe both these should be uncommented.
from michaels patch, adding "-moz-appearance: none !important;" fixes issues with the scrollbutton-down (aka, right scroll button for LTR) and the all tabs button. The following three rules fix one of the issues covered in bug #348950 (see https://bugzilla.mozilla.org/attachment.cgi?id=234138 for the issue) + width: 18px !important;" + border: 0px !important; + margin-top: 2px; I removed: // background: transparent !important; we can't set that, because if we do, the alltabs button will not respond on hover. for the hover effect on alltabs, we use a background image on the button. michael, was this change for another bug? +.tabbrowser-tab > .tab-image-left, +.tabbrowser-tab > .tab-image-right { + padding-bottom: 1px; + padding-top: 0; + margin-bottom: 1px; +} can you test and review my patch?
Comment on attachment 234293 [details] [diff] [review] Remove bevels on tabstrip buttons clearing review for now. (I'm sure michael added the tab-image-left and tab-image right for a reason, but waiting to hear why.)
Attachment #234293 - Flags: review?(sspitzer)
(In reply to comment #14) > (From update of attachment 234293 [details] [diff] [review] [edit]) > clearing review for now. > > (I'm sure michael added the tab-image-left and tab-image right for a reason, > but waiting to hear why.) > Oh, sorry, that was for bug 349038. Please ignore.
Looks like this was partially fixed by bug 349122, but the right overflow button is one px too high on hover now.
> Looks like this was partially fixed by bug 349122, but the right overflow > button is one px too high on hover now. I'll update and attach a new patch (post bug #349122)
I had to unbitrot it to test, so I might as well upload it. Seems to work well.
Attachment #234293 - Attachment is obsolete: true
Attachment #234431 - Attachment is obsolete: true
Attachment #234443 - Flags: review?(mconnor)
Attachment #234431 - Flags: review?(michael.wu)
Attachment #234431 - Flags: review?(mconnor)
Attachment #234443 - Flags: review?(mconnor) → review+
Attachment #234443 - Flags: approval1.8.1?
thanks for the new patch, michael. i your new, unbitrotted patch works like a charm for me, after updating and rebuilding. it fixes that part of bug #348950 once we get approval, I can land.
Attachment #234443 - Flags: approval1.8.1? → approval1.8.1+
Checking in toolkit/themes/winstripe/global/browser.css; /cvsroot/mozilla/toolkit/themes/winstripe/global/browser.css,v <-- browser.css new revision: 1.9.4.16; previous revision: 1.9.4.15 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
I've updated and rebuilt, and on windows, michael's patch (along with other recent checkins) have improved this part of the tabstrip, including fixing this issue: https://bugzilla.mozilla.org/attachment.cgi?id=234138 thanks michael!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: