Closed Bug 632181 Opened 13 years ago Closed 13 years ago

"Write" button popup menu needs icon adaption to new Thunderbird default theme

Categories

(Calendar :: Lightning Only, defect)

x86
Windows 7
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

Details

(Whiteboard: [needed beta][no l10n impact])

Attachments

(2 files, 3 obsolete files)

Attached image screenshot of error β€”
Lightning 1.1a1pre (20110206) with Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110207 Thunderbird/3.3a3pre

Steps to reproduce:
1. Create clean Thunderbird profile, install Lightning, restart
2. Check the "Write" button popup menu

Actual results:
The icon for menu entry "Message" is incorrect and should be fixed.

)The icon is correct in Lightning 1.0b3pre with Lanikai/3.1.9pre due to a different Thunderbird default theme.)
Severity: normal → trivial
Flags: blocking-calendar1.0+
Whiteboard: [needed beta][no l10n impact]
Attached patch Fix - v1 (obsolete) β€” β€” Splinter Review
Tested only on linux at the moment (old icon looks fine there). This needs additional testing on windows (to see if aero/non-aero works) and on mac (to see if it compiles and still works)
Attachment #511703 - Flags: review?(mschroeder)
Whiteboard: [needed beta][no l10n impact] → [needed beta][no l10n impact][needs review]
Status: NEW → ASSIGNED
Assignee: nobody → philipp
Tested on mac, no side-effects.
Comment on attachment 511703 [details] [diff] [review]
Fix - v1

Matthew, do you have a Windows Vista or later box you could test this with (both classic theme and aero) ?
Attachment #511703 - Flags: review?(mschroeder) → review?(matthew.mecca)
Sorry, I only have access to XP at the moment.
In that case a simple code review and short test on XP would be sufficient, I'll test on windows 7 before checkin.
Comment on attachment 511703 [details] [diff] [review]
Fix - v1


>     skin/lightning/mode-switch-icons.png                   (themes/common/images/mode-switch-icons.png)
> 
>+% skin lightning classic/1.0 %skin/lightning/aero os=WINNT osversion>=6
>+    skin/lightning/aero/lightning-aero.css                      (themes/winstripe/lightning-aero.css)

Just a small nit - the indentation of "(themes/...)" is inconsistent with the rest of the file.

Looks fine on Windows XP, still needs to be tested on Vista / Win 7. Otherwise, r=mmecca.
Attachment #511703 - Flags: review?(matthew.mecca) → review+
Attached patch Fix - v2 (obsolete) β€” β€” Splinter Review
It seems I got the path for the css file wrong, so it wouldn't have caused sideeffects anyway. Could you do a quick test of this patch on winxp?

I'll give it a spin on linux in a moment.
Attachment #511703 - Attachment is obsolete: true
Attachment #517727 - Flags: review?(matthew.mecca)
Please pretend your nit is fixed, sorry :)
No issues on linux
Attached image screenshot - fix v2 XP (obsolete) β€”
This breaks the icon in Win XP.
Comment on attachment 517727 [details] [diff] [review]
Fix - v2

how annoying. I'll see what I can do. Thanks for testing!
Attachment #517727 - Flags: review?(matthew.mecca) → review-
Attached patch Fix - v3 β€” β€” Splinter Review
This should finally fix it. It does add a new chrome registration namespace, but I think in our case thats a better option than duplicating things as done in Thunderbird land.

This should definitely work, I've tested by manually incrementing the osversion in which case the css is not applied, as expected.
Attachment #517727 - Attachment is obsolete: true
Attachment #518984 - Attachment is obsolete: true
Attachment #519017 - Flags: review?(matthew.mecca)
Comment on attachment 519017 [details] [diff] [review]
Fix - v3

Looks good on Win XP and Vista. Same code nit ;)
r=mmecca
Attachment #519017 - Flags: review?(matthew.mecca) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/ab969d8f4f7e>
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Whiteboard: [needed beta][no l10n impact][needs review] → [needed beta][no l10n impact]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: