Closed
Bug 495478
Opened 16 years ago
Closed 16 years ago
Buttons on summary page for collapsed threads don't have same height
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b4
People
(Reporter: Aureliano, Assigned: bwinton)
References
Details
(Keywords: polish)
Attachments
(4 files, 4 obsolete files)
21.16 KB,
image/jpeg
|
Details | |
10.03 KB,
image/png
|
Details | |
149.63 KB,
image/png
|
Details | |
4.16 KB,
patch
|
Bienvenu
:
review+
clarkbw
:
ui-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090529 Lightning/1.0pre Shredder/3.0b3pre ID:20090529032206
Archive and Delete buttons not have the same height.
using
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090529
Lightning/1.0pre Shredder/3.0b3pre ID:20090529032206
attached file for details
Reproducible: Always
Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Bryan, giving to you as we were talking about it. We should at least figure out what we want those two buttons to look like on XP & vista.
Assignee: nobody → clarkbw
Flags: blocking-thunderbird3?
Comment 3•16 years ago
|
||
Those are some ugly looking buttons. I suppose it's the old XP theme? We should at least match height with each button.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•16 years ago
|
||
It's not just Classic, it's Luna too, and it's not just the collapsed thread summary, it's the message reader too, since the Tango icons landed. I thought about filing on it then, then thought about claiming that it was just bug 456832 now hitting default font size too, then thought about how little fun I had with Lightning's similar issue, and then a bird flew by the window, and...
Updated•16 years ago
|
Summary: Buttons on summary page for collapsed threads → Buttons on summary page for collapsed threads don't have same height
Comment 6•16 years ago
|
||
This seems like needed polish blocking+ and initially setting at b3.
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Keywords: polish
Target Milestone: --- → Thunderbird 3.0b3
Comment 7•16 years ago
|
||
It would be great to get this for b3, but we wouldn't actually hold b3 for this.
Target Milestone: Thunderbird 3.0b3 → Thunderbird 3.0b4
Assignee | ||
Comment 8•16 years ago
|
||
I haven't quite gotten the Reply/Reply-All/Reply-List buttons to line up with the rest, so I'm not going to ask for a review quite yet.
Assignee | ||
Comment 9•16 years ago
|
||
A few images will be coming up, if you wanted to wait to see what it looked like, instead of patching and building your own copy, Bryan.
Attachment #390139 -
Attachment is obsolete: true
Attachment #390326 -
Flags: ui-review?(clarkbw)
Attachment #390326 -
Flags: review?(bienvenu)
Assignee | ||
Comment 10•16 years ago
|
||
Assignee | ||
Comment 11•16 years ago
|
||
Comment on attachment 390326 [details] [diff] [review]
The first cut at the patch.
The buttons on the multimessage view are now incorrectly sized on OSX, so let's hold off on this review until I get that working.
Attachment #390326 -
Flags: ui-review?(clarkbw)
Attachment #390326 -
Flags: review?(bienvenu)
Assignee | ||
Comment 12•16 years ago
|
||
Okay, it's all lining up on OS X now, too.
I don't have a linux box/VM to test on, so if it looks wonky there, please let me know, and I'll try to set one up/ask someone for help.
Thanks,
Blake.
Attachment #390326 -
Attachment is obsolete: true
Attachment #390512 -
Flags: ui-review?(clarkbw)
Attachment #390512 -
Flags: review?(bienvenu)
Comment 13•16 years ago
|
||
I'll try this on linux later tonight and get a review off
Updated•16 years ago
|
Whiteboard: [needs review bienvenu,clarkbw]
Updated•16 years ago
|
Attachment #390512 -
Flags: review?(bienvenu) → review+
Comment 14•16 years ago
|
||
Comment on attachment 390512 [details] [diff] [review]
The previous patch, with an OS X fix.
looks better on Windows.
Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review bienvenu,clarkbw] → [needs review clarkbw]
Comment 15•16 years ago
|
||
Comment on attachment 390512 [details] [diff] [review]
The previous patch, with an OS X fix.
> .msgHeaderView-button > .button-box,
>-.msgHeaderView-button[type="menu-button"] > .button-menubutton-button {
>+.msgHeaderView-button[type="menu-button"] .button-box {
> /* Needed to make the buttons the same height as the trash icon */
>- min-height: 16px;
>+ min-height: 21px;
> }
Another way to do this that relies less on magic numbers would be as follows (which works in Windows, anyway):
.msgHeaderView-button > .button-box > .button-icon,
.msgHeaderView-button[type="menu-button"] .button-icon {
/* Needed to make the buttons the same height as the trash icon */
min-height: 16px;
}
Comment 16•16 years ago
|
||
Well... I suppose "16px" is still a magic number, but at least it's the same magic number as the one used for the dimensions of the trash icon! :)
Assignee | ||
Comment 17•16 years ago
|
||
(In reply to comment #15)
> Another way to do this that relies less on magic numbers would be as follows
> (which works in Windows, anyway):
> .msgHeaderView-button > .button-box > .button-icon,
> .msgHeaderView-button[type="menu-button"] .button-icon {
> /* Needed to make the buttons the same height as the trash icon */
> min-height: 16px;
> }
I just tried that, but the button still seems a pixel too small. So since 17 doesn't seem much better than 21, I think I'll leave the patch the way it is. (Unless there's something else I can change. :)
Thanks,
Blake.
Comment 18•16 years ago
|
||
Comment on attachment 390512 [details] [diff] [review]
The previous patch, with an OS X fix.
tried it on linux earlier and it looked fine. also checked it on os x today and it looks good.
Attachment #390512 -
Flags: ui-review?(clarkbw) → ui-review+
Comment 19•16 years ago
|
||
(In reply to comment #17)
> I just tried that, but the button still seems a pixel too small. So since 17
> doesn't seem much better than 21, I think I'll leave the patch the way it is.
> (Unless there's something else I can change. :)
Now that I've looked more carefully, I see a one-pixel difference in the heights with your patch, too. Comparing them side-by-side, it appears that the Trash icon's height in the multi-message summary is one pixel taller than the one in the single-message header. The culprit seems to be some superstitious code in "mail/themes/qute/mail/multimessageview.css".
The attached patch seems to resolve it for me, though there are probably some improvements that could be made to it still, such as eliminating the .trashButton class from multimessageview.css and using .hdrTrashButton from messageHeader.css.
Updated•16 years ago
|
Attachment #392373 -
Attachment is patch: true
Attachment #392373 -
Attachment mime type: application/octet-stream → text/plain
Comment 20•16 years ago
|
||
This updated patch removes some of the duplicate CSS in <theme>/mail/multimessageview.css and defers instead to <theme>/mail/messageHeader.css which is included in multimessageview.xhtml anyway.
Note that I didn't touch the pinstripe theme since I don't have a Mac and have no idea what's going on there with some of the styling. It works in Windows and Linux (GTK at least) though.
Attachment #392373 -
Attachment is obsolete: true
Assignee | ||
Comment 21•16 years ago
|
||
Comment on attachment 392626 [details] [diff] [review]
Use messageHeader.css rules where applicable
Looks good on OS X, too.
One nit, the patch to mail/themes/qute/mail/messageHeader.css didn't apply in my version of the source. It looks like a line-ending thing. We'll see if bienvenu or clarkbw run into it as well, or if it's something on my end. :)
Thanks,
Blake.
Attachment #392626 -
Flags: ui-review?(clarkbw)
Attachment #392626 -
Flags: review?(bienvenu)
Comment 22•16 years ago
|
||
Yeah, when I was editing (In reply to comment #21)
> One nit, the patch to mail/themes/qute/mail/messageHeader.css didn't apply in
> my version of the source. It looks like a line-ending thing. We'll see if
> bienvenu or clarkbw run into it as well, or if it's something on my end. :)
Yeah, when editing that file, I noticed that it had Windows-style carriage returns even though none of the other Qute stuff did. I tried to maintain the line-ending scheme in it, but it's possible that the diff got angry about it.
Updated•16 years ago
|
Attachment #392626 -
Flags: ui-review?(clarkbw) → ui-review+
Comment 23•16 years ago
|
||
Comment on attachment 392626 [details] [diff] [review]
Use messageHeader.css rules where applicable
didn't get any issues applying the patch and it looks good. Thanks!!
Updated•16 years ago
|
Attachment #392626 -
Flags: review?(bienvenu) → review+
Assignee | ||
Comment 24•16 years ago
|
||
Comment on attachment 390512 [details] [diff] [review]
The previous patch, with an OS X fix.
I like the newer patch more. Thanks, Jim!
Attachment #390512 -
Attachment is obsolete: true
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [needs review clarkbw]
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Comment 25•16 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/b9f3451243e9
Note: I had to fix the line endings in mail/themes/qute/mail/messageHeader.css for some reason they were a mixture of unix and non-unix.
Updated•16 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•