Closed
Bug 1190961
Opened 9 years ago
Closed 9 years ago
Change info-pages.css' placeholder icon to one that exists in toolkit/
Categories
(Toolkit :: Themes, defect)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: ntim, Assigned: c0mrad3, Mentored)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
See https://bugzilla.mozilla.org/show_bug.cgi?id=1087618#c76 .
We should use a file that exists on toolkit's side.
chrome://global/skin/icons/warning.svg seems like a good candidate.
Reporter | ||
Updated•9 years ago
|
Mentor: ntim.bugs
Whiteboard: [good first bug][lang=css]
Reporter | ||
Comment 1•9 years ago
|
||
In [0], chrome://browser/skin/aboutNetError_info.svg should be replaced with chrome://global/skin/icons/warning.svg
[0] : https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/info-pages.inc.css?from=info-pages.inc.css&offset=0#34
Assignee | ||
Comment 2•9 years ago
|
||
Hey I would like to work on this bug can You please assign this one to me
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8649939 -
Flags: review?(ntim.bugs)
Updated•9 years ago
|
Assignee: nobody → dhanvicse
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8649939 [details] [diff] [review]
Bug-1190961.patch
Review of attachment 8649939 [details] [diff] [review]:
-----------------------------------------------------------------
The patch looks good to me ! Thanks for the patch :)
I'm not a peer, so my r+ doesn't have much value, so I'm going to ask a peer to review this as well.
Can you change r=ntim to r=jaws,ntim to reflect the peer review ?
Attachment #8649939 -
Flags: review?(ntim.bugs)
Attachment #8649939 -
Flags: review?(jaws)
Attachment #8649939 -
Flags: review+
Comment 5•9 years ago
|
||
Comment on attachment 8649939 [details] [diff] [review]
Bug-1190961.patch
Review of attachment 8649939 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patch, but this changes the icon from a info (i) icon to a warning triangle /!\
I think we should just move the info icon from browser to toolkit.
Attachment #8649939 -
Flags: review?(jaws)
Attachment #8649939 -
Flags: review-
Attachment #8649939 -
Flags: review+
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to (Mostly away 9/11-9/23) Jared Wein [:jaws] (please needinfo? me) from comment #5)
> Comment on attachment 8649939 [details] [diff] [review]
> Bug-1190961.patch
>
> Review of attachment 8649939 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thanks for the patch, but this changes the icon from a info (i) icon to a
> warning triangle /!\
>
> I think we should just move the info icon from browser to toolkit.
I will send a patch again and try to fix it :) I will read the comments and understand the thing that I need to do :)
Assignee | ||
Comment 7•9 years ago
|
||
So my target is to just move the info icon from browser to toolkit.
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #5)
> Comment on attachment 8649939 [details] [diff] [review]
> Bug-1190961.patch
>
> Review of attachment 8649939 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thanks for the patch, but this changes the icon from a info (i) icon to a
> warning triangle /!\
that what was mentioned in comment 1, so I did the same
>
> I think we should just move the info icon from browser to toolkit.
so should I just move (did you mean move (mv) or copy ?) the icon ?
what is the paths that I need to move ?
also the icon might be used by some other files too na ? so is it a good idea to move the file ?
also if we copy the same file it increases the size of the source code too ?
Flags: needinfo?(ntim.bugs)
Flags: needinfo?(jaws)
Assignee | ||
Comment 9•9 years ago
|
||
hey Tim Nguyen can you please guide me with fixing this bug ?
Reporter | ||
Comment 10•9 years ago
|
||
(In reply to Tummala Dhanvi [:c0mrad3][UTC+5.30] from comment #9)
> hey Tim Nguyen can you please guide me with fixing this bug ?
Sorry for the huge delay.
You'll need to:
- Move aboutNetError_info.svg to toolkit/themes/shared/incontent-icons and rename it to info.svg
(You can do `hg rename browser/themes/shared/aboutNetError_info.svg toolkit/themes/shared/incontent-icons/info.svg`)
- Remove the reference to aboutNetError_info.svg from `browser/themes/shared/jar.inc.mn`
- Replace all the references to aboutNetError_info.svg to point to toolkit. The new path will be `chrome://global/skin/icons/info.svg`.
- Add a manifest entry to toolkit/themes/shared/jar.inc.mn for the new info.svg file, based on [0]
- At [1], you'll need to change the url to `chrome://global/skin/icons/info.svg`
[0]: https://hg.mozilla.org/mozilla-central/file/d53a52b39a95/toolkit/themes/shared/jar.inc.mn#l22
[1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/in-content/info-pages.inc.css?from=info-pages.inc.css&offset=0#34
Flags: needinfo?(ntim.bugs)
Flags: needinfo?(jaws)
Assignee | ||
Comment 12•9 years ago
|
||
okay I think I have enough information to fix this bug :)
I will attach a patch soon
Flags: needinfo?(dhanvicse)
Assignee | ||
Comment 13•9 years ago
|
||
Hope I have done it correct :)
Attachment #8649939 -
Attachment is obsolete: true
Flags: needinfo?(jaws)
Attachment #8684552 -
Flags: review?(jaws)
Comment 14•9 years ago
|
||
Comment on attachment 8684552 [details] [diff] [review]
Bug-1190961-v2.patch
Review of attachment 8684552 [details] [diff] [review]:
-----------------------------------------------------------------
This is close, but the SVG file is still referenced by aboutNetError.css and aboutSocialError.css. Both of those places will need to be updated as well. See http://mxr.mozilla.org/mozilla-central/search?string=aboutNetError_info.svg
Attachment #8684552 -
Flags: review?(jaws) → review-
Assignee | ||
Comment 15•9 years ago
|
||
Hope I am done this time :)
Attachment #8684552 -
Attachment is obsolete: true
Attachment #8686419 -
Flags: review?(jaws)
Comment 16•9 years ago
|
||
Comment on attachment 8686419 [details] [diff] [review]
Bug-1190961-v2.patch
Review of attachment 8686419 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks! And sorry for the delay on the review.
Attachment #8686419 -
Flags: review?(jaws) → review+
Updated•9 years ago
|
Flags: needinfo?(jaws)
Keywords: checkin-needed
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/5cb637976cf157ccbe39795017eba8f937aae9d5
Bug 1190961 - Change info-pages.css' placeholder icon to one that exists in toolkit/ r=jaws
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 18•9 years ago
|
||
Please do not set the resolved fixed status, it will be set by the sheriffs once the patch lands in mozilla-central.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Updated•9 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 19•9 years ago
|
||
okay!
Comment 20•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•