Closed
Bug 949462
Opened 11 years ago
Closed 11 years ago
Twisties on scopes are invisible on Linux
Categories
(DevTools :: Object Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 33
People
(Reporter: past, Assigned: ntim)
References
Details
Attachments
(2 files, 2 obsolete files)
22.29 KB,
image/png
|
Details | |
4.40 KB,
patch
|
ntim
:
review+
ntim
:
ui-review+
|
Details | Diff | Splinter Review |
I'm not sure whether this is a result of the recent theme-ification of the variables view, or if it used to look like that, but it is very annoying. You can see in the attached screenshot that only selecting a scope makes the arrow visible. Both themes are affected, as the scope background seems to be the same.
Comment 1•11 years ago
|
||
It used to looks like that, and it definitely is pretty annoying.
Comment 2•11 years ago
|
||
(In reply to Victor Porof [:vp] from comment #1)
> It used to looks like that, and it definitely is pretty annoying.
Looks like there is an element with the 'arrow' class, which defines -moz-appearance: treetwisty - https://mxr.mozilla.org/mozilla-central/source/browser/themes/linux/devtools/widgets.css#642. I'm not really sure why this doesn't show up on Linux, but can you maybe try just setting a color on the element and see if it starts showing up?
Comment 3•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #2)
It *does* show up, but the color is so similar to the scope's header background that it's practically invisible.
Assignee | ||
Comment 4•11 years ago
|
||
This fixes the issue, and removes some useless Windows code.
Attachment #8436306 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ntim007
Status: NEW → ASSIGNED
Comment 5•11 years ago
|
||
Comment on attachment 8436306 [details] [diff] [review]
Patch v1
Review of attachment 8436306 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good on osx with the patch applied. I would like you to refactor this a bit, using the existing .theme-twisty class provided by the light and dark themes.
Panos, does this fix the issues you were seeing on Linux?
::: browser/themes/shared/devtools/widgets.inc.css
@@ +893,5 @@
> }
>
> /* Expand/collapse arrow */
>
> .arrow {
Could we just apply the 'theme-twisty' class to this object from js (in VariablesView.jsm) and only add the special margins needed using this selector: ".variables-view-container .theme-twisty"?
This would help clean up the code while still fixing the issue
Attachment #8436306 -
Flags: review?(bgrinstead) → ui-review?(past)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8436306 -
Attachment is obsolete: true
Attachment #8436306 -
Flags: ui-review?(past)
Attachment #8437183 -
Flags: ui-review?(past)
Attachment #8437183 -
Flags: review?(bgrinstead)
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8437183 [details] [diff] [review]
Patch v2
Review of attachment 8437183 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, this looks fine now. Thanks!
Attachment #8437183 -
Flags: ui-review?(past) → ui-review+
Comment 8•11 years ago
|
||
Comment on attachment 8437183 [details] [diff] [review]
Patch v2
Review of attachment 8437183 [details] [diff] [review]:
-----------------------------------------------------------------
Code changes look good to me
Attachment #8437183 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #9)
> Try push : https://tbpl.mozilla.org/?tree=Try&rev=c7e2fd3b03a5
The DevTools tests seem to be failing, do you know what might have happened here ?
Flags: needinfo?(bgrinstead)
Assignee | ||
Comment 11•11 years ago
|
||
Oh wait, I just figured it out myself. The tests check for the .arrow class.
Flags: needinfo?(bgrinstead)
Assignee | ||
Comment 12•11 years ago
|
||
Fixed failing tests.
Attachment #8437183 -
Attachment is obsolete: true
Attachment #8437846 -
Flags: ui-review+
Attachment #8437846 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 15•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•