Closed
Bug 502616
Opened 16 years ago
Closed 13 years ago
Fix css for tab images (loading/busy/opacity)
Categories
(Thunderbird :: Toolbars and Tabs, defect)
Thunderbird
Toolbars and Tabs
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b4
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file, 2 obsolete files)
4.12 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
I was looking at our tab icon implementation earlier and found various issues, so I've rolled them into one as they are all pretty much the same broken theme code:
1) For tab-image-middle, tabmailBindings.xml creates a xul:stack with class tab-icon and within that two images one with class tab-icon-image, the other with tab-extra-status.
We don't use tab-extra-status anywhere (and I don't see why we should either).
2) Possibly as a result of 1), the Mac css is broken. It is assuming it can put styles on the tab-icon xul:stack rather than the tab-icon-image and is currently has the issues that:
- The tab busy indication doesn't get shown.
- The opacity of the icon is always .6. On Firefox the opacity is .6 when a tab is deselected, when it is a select tab or you hover over it, then the opacity is removed.
I'm pretty sure this functionality was intended in bug 462952 though as I'm looking at FF 3.5 rather than 3.0 something may have changed in the meantime.
3) On Windows, the loading image doesn't get seen even though the normal icon disappears for a bit. This is because the folder icons are using moz-image-region and the region gets set incorrectly as a result.
The attached patch fixes the above points, I'm currently double-checking linux (although I think that does actually work).
Attachment #386985 -
Flags: review?(philringnalda)
Flags: wanted-thunderbird3+
Assignee | ||
Comment 1•16 years ago
|
||
Ok, so when they switched to using background-image rather than list-style-image in bug 483759 comment 22, it broke linux in that you get the busy indicator shown on top of the folder indicator :-(
So we're kinda broken on all 3 platforms (in different ways). Whilst I try and figure out linux, here's the fix I'm proposing for Windows and Mac, comments welcome.
Attachment #386985 -
Attachment is obsolete: true
Attachment #387026 -
Flags: review?(philringnalda)
Attachment #386985 -
Flags: review?(philringnalda)
Comment 2•16 years ago
|
||
and ever since that change for linux I've been wishing we just lost the little star icon for folders and used a color change for the text like the Mac does.
Comment 3•16 years ago
|
||
Comment on attachment 387026 [details] [diff] [review]
Windows and Mac fix.
Looks good to me.
Attachment #387026 -
Flags: review?(philringnalda) → review+
Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs landing post-freeze]
Assignee | ||
Comment 4•15 years ago
|
||
The last version of this patch still included the linux changes. This is what I am checking in.
Attachment #387026 -
Attachment is obsolete: true
Attachment #389354 -
Flags: review+
Assignee | ||
Updated•15 years ago
|
Attachment #389354 -
Attachment description: Windows and Mac fix v2 → [checked in] Windows and Mac fix v2
Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 389354 [details] [diff] [review]
[checked in] Windows and Mac fix v2
Checked in: http://hg.mozilla.org/comm-central/rev/2d54a48c8a72
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs landing post-freeze]
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → Thunderbird 3.0b4
Assignee | ||
Comment 6•13 years ago
|
||
AFAICT the linux issues no longer exist, so this is fixed/wfm
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•