Closed
Bug 1018078
Opened 11 years ago
Closed 9 years ago
Extra 1px left border when the inspector pick icon is disabled
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1226913
People
(Reporter: pbro, Assigned: wldcordeiro)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(3 files, 1 obsolete file)
14.23 KB,
image/png
|
Details | |
9.86 KB,
image/png
|
Details | |
919 bytes,
patch
|
Details | Diff | Splinter Review |
In the latest nightly build (since bug 991810)
STR:
- open the toolbox options tab
- unselect the "pick an element from the page" toolbox button
==> The first panel tab (inspector) is moved to the left hand side of the toolbox. Therefore its 1px left border should be removed.
Right now it looks a little weird with this border there.
Comment 1•9 years ago
|
||
filter on CLIMBING SHOES
Priority: -- → P3
Whiteboard: [good first bug][lang=css]
Comment 2•9 years ago
|
||
Screenshot of this issue in Firefox 48 on OSX.
Assignee | ||
Comment 3•9 years ago
|
||
I can take this if one of you would be willing to point me in the right direction for where in the codebase to look.
Flags: needinfo?(chevobbe.nicolas)
Comment 4•9 years ago
|
||
(In reply to Wellington Cordeiro from comment #3)
> I can take this if one of you would be willing to point me in the right
> direction for where in the codebase to look.
Sure, thanks !
So the border width on the toolbox button is set here : https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/toolbars.css#891
The "Pick an element" button is set here : https://dxr.mozilla.org/mozilla-central/source/devtools/client/framework/toolbox.xul#116 and here https://dxr.mozilla.org/mozilla-central/source/devtools/client/framework/toolbox.js#1033. By default, the button is hidden, and stays so when the option is unchecked.
One solution might be to set a moz-border-start-width: 0 on the first child of .toolbox-tabs , and set a moz-border-end on toolbarbutton#command-button-pick .
Flags: needinfo?(chevobbe.nicolas)
Assignee | ||
Comment 5•9 years ago
|
||
Thanks nchevobbe that should get me going just fine. You're welcome to assign me to this as I think I should have a patch in the next couple hours.
Updated•9 years ago
|
Assignee: nobody → wellington
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8749888 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 7•9 years ago
|
||
Nicolas, I created the patch but on my platform (Ubunutu Linux 16.04) I can't really recreate the issue as shown in the screenshot Florent shared.
Flags: needinfo?(chevobbe.nicolas)
Comment 8•9 years ago
|
||
Comment on attachment 8749888 [details] [diff] [review]
Bug1018078.patch
Review of attachment 8749888 [details] [diff] [review]:
-----------------------------------------------------------------
I haven't fully reviewed the code, because I believe that we are removing the ability to disable this button in bug 1226913
::: devtools/client/themes/toolbars.css
@@ +897,5 @@
> +.devtools-tab:first-child {
> + -moz-border-start-width: 0;
> +}
> +
> +toolbarbutton#command-button-pick {
Don't need the toolbarbutton portion of this selector
Attachment #8749888 -
Flags: review?(bgrinstead)
Comment 9•9 years ago
|
||
Nicolas / Patrick, please confirm that this is now a dupe of Bug 1226913
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8749888 -
Attachment is obsolete: true
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #8)
> Comment on attachment 8749888 [details] [diff] [review]
> Bug1018078.patch
>
> Review of attachment 8749888 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I haven't fully reviewed the code, because I believe that we are removing
> the ability to disable this button in bug 1226913
>
> ::: devtools/client/themes/toolbars.css
> @@ +897,5 @@
> > +.devtools-tab:first-child {
> > + -moz-border-start-width: 0;
> > +}
> > +
> > +toolbarbutton#command-button-pick {
>
> Don't need the toolbarbutton portion of this selector
Updated patch with that removed.
Comment 12•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #9)
> Nicolas / Patrick, please confirm that this is now a dupe of Bug 1226913
Indeed, if we remove the ability to disable the tool, this issue would not be visible. I was wondering if we have similar issue on the worker inspector, but it seems like not. Helen is currently working on the bug you linked so there's really no reason to fix this one now.
Wellington I'm sorry you had to work on this for nothing.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(chevobbe.nicolas)
Resolution: --- → DUPLICATE
See Also: → 1226913
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•