Closed
Bug 79355
Opened 24 years ago
Closed 24 years ago
[CT] classic: toolbar grippies are not as slim as in 4.x
Categories
(SeaMonkey :: Themes, defect)
SeaMonkey
Themes
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: afranke, Assigned: shliang)
Details
(Keywords: classic)
Attachments
(3 files, 2 obsolete files)
1.13 KB,
patch
|
andreww
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
4.87 KB,
image/png
|
Details | |
1.41 KB,
patch
|
hewitt
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
Submitting this bug with mozilla 0.9 (2001050521) on Linux.
The toolbar grippies in the classic skin are not as slim as in Navigator 4.x .
I find the old style look a lot better.
Reporter | ||
Updated•24 years ago
|
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 1•24 years ago
|
||
mozilla/ themes/ classic/ global/ win/ toolbar.css
change line 44 from
width : 12px;
to
width : 10px;
Comment 2•24 years ago
|
||
--> me
Assignee: hewitt → blake
Status: ASSIGNED → NEW
OS: Linux → All
Hardware: PC → All
Summary: classic: toolbar grippies are not as slim as in 4.x → [CT] classic: toolbar grippies are not as slim as in 4.x
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Updated•24 years ago
|
Target Milestone: mozilla0.9.4 → mozilla1.0
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9.7
Comment 7•24 years ago
|
||
Comment on attachment 58068 [details] [diff] [review]
10px wide grippies
sr=hewitt
Attachment #58068 -
Flags: superreview+
Comment on attachment 58068 [details] [diff] [review]
10px wide grippies
r=andreww
Attachment #58068 -
Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•24 years ago
|
||
Should I file a new bug or re-open this one. The grippies look horrible. I'd be
more than willing to scam the 4.x grippy images or tweak the fatter but much
more attractive Mozilla grippies.
Comment 11•24 years ago
|
||
It looks to me like this image was too narrow and it's being stretched wider.
The little grip bumps have a highlight and shadow pixel that is are too far
apart. In 4.x we had two vertical columnss of these bumps. Up until recently we
had two columns of bumps in Mozilla. Now we have one column of bumps that are
stretched in width so they no longer look like bumps.
Comment 12•24 years ago
|
||
I was wrong. What has happened here is that the we only have the highlight pixel
from the right column of bumps and the shadow pixel from the left column of
bumps. I'll attach pictures.
Comment 13•24 years ago
|
||
Here's a magnified image. You can see the 4.x grippy for reference at the left,
the Mozilla grippy as it was a few days ago in the middle and as it is today on
the right. Note that we're still 1 pixel wider than 4.x and we've destroyed
the two columns of bumps by cutting them each in half. (we'd need to shift
everything left one more pixel and trim a column of pixels from the right side
to get the 4.x image positioning. Then we'd need to restore the shadow and
highlight pixels for the two columns of bumps. Or something like that.
Comment 14•24 years ago
|
||
reopening. this fix should be backed out and done correctly.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•24 years ago
|
||
So the image hasn't changed, just the css.
I don't know how any of this works so this is all total speculation (but with
some possibly useful data and suggestions)
Looking at the grippy in the dom inspector it looks like it's a spacer with the
5 pixel wide texture image for a background. The spacer has width of 3, and a
right and left margin of 3 and 2 respectively. Maybe if that was changed to a
width of 5 (afterall, the image it contains has a width of 5) and a right margin
of 2 and a left margin of 1 (and maybe we could drop the top margin a couple of
pixels if that's how you move the bumps closer to the twisty) then it would fit
properly in the 10 pixel wide grippy box.
Here's my probably flawed guess at what's going on. I'm totally clueless about
XUL and CSS so I'm very likely wrong.
It looks like we have a grippy box that is 10 pixels wide with an inner border
that takes up two of those width pixels. That leaves 8. Inside that we have a
spacer that is 3 pixels wide with margins that add 5 pixels to its width. That
fills the grippy box's 8 pixels. Inside that spacer we have a 5 pixel wide image
that is being cut down to three because the spacer is only 3 pixels wide.
Comment 16•24 years ago
|
||
based on my probably wrong guess at what is going on I edited toolbar.css to
change the margins on the spacer and it seems to make the grippy look better.
Comment 17•24 years ago
|
||
Comment on attachment 59989 [details] [diff] [review]
maybe a patch that makes the grippy better
sr=hewitt
Attachment #59989 -
Flags: superreview+
Comment 18•24 years ago
|
||
Attachment #59989 -
Attachment is obsolete: true
Comment 19•24 years ago
|
||
r=kerz
Comment 20•24 years ago
|
||
andreww, this is the smaller (windows classic) patch that just makes the image
in the grippy visible. Can you do the mac classic work if there is any and get
this checked in. It's pretty ugly and the fix for this small part of it looks
simple (the collapsed grippy problem is another bug I think).
Assignee | ||
Comment 21•24 years ago
|
||
Comment on attachment 59992 [details] [diff] [review]
even better patch. narrow grippy one more pixel than shliang's and shift the texture left one more pixel so it matches 4.x
why did you change the top and bottom margins? also, are the collapsed grippies
going to be changed too?
Comment 22•24 years ago
|
||
The collapsed grippies have another problem. I found a workaround that at least
displays the grippy image when collapsed but it isn't the right fix (i think)
because the grippies don't ahve the correct size when collapsed. (I just
hardcoded in a width). I can make a patch for that if it's useful but I think
it's wrong.
I changed the top and bottom margins because it looked more like 4.x that way.
Feel free to throw out my patch (I don't really know what I'm doing) and do it
the right way. It's just that it looks really bad now and I thought that since I
had something that made it look better that I'd try to get that in.
Assignee | ||
Comment 23•24 years ago
|
||
oh your patch is fine, i was just wondering. maybe the collapsed grippies should
be changed too even if they are broken now, just so they will match when they do
get fixed. i can do it if you want, since it was my fault that they got messed
up in the first place (i just did exactly what comment #1 said without checking
first to make sure it was correct).
Comment 24•24 years ago
|
||
OK. like I said, this is probably not the correct fix but it does at least
return the bumps to the toolbar grippies in the collapsed and expanded states.
Attachment #59992 -
Attachment is obsolete: true
Comment 25•24 years ago
|
||
Comment on attachment 60841 [details] [diff] [review]
combined the above fix for grippies with a hack for collapsed grippies
r=shliang
sr=hewitt
Attachment #60841 -
Flags: superreview+
Attachment #60841 -
Flags: review+
Assignee | ||
Comment 26•24 years ago
|
||
checked in asa's patch and same changes for mac
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 27•24 years ago
|
||
Thanks shliang! Verified on win32 121203 build but mac is totally hosed so I
can't test that yet.
Comment 28•24 years ago
|
||
verified on linux and mac 0s 9.2 (2001-12-21-04-trunk)
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•