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)
Tracking
()
RESOLVED
FIXED
Firefox 2
People
(Reporter: zerodpx, Assigned: mwu)
References
Details
(Keywords: fixed1.8.1)
Attachments
(4 files, 2 obsolete files)
3.70 KB,
image/png
|
Details | |
3.17 KB,
image/png
|
Details | |
4.57 KB,
image/png
|
Details | |
1.56 KB,
patch
|
mconnor
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Reporter | ||
Comment 3•19 years ago
|
||
Reporter | ||
Updated•19 years ago
|
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta2
Comment 4•19 years ago
|
||
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
Updated•19 years ago
|
OS: Windows XP → All
![]() |
||
Comment 5•19 years ago
|
||
Setting TM to final - small enough issue to not block b2
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: Firefox 2 beta2 → Firefox 2
Comment 6•19 years ago
|
||
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.
![]() |
||
Comment 7•19 years ago
|
||
(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.
Assignee | ||
Comment 8•19 years ago
|
||
*** Bug 348937 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 9•19 years ago
|
||
Is there any reason why -moz-appearance: none is commented out?
![]() |
||
Comment 10•19 years ago
|
||
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).
Reporter | ||
Comment 11•19 years ago
|
||
(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.
![]() |
||
Comment 12•19 years ago
|
||
![]() |
||
Comment 13•19 years ago
|
||
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?
![]() |
||
Updated•19 years ago
|
Attachment #234431 -
Flags: review?(mconnor)
![]() |
||
Updated•19 years ago
|
Attachment #234431 -
Flags: review?(michael.wu)
![]() |
||
Comment 14•19 years ago
|
||
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)
Assignee | ||
Comment 15•19 years ago
|
||
(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.
Assignee | ||
Comment 16•19 years ago
|
||
Looks like this was partially fixed by bug 349122, but the right overflow button is one px too high on hover now.
![]() |
||
Comment 17•19 years ago
|
||
> 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)
Assignee | ||
Comment 18•19 years ago
|
||
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)
![]() |
||
Updated•19 years ago
|
Attachment #234443 -
Flags: review?(mconnor) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #234443 -
Flags: approval1.8.1?
![]() |
||
Comment 19•19 years ago
|
||
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.
![]() |
||
Updated•19 years ago
|
Attachment #234443 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 20•19 years ago
|
||
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
![]() |
||
Comment 21•19 years ago
|
||
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.
Description
•