Closed
Bug 494430
Opened 15 years ago
Closed 15 years ago
Threadpane column icons not centered in new Windows XP theme
Categories
(Thunderbird :: Mail Window Front End, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0rc1
People
(Reporter: philor, Assigned: bwinton)
References
Details
(Keywords: polish, regression, Whiteboard: [no l10n impact])
Attachments
(5 files, 2 obsolete files)
3.53 KB,
image/png
|
Details | |
10.08 KB,
image/png
|
Details | |
9.37 KB,
image/png
|
Details | |
10.52 KB,
image/png
|
Details | |
4.98 KB,
patch
|
philor
:
review+
clarkbw
:
ui-review+
|
Details | Diff | Splinter Review |
Bug 488107 shuffled around the margins and paddings for the icons that are displayed in the header of the read, attachment, starred, and junk columns, but whatever alignment that was trying to do, the end result was making them very much offcenter: the attachment and star icons are a little low and a little right, the read icon is way high (possibly partly because of the image itself) and jammed against the right side, the junk icon is low and jammed against the right side.
Comment 1•15 years ago
|
||
that's really strange. they are perfectly centered on mine... I can't understand what the difference would be.
Reporter | ||
Comment 2•15 years ago
|
||
Where are you seeing them centered? They look fine for me on Win7 in Aero, and only slightly off on two separate XP installs in Classic (which burns more of the space with shaded bars between sections, so there's less off to be off) but totally busted on both XPs in Luna.
Comment 3•15 years ago
|
||
ah, sorry. i've been looking at them in Win7
Reporter | ||
Comment 4•15 years ago
|
||
Well then, lucky thing we're going to have an Aero theme, where I look forward to seeing those padding changes after we take them out of non-Aero! :)
Comment 5•15 years ago
|
||
now that you've landed bug 468751 it's probably a good time to look at getting this fixed. I'm trying to get an XP VM together but I already have some questions. Do we copy the changed parts of mailWindow1 from attachment 377356 [details] [diff] [review] into a mailWindow1-aero.css? Giving us: mail/themes/qute/mail/mailWindow1.css mail/themes/qute/mail/mailWindow1-aero.css And what is the name mailWindow1 about? I've been resisting the urge to rename that file something sane.
Reporter | ||
Comment 6•15 years ago
|
||
See, for instance, http://mxr.mozilla.org/mozilla-central/source/browser/themes/winstripe/browser/places/organizer-aero.css - you add mailWindow1-aero.css, preprocessed so you can |%include mailWindow1.css| at the start, then put just the changed bits that you want to override in mailWindow1-aero.css: treecol.readColumnHeader { -moz-padding-end: 1px; -moz-padding-start: 1px; } and put mailWindow1.css back like it was, since the later rules in mailWindow1-aero.css will override the earlier ones from mailWindow1.css.
Reporter | ||
Comment 7•15 years ago
|
||
Oh, mailWindow1.css - back in the day, there were two layouts, classic and vertical, and vertical was produced by a different XUL file which applied mailWindow2.css (which @imported mailWindow1.css). So, the name's an artifact, but renaming it would make life even more difficult for third-party themers, without any really solid benefit.
Comment 8•15 years ago
|
||
Well I'm already making so many lives completely painful right now I figure it's a good time to slip something else in. Though I'm really too lazy to actually do that renaming work. And despite your instructions leading me exactly to water my mailWindow1-aero.css is ignoring the * in front of it and doesn't seem to be getting processed. Just to check that the CSS override works I did this hack to make the CSS import at runtime and everything seems to work as expected. jar.mn: skin/classic/aero/messenger/mailWindowXP.css (mail/mailWindow1.css) skin/classic/aero/messenger/mailWindow1.css (mail/mailWindow1-aero.css) mailWindow1-aero.css: @import url("chrome://messenger/skin/mailWindowXP.css"); treecol.readColumnHeader { -moz-padding-end: 1px; -moz-padding-start: 1px; } treechildren::-moz-tree-image(unreadButtonColHeader) { -moz-padding-start: 0px; -moz-margin-start: -3px; } treecol.attachmentColumnHeader { -moz-padding-start: 5px; } treecol.flagColumnHeader { -moz-padding-start: 5px; } treecol.junkStatusHeader { -moz-padding-end: 1px; -moz-padding-start: 1px; } treechildren::-moz-tree-image(junkStatusCol) { -moz-margin-start: -3px; } I'll post the patch up here since it *looks like it should work* and yet it's not.
Comment 9•15 years ago
|
||
Here's the patch. Turns out I had some classic Windows garbage characters sitting in front of my %include statement. I'd like to thank Visual Studio Express for taking the last hour or so of my life away from, not sure what that was about.
Reporter | ||
Comment 10•15 years ago
|
||
Considerably improved, but either we were a touch offcenter before, or we need to do a little tweaking to really center the new images on XP.
Updated•15 years ago
|
Attachment #381630 -
Attachment is obsolete: true
Attachment #381630 -
Flags: review?(philringnalda)
Comment 11•15 years ago
|
||
Comment on attachment 381630 [details] [diff] [review] XP and Vista differences pulled apart minus since this does the revert but isn't enough. I need to get a real XP build since "running in XP environment" is doing some real strange stuff to the build files
Comment 12•15 years ago
|
||
assigning to davida who has an XP build. take patch and run
Assignee: clarkbw → david.ascher
Comment 13•15 years ago
|
||
Does anyone have an XP build?
Comment 14•15 years ago
|
||
blake, hot potato time! do you have an XP build?
Assignee: david.ascher → bwinton
Assignee | ||
Comment 15•15 years ago
|
||
Yup, I do.
Updated•15 years ago
|
Whiteboard: [no l10n impact]
Updated•15 years ago
|
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Assignee | ||
Updated•15 years ago
|
Priority: -- → P4
Assignee | ||
Comment 16•15 years ago
|
||
I'll make sure Win7 also looks pretty, before I submit the new patch.
Assignee | ||
Comment 17•15 years ago
|
||
Assignee | ||
Comment 18•15 years ago
|
||
Let's see how you all like this version of the patch.
Attachment #404912 -
Flags: ui-review?(clarkbw)
Attachment #404912 -
Flags: review?(philringnalda)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [no l10n impact] → [no l10n impact][patch up, needs r/ui-r]
Comment 19•15 years ago
|
||
Comment on attachment 404912 [details] [diff] [review] The patch. works for me
Attachment #404912 -
Flags: ui-review?(clarkbw) → ui-review+
Assignee | ||
Comment 20•15 years ago
|
||
Philor pointed out some real odditites in XP Classic with the previous patch. This one should fix them, along with XP New, and Win 7. Thanks, Blake.
Attachment #404912 -
Attachment is obsolete: true
Attachment #405343 -
Flags: ui-review?(clarkbw)
Attachment #405343 -
Flags: review?(philringnalda)
Attachment #404912 -
Flags: review?(philringnalda)
Reporter | ||
Updated•15 years ago
|
Attachment #405343 -
Flags: review?(philringnalda) → review+
Reporter | ||
Comment 21•15 years ago
|
||
Comment on attachment 405343 [details] [diff] [review] The new patch. Now that, that's purty!
Assignee | ||
Updated•15 years ago
|
Whiteboard: [no l10n impact][patch up, needs r/ui-r] → [no l10n impact][patch up, needs ui-r]
Comment 22•15 years ago
|
||
Comment on attachment 405343 [details] [diff] [review] The new patch. well things appear the same on vista and that's about all I ever ui-r'd before so i'll just go with the flow since I don't have XP.
Attachment #405343 -
Flags: ui-review?(clarkbw) → ui-review+
Reporter | ||
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [no l10n impact][patch up, needs ui-r] → [no l10n impact]
Target Milestone: --- → Thunderbird 3.0rc1
Reporter | ||
Comment 23•15 years ago
|
||
http://hg.mozilla.org/comm-central/rev/c9a156770bc3
You need to log in
before you can comment on or make changes to this bug.
Description
•