Closed Bug 1009145 Opened 11 years ago Closed 11 years ago

HDPI support for Debugger icons

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: ntim, Assigned: ntim)

References

Details

Attachments

(1 file, 7 obsolete files)

No description provided.
Component: Developer Tools → Developer Tools: Debugger
OS: Windows 8.1 → All
Hardware: x86_64 → All
Assignee: nobody → ntim007
Status: NEW → ASSIGNED
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
Here's what this patch does : - Fixes the blank sidebar button :active state on Windows - Adds HDPI support for the debugger What I haven't done yet : - Add HDPI support the source editor icons (inside the debugger) - Add HDPI support for the toggle breakpoints button (as there is no asset)
Attachment #8423314 - Flags: feedback?(bgrinstead)
Attached patch Patch v1.1 (obsolete) (deleted) — Splinter Review
Now with r=bgrins in the commit message.
Attachment #8423314 - Attachment is obsolete: true
Attachment #8423314 - Flags: feedback?(bgrinstead)
Attachment #8423339 - Flags: feedback?(bgrinstead)
Attached patch Patch v1.2 (obsolete) (deleted) — Splinter Review
Now with debugger toggle breakpoint HDPI icon (found it in original implementation bug)
Attachment #8423339 - Attachment is obsolete: true
Attachment #8423339 - Flags: feedback?(bgrinstead)
Attachment #8423379 - Flags: review?(bgrinstead)
(In reply to Tim Nguyen [:ntim] from comment #3) > Created attachment 8423379 [details] [diff] [review] > Patch v1.2 > > Now with debugger toggle breakpoint HDPI icon (found it in original > implementation bug) How did you find that :)? I looked around for it in Bug 837188 and couldn't find it.
Comment on attachment 8423379 [details] [diff] [review] Patch v1.2 Review of attachment 8423379 [details] [diff] [review]: ----------------------------------------------------------------- I'm getting an error applying the patch: `1 out of 5 hunks FAILED -- saving rejects to file browser/themes/shared/devtools/debugger.inc.css.rej`. Can you pull down the latest code and rebase?
Attachment #8423379 - Flags: review?(bgrinstead)
Attached patch Patch v2 (obsolete) (deleted) — Splinter Review
Rebased and now includes new HDPI source editor icons (breakpoint and debug-location).
Attachment #8423379 - Attachment is obsolete: true
Attachment #8423417 - Flags: review?(bgrinstead)
Attached patch Patch v2.1 (obsolete) (deleted) — Splinter Review
Fixed small issue on Variables view
Attachment #8423417 - Attachment is obsolete: true
Attachment #8423417 - Flags: review?(bgrinstead)
Attachment #8423420 - Flags: review?(bgrinstead)
Comment on attachment 8423420 [details] [diff] [review] Patch v2.1 Review of attachment 8423420 [details] [diff] [review]: ----------------------------------------------------------------- Hmm, now I'm getting rejects on the jar.mn files. Looks like an easy fix, but would you mind updating the patch?
(In reply to Brian Grinstead [:bgrins] from comment #8) > Comment on attachment 8423420 [details] [diff] [review] > Patch v2.1 > > Review of attachment 8423420 [details] [diff] [review]: > ----------------------------------------------------------------- > > Hmm, now I'm getting rejects on the jar.mn files. Looks like an easy fix, > but would you mind updating the patch? Sorry, didn't mention it, you need to apply it on top of bug 1009002 (which will land soon).
Flags: needinfo?(bgrinstead)
(In reply to Tim Nguyen [:ntim] from comment #9) > (In reply to Brian Grinstead [:bgrins] from comment #8) > > Comment on attachment 8423420 [details] [diff] [review] > > Patch v2.1 > > > > Review of attachment 8423420 [details] [diff] [review]: > > ----------------------------------------------------------------- > > > > Hmm, now I'm getting rejects on the jar.mn files. Looks like an easy fix, > > but would you mind updating the patch? > > Sorry, didn't mention it, you need to apply it on top of bug 1009002 (which > will land soon). Ah, got it. No problem
Depends on: 1009002
Flags: needinfo?(bgrinstead)
(In reply to Brian Grinstead [:bgrins] from comment #4) > (In reply to Tim Nguyen [:ntim] from comment #3) > > Created attachment 8423379 [details] [diff] [review] > > Patch v1.2 > > > > Now with debugger toggle breakpoint HDPI icon (found it in original > > implementation bug) > > How did you find that :)? I looked around for it in Bug 837188 and couldn't > find it. It was in Bug 815280 ;)
Comment on attachment 8423420 [details] [diff] [review] Patch v2.1 Review of attachment 8423420 [details] [diff] [review]: ----------------------------------------------------------------- Make sure all the 2x files are added. I'm seeing this when building: RuntimeError: File "../shared/devtools/images/editor-breakpoint@2x.png"
Attachment #8423420 - Flags: review?(bgrinstead)
Also, I'm curious - are you checking these locally with 2x display as you work on these patches?
(In reply to Brian Grinstead [:bgrins] from comment #13) > Also, I'm curious - are you checking these locally with 2x display as you > work on these patches? Well, I don't have a retina display. But I do use one of these techniques (on Windows) : - about:config layout.css.devPixelsPerPx - Simply zoom in inside the toolbox (it also emulates the retina assets at 200%)
Attached patch Patch v2.2 (obsolete) (deleted) — Splinter Review
Fixed missing images. Hopefully this one is final ;)
Attachment #8423420 - Attachment is obsolete: true
Attachment #8423945 - Flags: review?(bgrinstead)
Blocks: 1011173
Comment on attachment 8423945 [details] [diff] [review] Patch v2.2 Asking victor for review since this is affecting the debugger ui.
Attachment #8423945 - Flags: review?(bgrinstead) → review?(vporof)
Comment on attachment 8423945 [details] [diff] [review] Patch v2.2 Review of attachment 8423945 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/devtools/debugger.inc.css @@ +585,5 @@ > min-height: 1em !important; > padding: 0 !important; > } > > +#debugger-toolbar .devtools-toolbarbutton > .toolbarbutton-icon, This rule should also be #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon, right? @@ +661,5 @@ > #instruments-pane-toggle[pane-collapsed] { > list-style-image: url(debugger-expand.png); > } > > +#instruments-pane-toggle:hover { Why was this changed to :hover? ::: browser/themes/windows/devtools/debugger.css @@ -12,5 @@ > - -moz-image-region: rect(0px,32px,16px,16px); > -} > - > -#instruments-pane-toggle:hover:active { > - -moz-image-region: rect(0px,48px,16px,32px); Aren't these changed in a different patch?
Attachment #8423945 - Flags: review?(vporof) → review+
Comment on attachment 8423945 [details] [diff] [review] Patch v2.2 Review of attachment 8423945 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/windows/devtools/debugger.css @@ -12,5 @@ > - -moz-image-region: rect(0px,32px,16px,16px); > -} > - > -#instruments-pane-toggle:hover:active { > - -moz-image-region: rect(0px,48px,16px,32px); Actually, yeah. The same thing is just being removed in Bug 1011727
Depends on: 1011727
(In reply to Brian Grinstead [:bgrins] from comment #18) > Comment on attachment 8423945 [details] [diff] [review] > Patch v2.2 > > Review of attachment 8423945 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/themes/windows/devtools/debugger.css > @@ -12,5 @@ > > - -moz-image-region: rect(0px,32px,16px,16px); > > -} > > - > > -#instruments-pane-toggle:hover:active { > > - -moz-image-region: rect(0px,48px,16px,32px); > > Actually, yeah. The same thing is just being removed in Bug 1011727 Can you revert the change for windows/debugger.css? This will be handled in another bug
(In reply to Victor Porof [:vporof][:vp] from comment #17) > Comment on attachment 8423945 [details] [diff] [review] > Patch v2.2 > > Review of attachment 8423945 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/themes/shared/devtools/debugger.inc.css > @@ +585,5 @@ > > min-height: 1em !important; > > padding: 0 !important; > > } > > > > +#debugger-toolbar .devtools-toolbarbutton > .toolbarbutton-icon, > > This rule should also be > #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon, > right? Is there even a font icon in #debugger-toolbar ? The :not([label]) is for the prettify icon. Or should I do the change anyway ?
Flags: needinfo?(vporof)
Attached patch Patch v2.3 (r=vporof) (obsolete) (deleted) — Splinter Review
Went ahead with the :not([label]) change as it won't affect anything. Also rebased my patch on top of Bug 1011727
Attachment #8423945 - Attachment is obsolete: true
Attachment #8424203 - Flags: review+
Flags: needinfo?(vporof)
Keywords: checkin-needed
Attached patch Patch v2.4 (r=vporof) (deleted) — Splinter Review
Didn't realize one change didn't get applied.
Attachment #8424203 - Attachment is obsolete: true
Attachment #8424205 - Flags: review+
(In reply to Tim Nguyen [:ntim] from comment #22) > Created attachment 8424205 [details] [diff] [review] > Patch v2.4 (r=vporof) > > Didn't realize one change didn't get applied. You will need a push to try. Do you have access to the try server?
Keywords: checkin-needed
(In reply to Brian Grinstead [:bgrins] from comment #23) > (In reply to Tim Nguyen [:ntim] from comment #22) > > Created attachment 8424205 [details] [diff] [review] > > Patch v2.4 (r=vporof) > > > > Didn't realize one change didn't get applied. > > You will need a push to try. Do you have access to the try server? Nope :( I was gonna ask for access, although, I have no idea how to create an SSH key.
Can you provide a try link for me please ? Thanks :) And if needed, can you also do it for bug 1011249 please ?
Flags: needinfo?(bgrinstead)
Keywords: checkin-needed
(In reply to Tim Nguyen [:ntim] from comment #24) > (In reply to Brian Grinstead [:bgrins] from comment #23) > > (In reply to Tim Nguyen [:ntim] from comment #22) > > > Created attachment 8424205 [details] [diff] [review] > > > Patch v2.4 (r=vporof) > > > > > > Didn't realize one change didn't get applied. > > > > You will need a push to try. Do you have access to the try server? > > Nope :( I was gonna ask for access, although, I have no idea how to create > an SSH key. You should request access to for try so you can push these. There is a tutorial for creating the keys on windows here: https://help.github.com/articles/generating-ssh-keys#platform-windows. Then follow the instructions here to request commit access level 1: https://www.mozilla.org/hacking/committer/ - I will vouch for you.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Depends on: 1013551
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: