Closed
Bug 947836
Opened 11 years ago
Closed 11 years ago
Non-toolbox devtools toolbars are grey
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: paul, Assigned: bgrins)
References
Details
(Keywords: regression, Whiteboard: [good first verify])
Attachments
(4 files, 1 obsolete file)
1.23 MB,
image/png
|
Details | |
12.27 KB,
patch
|
paul
:
review+
jwalker
:
ui-review+
past
:
ui-review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
111.78 KB,
image/png
|
Details | |
240.31 KB,
image/png
|
Details |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
Responsive mode and global developer toolbar are affected.
Assignee | ||
Comment 2•11 years ago
|
||
So it seems we need to move the toolbar styles into common.css to be included in the browser UI. I wonder if it would make sense to include toolbars.inc.css from common.css instead of cutting/pasting a bunch of styles across.
An additional issue is that we want to be able to theme these toolbars in the future (in Bug 942292) - we could wait until that bug to figure out those issues.
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Hardware: x86 → All
Reporter | ||
Comment 3•11 years ago
|
||
The devtools CSS code that will be included in browser.css should not come with any useless stuff (this code will be loaded by all the users).
The responsive mode toolbar has nothing in common with the toolbox.
The gcli toolbar will soon be killed, so no need to support the white theme.
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #3)
> The devtools CSS code that will be included in browser.css should not come
> with any useless stuff (this code will be loaded by all the users).
>
> The responsive mode toolbar has nothing in common with the toolbox.
> The gcli toolbar will soon be killed, so no need to support the white theme.
What do you mean the responsive mode toolbar has nothing in common with the toolbox - are you talking about not needing to theme it? It has the same devtools-toolbar class that is shared with the toolbox, and we will need to theme devtools-toolbar since it is used throughout devtools. Since the responsive panel is being loaded in browser.xul we need to move at least some of the styles across to common.css. I can go ahead and move the minimum needed to fix this regression instead of importing the whole file.
Assignee | ||
Comment 5•11 years ago
|
||
Move shared styles from toolbars.inc.css to common.css. Also copies over old background and border properties for .menulist-dropmarker to fix extra background on OSX.
Attachment #8344689 -
Flags: review?(paul)
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #4)
> (In reply to Paul Rouget [:paul] from comment #3)
> > The devtools CSS code that will be included in browser.css should not come
> > with any useless stuff (this code will be loaded by all the users).
> >
> > The responsive mode toolbar has nothing in common with the toolbox.
> > The gcli toolbar will soon be killed, so no need to support the white theme.
>
> What do you mean the responsive mode toolbar has nothing in common with the
> toolbox
If you look at the "look" of the responsive mode toolbar, it doesn't look like a devtools toolbar (it's transparent, you don't even see it).
> are you talking about not needing to theme it?
Yes.
> It has the same
> devtools-toolbar class that is shared with the toolbox, and we will need to
> theme devtools-toolbar since it is used throughout devtools. Since the
> responsive panel is being loaded in browser.xul we need to move at least
> some of the styles across to common.css. I can go ahead and move the
> minimum needed to fix this regression instead of importing the whole file.
What if we don't move the style, but write specific code for these toolbars (dropping the devtools-toolbar class)?
Assignee | ||
Comment 7•11 years ago
|
||
This patch removes the devtools-toolbar class from the responsive UI and commandline, and copies over existing styles to theme responsive UI. This way we avoid adding anything extra to common.css, which is loaded in the browser.
Attachment #8344689 -
Attachment is obsolete: true
Attachment #8344689 -
Flags: review?(paul)
Attachment #8344909 -
Flags: review?(paul)
Assignee | ||
Comment 8•11 years ago
|
||
Screenshot with patch applied
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
r+ assuming it looks good on Linux and Windows.
Attachment #8344909 -
Flags: review?(paul) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
Would you mind taking a look at the UI in Windows? This patch updates the GCLI bar and responsive view toolbars, they should look normal with it applied.
Attachment #8344909 -
Flags: ui-review?(scrapmachines)
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
Panos,
Can you take a look at this on Linux and let me know if the responsive mode buttons and gcli buttons look normal?
Attachment #8344909 -
Flags: ui-review?(past)
Attachment #8344909 -
Flags: superreview?
Comment 13•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
I don't think that super review is required :)
Attachment #8344909 -
Flags: superreview?
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #13)
> Comment on attachment 8344909 [details] [diff] [review]
> theme-toolbars-browser.patch
>
> I don't think that super review is required :)
Oops, thanks :)
Comment 15•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
Review of attachment 8344909 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good on stock Ubuntu.
Attachment #8344909 -
Flags: ui-review?(past) → ui-review+
Assignee | ||
Comment 16•11 years ago
|
||
Just noticed that chrome://browser/content/devtools/connect.xhtml is using the devtools-toolbarbutton class as well, so we may want to pull the copied changes in under .devtools-toolbarbutton instead of .devtools-responsiveui-toolbarbutton. May be a bit of confusion given the same class name, but otherwise the connect screen buttons will not get styled.
Blocks: 948324
Assignee | ||
Updated•11 years ago
|
Attachment #8344909 -
Flags: ui-review?(scrapmachines) → ui-review?(jwalker)
Comment 17•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
Looks good to me. Will attach screeny
Attachment #8344909 -
Flags: ui-review?(jwalker) → ui-review+
Comment 18•11 years ago
|
||
Assignee | ||
Comment 20•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/ea1f2c5da310
https://tbpl.mozilla.org/?tree=Fx-Team&rev=ea1f2c5da310
Whiteboard: [fixed-in-fx-team]
Comment 21•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Assignee | ||
Comment 22•11 years ago
|
||
Comment on attachment 8344909 [details] [diff] [review]
theme-toolbars-browser.patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 941673
User impact if declined: Responsive view and the browser console will have mismatching toolbar styles.
Testing completed (on m-c, etc.): Been on m-c since 12/16
Risk to taking this patch (and alternatives if risky): This patch changes the contents of browser.css, though the changes are all prefixed with devtools-. Basically a CSS only change (only removes a CSS class from the markup in browser.xul).
String or IDL/UUID changes made by this patch:
Attachment #8344909 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8344909 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 23•11 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Keywords: regression
Summary: Regression: Non-toolbox devtools toolbars are grey → Non-toolbox devtools toolbars are grey
Whiteboard: [good first verify]
Comment 24•11 years ago
|
||
I can confirm that toolbar icons looks normal in Firefox 29 Nightly.
Comment 25•11 years ago
|
||
(In reply to merihakar from comment #24)
> I can confirm that toolbar icons looks normal in Firefox 29 Nightly.
Thanks, would you mind also checking tomorrow's Aurora build?
Status: RESOLVED → VERIFIED
Comment 26•11 years ago
|
||
Sure, I can check.
Comment 27•11 years ago
|
||
I am not sure if I am on the latest Aurora build, however right now the problem still exists in Aurora. I will check again tomorrow morning.
Comment 28•11 years ago
|
||
Aurora looks fine too.
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•