Closed
Bug 870602
Opened 12 years ago
Closed 11 years ago
Disable lightweight themes when in customization mode
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: jaws, Assigned: jaws)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:M7])
Attachments
(2 files, 4 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
Followup from bug 869101, when a lightweight theme is applied it doesn't look so good.
Updated•12 years ago
|
Blocks: australis-cust
Assignee | ||
Comment 2•12 years ago
|
||
Mike, can you explain what weirdness you were seeing? Is it only on osx or linux? This is what I get on Windows, http://screencast.com/t/BFqrR4kVl6
I'll kick off a linux build now to test it out there.
Flags: needinfo?(mconley)
Comment 3•12 years ago
|
||
I think this is what I was seeing - the buttons look strange, and the selected tab still shows the lw-theme.
Flags: needinfo?(mconley)
Assignee | ||
Updated•12 years ago
|
OS: All → Mac OS X
Assignee | ||
Comment 4•12 years ago
|
||
This allows the lightweight theme to continue to show when in customization mode.
The toolbarbuttons will need a bit more work.
Attachment #758177 -
Flags: review?(mconley)
Assignee | ||
Comment 5•12 years ago
|
||
This combines the previous patch as well as a fix for the toolbarbuttons. It looks like we only need to handle the unified-back-forward button as special now.
Attachment #758177 -
Attachment is obsolete: true
Attachment #758177 -
Flags: review?(mconley)
Attachment #758206 -
Flags: review?(mconley)
Comment 6•11 years ago
|
||
Comment on attachment 758206 [details] [diff] [review]
Patch
Personally, I think we should essentially disable the LWT when entering customization mode. I'll add a screenshot to back this up in a bit, but essentially, because the background only stretches to a little bit below the toolbar area, and in customization mode might not even fully reach the bottom of it if the user has extra toolbars from add-ons etc., it ends up looking quite unpolished, especially without the grid texture etc.
I'm wondering if the easiest fix wouldn't be just disabling the LWT for the duration of customization, using some JS?
Attachment #758206 -
Flags: review-
Assignee | ||
Comment 8•11 years ago
|
||
Yeah, lightweight themes don't look that good since they are missing the rest of the browser window. I do however think applying a lightweight theme here is nice because it shows what the browser will look like when customization is exited (better idea of direct manipulation if we can show the user what the outcome will be after customization).
Maybe we could fade the lightweight theme out after the tab strip and show the grid for the bottom half of the browser? I'm not sure how hard that would be. Maybe apply an SVG mask to do this, but that sounds like a great way to make entering customization mode janky.
Turning off lightweight themes while in customization mode seems like the easier and simpler approach. I'll update the patch.
Comment 9•11 years ago
|
||
Comment on attachment 758206 [details] [diff] [review]
Patch
Clearing review request.
Attachment #758206 -
Flags: review?(mconley)
Assignee | ||
Comment 10•11 years ago
|
||
This patch disables lightweight themes when in customization mode, as well as fixing the look of the buttons while in the menu panel and toolbar buttons.
Attachment #758206 -
Attachment is obsolete: true
Attachment #758614 -
Attachment is obsolete: true
Attachment #758875 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 11•11 years ago
|
||
I forgot to mention that this patch is dependent on the patch in bug 879994.
Comment 12•11 years ago
|
||
Comment on attachment 758875 [details] [diff] [review]
Patch v2
This looks like the same patch you had before; it doesn't call the method you added in bug 879994... Clearing review request for now.
Attachment #758875 -
Flags: review?(gijskruitbosch+bugs)
Updated•11 years ago
|
Whiteboard: [Australis:M6] → [Australis:M7]
Assignee | ||
Updated•11 years ago
|
Summary: (Australis) Investigate awkward looking mix between lightweight themes and the new customization UI → Disable lightweight themes when in customization mode
Assignee | ||
Comment 13•11 years ago
|
||
I don't think lazily loading LightweightThemeManager.jsm will help much here because it's always referenced in enter() and exit(), but I can change that if you think it would still be beneficial.
Attachment #758875 -
Attachment is obsolete: true
Attachment #759836 -
Flags: review?(bmcbride)
Comment 14•11 years ago
|
||
Comment on attachment 759836 [details] [diff] [review]
Patch v2.1
Review of attachment 759836 [details] [diff] [review]:
-----------------------------------------------------------------
Nah, don't think there's much point in lazy-loading it. As you said, its always called in enter() anyway, and we're careful to only load CustomizeMode.jsm module when enter() is about to be called. And anyway, LightweightthemeManager.jsm is already guaranteed to be loaded on startup by the Add-ons Manager - that's the biggest concern.
Attachment #759836 -
Flags: review?(bmcbride) → review-
Comment 15•11 years ago
|
||
Comment on attachment 759836 [details] [diff] [review]
Patch v2.1
Review of attachment 759836 [details] [diff] [review]:
-----------------------------------------------------------------
How did I get here, I'm not good at Bugzilla.
Attachment #759836 -
Flags: review- → review+
Assignee | ||
Comment 16•11 years ago
|
||
OS: Mac OS X → All
Whiteboard: [Australis:M7] → [Australis:M7][fixed-in-ux]
Comment 18•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M7][fixed-in-ux] → [Australis:M7]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•