Closed
Bug 989058
Opened 11 years ago
Closed 11 years ago
Some cumulative theme fixes
Categories
(DevTools :: General, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 31
People
(Reporter: rcampbell, Assigned: rcampbell)
References
Details
Attachments
(4 files, 1 obsolete file)
142.76 KB,
patch
|
fitzgen
:
review+
fitzgen
:
review+
|
Details | Diff | Splinter Review |
65.06 KB,
image/png
|
Details | |
27.68 KB,
image/png
|
Details | |
12.26 KB,
patch
|
Details | Diff | Splinter Review |
Devtools should have more chalupuiles in its chrome.
Assignee | ||
Updated•11 years ago
|
Group: mozilla-employee-confidential
Comment 1•11 years ago
|
||
Chrome is Lithophile, not Chalcophile.
I suspect that WAT, WONTFIX is a better response, but I'll start with WAT.
WAT?
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → rcampbell
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
Dave and I were joking about landing a Brushed Metal theme for April 1st.
I'll be the first to admit that April Fool's gags on the internet are cheap, annoying and a source of unpleasantness for a lot of people.
But a Brushed Metal Theme...
http://cl.ly/UhAG
If we agree to do this, we land this on Sunday, back it out on Monday after the nightly's been built.
I'm pretty on-the-fence about this. I don't want to hurt our reputation by letting our users think we might land something frivolous at any time. Then again, it's "just" nightly.
What do you all think?
Assignee | ||
Comment 4•11 years ago
|
||
oh, and in case anyone's wondering what a "chalupuiles" is, it is a fictional breakfast food from Taco Bell that is part Chilaquiles, part Chalupa. I made it up.
Assignee | ||
Comment 5•11 years ago
|
||
I'm just gonna wontfix this. It's a bad idea, though I had a giggle making it.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 6•11 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #3)
> Dave and I were joking about landing a Brushed Metal theme for April 1st.
>
> I'll be the first to admit that April Fool's gags on the internet are cheap,
> annoying and a source of unpleasantness for a lot of people.
>
> But a Brushed Metal Theme...
>
> http://cl.ly/UhAG
>
> If we agree to do this, we land this on Sunday, back it out on Monday after
> the nightly's been built.
>
> I'm pretty on-the-fence about this. I don't want to hurt our reputation by
> letting our users think we might land something frivolous at any time. Then
> again, it's "just" nightly.
>
> What do you all think?
Is that comic sans? +1 if it's comic sans.
Comment 7•11 years ago
|
||
Think we shouldn't be so brash and give this some more thought.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 8•11 years ago
|
||
I think this would actually be fun if it landed. People using Nightly *must* have a sense of humor, otherwise they wouldn't be on Nightly.
Assignee | ||
Comment 9•11 years ago
|
||
yeah, it's comic sans. (Purisa as a fallback for linux)
I dunno...
Comment 10•11 years ago
|
||
Will it be the default theme? Will it be a separate theme from light and dark? Will there be a doge-themed background-image for the options panel?
Doesn't really matter, just ship it (and then un-ship it or optionally hide it behind a pref)
Comment 11•11 years ago
|
||
It should probably be the only and default theme :)
Comment 12•11 years ago
|
||
(In reply to Victor Porof [:vporof][:vp] from comment #11)
> It should probably be the only and default theme :)
+1!
Comment 13•11 years ago
|
||
This really has to happen.
Comment 14•11 years ago
|
||
I've never been so delighted to read bugmail at 2am on a weekend.
Assignee | ||
Comment 15•11 years ago
|
||
seems like we have some semblance of consensus. I am suitably terrified.
This patch forcibly switches to the light theme and wedges the brushed metal into that theme. Comic Sans on the toolbars (purisa as fallback for linux).
One issue is the funny background edges in the breadcrumbs. Not sure I care? Anybody want to take a crack at it?
Assignee | ||
Comment 16•11 years ago
|
||
oh, and the options panel has only one theme option available: "Metal".
Comment 17•11 years ago
|
||
I'm also +1 on this!
Having a second theme in the options panel would be more "safe" and less likely to stir a firestorm, but in light of recent events I think even so a change in context would be actually welcome, and what we are mostly craving for right now is "fun".
Comment 18•11 years ago
|
||
Now I want to file a bug like "devtools should be more user friendly: adds more puppies in its chrome should do the job".
Comment 19•11 years ago
|
||
Comment on attachment 8398511 [details] [diff] [review]
brushed-metal
Review of attachment 8398511 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/framework/gDevTools.jsm
@@ +34,4 @@
>
> this._testing = false;
>
> + Services.prefs.setCharPref("devtools.theme", "light");
Instead of setting the pref here, I would suggest to modify theme-switching.js line 82 to just hardcode "light". This will have the bonus of it automatically switching back to their default afterwards.
Attachment #8398511 -
Flags: feedback+
Assignee | ||
Comment 20•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #19)
> Comment on attachment 8398511 [details] [diff] [review]
> brushed-metal
>
> Review of attachment 8398511 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/devtools/framework/gDevTools.jsm
> @@ +34,4 @@
> >
> > this._testing = false;
> >
> > + Services.prefs.setCharPref("devtools.theme", "light");
>
> Instead of setting the pref here, I would suggest to modify
> theme-switching.js line 82 to just hardcode "light". This will have the
> bonus of it automatically switching back to their default afterwards.
great suggestion. Was wondering if we could cache the previous setting somehow.
Comment 21•11 years ago
|
||
comic sans might be a *bit* much.
Comment 22•11 years ago
|
||
Comment on attachment 8398511 [details] [diff] [review]
brushed-metal
Review of attachment 8398511 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/framework/toolbox-options.xul
@@ -33,4 @@
> class="options-groupbox"
> data-pref="devtools.theme"
> orient="horizontal">
> - <radio value="light" label="&options.lightTheme.label;"/>
With my previous selection, the metal theme wouldn't be selected if your pref was dark. I would suggest to remove the data-pref from radio group, and set checked="true" on the metal theme. Also, it could be fun to include light and dark theme as disabled options:
<radiogroup id="devtools-theme-box"
class="options-groupbox"
orient="horizontal">
<radio checked="true" value="light" label="Metal"/>
<radio checked="false" disabled="true" value="light" label="&options.lightTheme.label;"/>
<radio checked="false" disabled="true" value="dark" label="&options.darkTheme.label;"/>
</radiogroup>
Comment 23•11 years ago
|
||
(In reply to Dave Camp (:dcamp) from comment #21)
> comic sans might be a *bit* much.
Comic Sans ties everything together. How can you look at this and not love it? https://www.dropbox.com/s/gk7p2s5goa34bsw/Screenshot%202014-03-31%2010.10.58.png
Updated•11 years ago
|
Priority: -- → P1
Comment 24•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #23)
Not enough Comic Sans. Needs more monospaced Comic Sans. Why aren't we funding a monospaced version of Comic Sans?
Comment 25•11 years ago
|
||
Comment on attachment 8398511 [details] [diff] [review]
brushed-metal
Review of attachment 8398511 [details] [diff] [review]:
-----------------------------------------------------------------
Oh, and if you want to fix the breadcrumb issue, widgets.inc.css line 162:
.theme-light #breadcrumb-separator-after,
.theme-light #breadcrumb-separator-before:after {
background: url("chrome://browser/skin/devtools/metal.jpg"); /* Toolbars */
}
Comment 26•11 years ago
|
||
Comment on attachment 8398511 [details] [diff] [review]
brushed-metal
Review of attachment 8398511 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/framework/toolbox-options.xul
@@ +33,4 @@
> class="options-groupbox"
> data-pref="devtools.theme"
> orient="horizontal">
> + <radio value="light" label="Metal"/>
A minor niggle perhaps but you're going to destroy blame for this line by doing this
Assignee | ||
Comment 27•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #26)
> Comment on attachment 8398511 [details] [diff] [review]
> brushed-metal
>
> Review of attachment 8398511 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/devtools/framework/toolbox-options.xul
> @@ +33,4 @@
> > class="options-groupbox"
> > data-pref="devtools.theme"
> > orient="horizontal">
> > + <radio value="light" label="Metal"/>
>
> A minor niggle perhaps but you're going to destroy blame for this line by
> doing this
even after we back this out?
Assignee | ||
Comment 28•11 years ago
|
||
Attachment #8399486 -
Flags: review?(dcamp)
Assignee | ||
Comment 29•11 years ago
|
||
Assignee | ||
Comment 30•11 years ago
|
||
Comment 31•11 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #27)
> (In reply to Dave Townsend (:Mossop) from comment #26)
> > Comment on attachment 8398511 [details] [diff] [review]
> > brushed-metal
> >
> > Review of attachment 8398511 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > ::: browser/devtools/framework/toolbox-options.xul
> > @@ +33,4 @@
> > > class="options-groupbox"
> > > data-pref="devtools.theme"
> > > orient="horizontal">
> > > + <radio value="light" label="Metal"/>
> >
> > A minor niggle perhaps but you're going to destroy blame for this line by
> > doing this
>
> even after we back this out?
Yes, the backout will cause the blame for that line to just be the backout changeset.
Comment 32•11 years ago
|
||
Comment on attachment 8399486 [details] [diff] [review]
brushed-metal
r+ and preemptive r+ for the backout.
Attachment #8399486 -
Flags: review?(dcamp) → review+
Comment 33•11 years ago
|
||
Comment on attachment 8399486 [details] [diff] [review]
brushed-metal
Review of attachment 8399486 [details] [diff] [review]:
-----------------------------------------------------------------
8 lines of context Rob, geez!
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
::: browser/devtools/framework/toolbox-options.xul
@@ +34,3 @@
> orient="horizontal">
> + <radio checked="true" value="light" label="Metal"/>
> + <radio checked="false" disabled="true" value="light" label="&options.lightTheme.label;"/>
If you're just modifying the light theme, maybe it makes sense to remove the light theme option?
::: browser/devtools/shared/theme-switching.js
@@ +79,4 @@
> const StylesheetUtils = devtools.require("sdk/stylesheet/utils");
>
> let theme = Services.prefs.getCharPref("devtools.theme");
> + switchTheme("light");
Can we add a date check for April first and only do the metal theme that day?
This would require some refactoring, I suppose.
Attachment #8399486 -
Flags: review?(dcamp)
Attachment #8399486 -
Flags: review+
Comment 34•11 years ago
|
||
Comment on attachment 8399486 [details] [diff] [review]
brushed-metal
Woops, didn't mean to undo dcamp's r+
Attachment #8399486 -
Flags: review?(dcamp) → review+
Assignee | ||
Comment 35•11 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] from comment #33)
> Comment on attachment 8399486 [details] [diff] [review]
> brushed-metal
>
> Review of attachment 8399486 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> 8 lines of context Rob, geez!
>
> https://developer.mozilla.org/en-US/docs/
> Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-
> in_for_me.3F
>
> ::: browser/devtools/framework/toolbox-options.xul
> @@ +34,3 @@
> > orient="horizontal">
> > + <radio checked="true" value="light" label="Metal"/>
> > + <radio checked="false" disabled="true" value="light" label="&options.lightTheme.label;"/>
>
> If you're just modifying the light theme, maybe it makes sense to remove the
> light theme option?
>
> ::: browser/devtools/shared/theme-switching.js
> @@ +79,4 @@
> > const StylesheetUtils = devtools.require("sdk/stylesheet/utils");
> >
> > let theme = Services.prefs.getCharPref("devtools.theme");
> > + switchTheme("light");
>
> Can we add a date check for April first and only do the metal theme that day?
>
> This would require some refactoring, I suppose.
sadly no. It'd require the addition of a full brushed-metal theme and we just don't have that kinda time.
Assignee | ||
Updated•11 years ago
|
Summary: Deploy the Chalupuiles → Some cumulative theme fixes
Updated•11 years ago
|
Attachment #8398511 -
Attachment is obsolete: true
Comment 36•11 years ago
|
||
This is so metal. Looks good on Windows.
Comment 37•11 years ago
|
||
(In reply to Brandon Benvie [:benvie] from comment #36)
> This is so metal. Looks good on Windows.
Define "good"
Assignee | ||
Comment 38•11 years ago
|
||
"metal"
Assignee | ||
Comment 39•11 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [fixed-in-fx-team] → [fixed-in-fx-team][backout on apr 1st!]
Comment 40•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #37)
> (In reply to Brandon Benvie [:benvie] from comment #36)
> > This is so metal. Looks good on Windows.
>
> Define "good"
Looks metal with an excellent new typography choice.
Comment 41•11 years ago
|
||
*realises that this will ruin getting a screencast of the new add-on debugger done tomorrow*
Comment 42•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #41)
> *realises that this will ruin getting a screencast of the new add-on
> debugger done tomorrow*
I don't see why.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [fixed-in-fx-team][backout on apr 1st!] → [fixed-in-fx-team][backout on apr 1st!][leave open]
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team][backout on apr 1st!][leave open] → [backout on apr 1st!][leave open]
Target Milestone: --- → Firefox 31
Comment 44•11 years ago
|
||
(leave open)
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Whiteboard: [backout on apr 1st!][leave open] → [backout on apr 1st!][leave-open]
Comment 45•11 years ago
|
||
This is really good april's fool joke. Funny enough that I had to back it out today on my local repo. :) it's THAT good.
Assignee | ||
Updated•11 years ago
|
Group: mozilla-employee-confidential
![]() |
||
Comment 47•11 years ago
|
||
Sorry to be that guy, but not allowing to change theme at all was to take this a bit too far. It's funny until you try to use it.
Assignee | ||
Comment 48•11 years ago
|
||
Assignee | ||
Comment 49•11 years ago
|
||
Whiteboard: [backout on apr 1st!][leave-open] → [backed-out-in-fx-team]
Comment 50•11 years ago
|
||
Nice joke :)
Comment 51•11 years ago
|
||
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Keywords: leave-open
Resolution: --- → FIXED
Whiteboard: [backed-out-in-fx-team]
Assignee | ||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Comment 52•11 years ago
|
||
The following changeset is now in Firefox Nightly:
> a4fbdc403e0f Bug 989058 - Some cumulative theme fixes - BACKOUTOMG; r=dcamp,#developers
Nightly Build Information:
ID: 20140402030201
Changeset: 4941a2ac0786109b08856738019b016a6c5a66a6
Version: 31.0a1
TBPL: https://tbpl.mozilla.org/?rev=4941a2ac0786
URL: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central
Download Links:
> Linux x86: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.linux-i686.tar.bz2
> Linux x86_64: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.linux-x86_64.tar.bz2
> Linux x86_64 ASAN: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.linux-x86_64-asan.tar.bz2
> Mac: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.mac.dmg
> Win32: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.win32.installer.exe
> Win64: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-02-03-02-01-mozilla-central/firefox-31.0a1.en-US.win64-x86_64.installer.exe
Previous Nightly Build Information:
ID: 20140401030203
Changeset: 1417d180a1d8665b1a91b897d1cc4cc31e7980d4
Version: 31.0a1
TBPL: https://tbpl.mozilla.org/?rev=1417d180a1d8
URL: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/04/2014-04-01-03-02-03-mozilla-central
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•