Closed Bug 1495189 Opened 5 years ago Closed 5 years ago

Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg

Categories

(Toolkit :: Themes, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: ntim, Assigned: lauirvin98, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file, 1 obsolete file)

      No description provided.
Priority: -- → P3
Keywords: good-first-bug
Hello, I'm new and I would like to work on this issue as my first bug.
Sure! submit the patch. 
Later someone (:ntim) will assign this to you.
If this is your first bug check this also:
https://wiki.mozilla.org/Good_first_bug

Either you can submit patch here or you can submit using phabricator.
(In reply to Irvin Ives Lau from comment #1)
> Hello, I'm new and I would like to work on this issue as my first bug.

Sure! Once you've set up everything, you'll need to:

- Remove these two files:
toolkit/themes/osx/global/icons/glyph-dropdown.png
toolkit/themes/osx/global/icons/glyph-dropdown@2x.png

- Remove these lines:
https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/browser/themes/osx/browser.css#790-799
https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/browser/themes/osx/browser.css#833-842
https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/toolkit/themes/osx/global/jar.mn#54-55

- And change these lines:

https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/browser/themes/osx/browser.css#831
https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/browser/themes/osx/browser.css#785

to use arrow-dropdown-12.svg instead of glyph-dropdown.png

Once you've done all those steps, you can submit a patch, then I'll assign the bug to you.
Irvin

If you need more information, you can ask in IRC #Introduction
or 
use "Need More Information from" feature here.

while submitting review also, tag someone, who can review your patch.
Attached patch patch.diff (obsolete) — Splinter Review
Hi, thank you for assigning me the task, I have made a patch.

Please kindly review this and let me know if it is okay.
Attachment #9030790 - Flags: review?(ntim.bugs)
Attachment #9030790 - Flags: review?(1991manish.kumar)
Comment on attachment 9030790 [details] [diff] [review]
patch.diff

Review of attachment 9030790 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the patch! It looks like you haven't removed the files in this patch.

Can you do:

hg rm toolkit/themes/osx/global/icons/glyph-dropdown.png

hg rm toolkit/themes/osx/global/icons/glyph-dropdown@2x.png

from your terminal ?

::: browser/themes/osx/browser.css
@@ +782,4 @@
>  
>  button.translate-infobar-element.options-menu-button > .button-box > .button-menu-dropmarker {
>    display: -moz-box;
> +  list-style-image: url("chrome://../shared/icons/arrow-dropdown-12.svg");

This should be chrome://global/skin/icons/arrow-dropdown-12.svg

@@ +818,4 @@
>  
>  menulist.translate-infobar-element > .menulist-dropmarker {
>    display: -moz-box;
> +  list-style-image: url("chrome://../shared/icons/arrow-dropdown-12.svg");

Same here
Attachment #9030790 - Flags: review?(ntim.bugs)
Attachment #9030790 - Flags: review?(1991manish.kumar)
Assignee: nobody → lauirvin98
Attached patch patch.diffSplinter Review
Thank you for your review, I have now made the changes.

Please let me know if it's fine.
Attachment #9030809 - Flags: review?(ntim.bugs)
Attachment #9030790 - Attachment is obsolete: true
Comment on attachment 9030809 [details] [diff] [review]
patch.diff

Review of attachment 9030809 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me!
Attachment #9030809 - Flags: review?(ntim.bugs)
Attachment #9030809 - Flags: review?(jaws)
Attachment #9030809 - Flags: feedback+
Attachment #9030809 - Flags: review?(jaws) → review+
Mentor: ntim.bugs
Status: NEW → ASSIGNED
Keywords: checkin-needed
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fcc5588a9a19
Remove glyph-dropdown{,@2x}.png and replace usages with arrow-dropdown-12.svg. r=jaws
Keywords: checkin-needed
Thanks for working on this Irvin! Bug 1509634 is pretty similar if you're looking for more bugs :)
Thank you for your guidance, I will definitely check it out!

(In reply to Tim Nguyen :ntim (please use needinfo?) from comment #10)
> Thanks for working on this Irvin! Bug 1509634 is pretty similar if you're
> looking for more bugs :)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
https://hg.mozilla.org/mozilla-central/rev/fcc5588a9a19
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.