Closed Bug 983721 Opened 10 years ago Closed 6 years ago

"Unsorted Bookmarks" icon should be blue for consistency

Categories

(Firefox :: Theme, defect)

x86_64
Windows 7
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alex_mayorga, Unassigned, Mentored)

References

Details

(Whiteboard: [Australis:P5][outreachy-12])

Attachments

(3 files, 2 obsolete files)

"Unsorted Bookmarks" icon shall be blue for consistency.
Attached image Bug-983721.png
Steven: need an updated icon for this
Flags: needinfo?(shorlander)
Summary: "Unsorted Bookmarks" icon shall be blue for consistency → "Unsorted Bookmarks" icon should be blue for consistency
Whiteboard: [Australis:P5]
Assignee: nobody → shorlander
Flags: needinfo?(shorlander)
Status: NEW → ASSIGNED
See Also: → 979930
Severity: normal → minor
Stephen, is this something we still want to do? Maybe could be mentored to some new ux contributor?
Flags: needinfo?(shorlander)
(In reply to Marco Bonardo [::mak] from comment #3)
> Stephen, is this something we still want to do? Maybe could be mentored to
> some new ux contributor?

Yes! We had all of the Windows places icons updated a few months ago for HiDPI and as part of the Windows 10 work. I would like to update them all at once and remove all of the various platform variations. We could change this bug into that or file a new one?

Attaching the assets. This is what they look like: http://people.mozilla.org/~shorlander/bugs/bug-983721-places-icons.png
Flags: needinfo?(shorlander)
I don't have preferences re: this bug VS a new bug.
who is responsible for this work? The UI quality team? Dolske can you evaluate this?
Flags: needinfo?(dolske)
This might be a good bug for Katie?
Flags: needinfo?(dolske) → needinfo?(jaws)
Yeah, this will be good. I've put it in our backlog.
Assignee: shorlander → nobody
Mentor: jaws
Status: ASSIGNED → NEW
Flags: needinfo?(jaws)
Whiteboard: [Australis:P5] → [Australis:P5][outreachy-12]
Glenn, would you like to work on this bug?
Flags: needinfo?(glenn28f)
Yes. I'll give it a try.
Flags: needinfo?(glenn28f)
Attached patch Changed the files (obsolete) — Splinter Review
I don't know if what I have done is right or not.
Flags: needinfo?(jaws)
Attachment #8786398 - Flags: review?(jaws)
Assignee: nobody → glenn28f
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Flags: needinfo?(glenn28f)
I think this one is okay.
While creating the previous patch there was a small issue.
Flags: needinfo?(glenn28f)
Attachment #8786458 - Flags: review?(jaws)
Comment on attachment 8786458 [details] [diff] [review]
Replaced unsortedBookmarks.png with the new file containing blue color.

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

Okay this patch was created correctly. Can you please update all of the other images that were in the ZIP file?
Attachment #8786458 - Flags: review?(jaws) → review-
I've added the other files too.
Attachment #8786398 - Attachment is obsolete: true
Attachment #8786458 - Attachment is obsolete: true
Attachment #8787334 - Flags: review?(jaws)
Comment on attachment 8787334 [details] [diff] [review]
Added files in windows/places/

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

Thanks for the updated patch. Still some files are missing and some CSS changes will need to be made.

The @2x versions will need to be defined in a "@media (min-resolution: 1.1dppx)" media query following their @1x (default) styling. When you add the files, they will also need to be added to their corresponding jar.mn file.

Need to be added along with CSS changes to use the @2x version:
browser/themes/windows/places/bookmarksMenu@2x.png
browser/themes/windows/places/bookmarksToolbar@2x.png
browser/themes/windows/places/bookmarksToolbar-menuPanel@2x.png
toolkit/themes/windows/global/dirListing/folder@2x.png
toolkit/themes/windows/global/icons/folder-item@2x.png
browser/themes/windows/places/libraryToolbar@2x.png
browser/themes/windows/livemark-folder@2x.png
browser/themes/windows/places/query@2x.png
browser/themes/windows/places/unsortedBookmarks@2x.png

Files still needing to be replaced:
browser/themes/windows/places/bookmarksToolbar-menuPanel.png
toolkit/themes/windows/global/dirListing/folder.png
toolkit/themes/windows/global/icons/folder-item.png
browser/themes/windows/livemark-folder.png

You can test out the @2x versions by going to about:config and changing layout.css.devPixelsPerPx to 1.25.
Attachment #8787334 - Flags: review?(jaws) → review-
Hey I have a small doubt. What is "%override chrome:// ....." in the jar.mn file?
Flags: needinfo?(jaws)
Here's a link to documentation about override, https://developer.mozilla.org/en-US/docs/Chrome_Registration#override

In short, when you see a line like:
> % override chrome://browser/skin/Info.png chrome://browser/skin/Info-XP.png os=WINNT osversion<6

What this is saying is that if the operating system is Windows and it is less than version 6, which would equal Windows XP and anything earlier, then use the Info-XP.png graphic instead of the Info.png graphic.

When "chrome://browser/skin/Info.png" is requested, because of the override "chrome://browser/skin/Info-XP.png" will actually be loaded.
Flags: needinfo?(jaws)
Glenn, can I help you here?
Flags: needinfo?(glenn28f)
Hi!
I have added the files in their respective folders and also made the changes in respective jar.mn files.
Im trying to figure out how to add the media@2x code to css.
Flags: needinfo?(glenn28f)
Great! Let me know if I should help you with adding the media@2x code to the CSS.
Would this code be correct for media@2x? :

media(min-resolution: 1.1dppx){
    #(respective id){
      list-style-image: url of 2x image;
    }
}
Yes, that's right :)
After you add that CSS, you can test out the @2x versions by going to about:config and changing layout.css.devPixelsPerPx to 1.25.
I'm able to change the css code on the browser as well as change the config while testing, but I don't know where to add the respective image files.
You should add the @2x images in the same directory that the regular images are in. The jar.mn file should say where they're located.
Hi Glenn, were you able to make any progress on this?
Flags: needinfo?(glenn28f)
Glenn messaged me through IRC and said that he wouldn't be able to work on this right now.
Assignee: glenn28f → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(glenn28f)
Component: Bookmarks & History → Theme
I believe we removed unsorted bookmarks, and most icons have been converted to monochrome SVGs.

Feel free to reopen if this is still valid.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: