Closed Bug 462969 Opened 16 years ago Closed 15 years ago

Update print preview toolbar icons on windows theme

Categories

(Firefox :: Theme, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.6a1

People

(Reporter: faaborg, Assigned: ehsan.akhgari)

References

Details

(Keywords: verified1.9.1, Whiteboard: [icon-shiretoko][icon-complete])

Attachments

(5 files, 2 obsolete files)

The toolbar icons in the print preview window currently just use monochrome gif images.  We are having these icons updated for XP and Vista, this bug is for landing the new files.
Whiteboard: [icon-3.1]
Whiteboard: [icon-3.1] → [icon-3.1][icon-refresh]
Whiteboard: [icon-3.1][icon-refresh] → [icon-shiretoko][icon-complete]
Alex, you marked this as [icon-complete] without attaching any icons either on this bug or its dupe.  What's going on?
they are complete on my hard drive? sorry about the lag, one sec.
Attached file print preview arrows
These files should probably be checked in to /source/toolkit/themes/winstripe/global/arrow/

We need to continue to package the gif images in 1.9.1 in case any extensions are using them.

for the XP Luna images (not tagged -aero). the states are:

normal / hover
Attached patch Patch (v1) (obsolete) — Splinter Review
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Attachment #380183 - Flags: review?(dao)
Err, no, global/arrow/ is not the dumping place for all sorts of arrows :(
Please add a printpreview folder if needed?
Attached patch Patch (v2) (obsolete) — Splinter Review
(In reply to comment #6)
> Err, no, global/arrow/ is not the dumping place for all sorts of arrows :(
> Please add a printpreview folder if needed?

Done.
Attachment #380183 - Attachment is obsolete: true
Attachment #380235 - Flags: review?(dao)
Attachment #380183 - Flags: review?(dao)
Alex, what do you think about adding a hover state to the aero images? It would be identical to the normal state. This way we could use the same style rules the aero and non-aero images. Also, if somebody wants to add a real hover state in the future, the images could be edited and it would just work.
Yeah, it slipped my mind that we do that everywhere else, I'll update the aero images so we can keep the style rules simple.

In terms of adding a print preview folder, I don't have a super strong opinion (primary goal is to get these all done in time), but don't we want to encourage image reuse?  Over time people have copied similar images into different areas and given them feature specific names.  Like the same planet icon that is copied and is used for the concepts of Localization packs and and Geolocation.  I guess the overall decision is code modularity versus redundancy?  I'm starting to think that a single dumping ground in toolkit for all images could significantly cut down on our redundancy (for Namoroka).
If we add a printpreview folder, that's of course not set in stone. When there's another use for these icons, there's always the option to move them, but I don't foresee this right now.
sounds good, moving icons has implications for extensions but we should probably get th
get this sorted out with one big re-factoring at some point in the future.
Whiteboard: [icon-shiretoko][icon-complete] → [icon-shiretoko][icon-needed]
Attachment #380235 - Attachment is obsolete: true
Attachment #380235 - Flags: review?(dao)
Whiteboard: [icon-shiretoko][icon-needed] → [icon-shiretoko][icon-complete]
Attached file Updated aero arrows
These duplicate the aero arrows so that each arrow now has twice the aeros.  anyway, now the style rules can be the same between platforms.
Attached patch Patch (v3)Splinter Review
Patch with the new aero icons
Attachment #380607 - Flags: review?(dao)
Attachment #380607 - Flags: review?(dao) → review+
Comment on attachment 380607 [details] [diff] [review]
Patch (v3)

>+.home-arrow:hover, .end-arrow[chromedir="rtl"]:hover {

nit: line break after comma. Please fix this for the existing end-arrow, home-arrow, left-arrow and right-arrow selectors as well.
(In reply to comment #15)
> (From update of attachment 380607 [details] [diff] [review])
> >+.home-arrow:hover, .end-arrow[chromedir="rtl"]:hover {
> 
> nit: line break after comma. Please fix this for the existing end-arrow,
> home-arrow, left-arrow and right-arrow selectors as well.

Done.  Landed as <http://hg.mozilla.org/mozilla-central/rev/beb8a6eefb91>
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
Attached patch 1.9.1 PatchSplinter Review
Attachment #380675 - Flags: approval1.9.1?
Attached image 1.9.1 Screenshot
Screenshot of the patch on 1.9.1.
Comment on attachment 380675 [details] [diff] [review]
1.9.1 Patch

a191=beltzner
Attachment #380675 - Flags: approval1.9.1? → approval1.9.1+
verified FIXED on builds:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090601 Shiretoko/3.5pre ID:20090601044045

and

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090601 Minefield/3.6a1pre ID:20090601041706

for Windows XP and

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1pre) Gecko/20090601 Shiretoko/3.5pre (.NET CLR 3.5.30729) ID:20090601044045

and

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2a1pre) Gecko/20090601 Minefield/3.6a1pre (.NET CLR 3.5.30729) ID:20090601041706

for Windows Vista
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: