Closed
Bug 886019
Opened 11 years ago
Closed 11 years ago
Need a better icon for .variables-view-delete
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: vporof, Assigned: vporof)
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(3 files, 1 obsolete file)
For some reason (after bug 873848) the existing icon was removed and we ended up using close-dark.png as a "delete icon" for items in the variables view. The previous asset was gray (just like the Firefox tabs close button on OS X), and the current "blurred red" looks really bad IMHO, especially because we play with its opacity.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
What do you think shorlander? Should we just revert to using the previous icon or do you have something special in mind?
Flags: needinfo?(shorlander)
Comment 3•11 years ago
|
||
My bad for not realizing that the tabview close icons are different on OSX. Reverting to the correct icon now.
Comment 4•11 years ago
|
||
Comment on attachment 766299 [details]
revert to correct close icon for osx
wrong patch.
Attachment #766299 -
Attachment is obsolete: true
Attachment #766299 -
Attachment is patch: false
Attachment #766299 -
Flags: review?(vporof)
Comment 5•11 years ago
|
||
Victor says he's taking care of this.
Assignee: scrapmachines → nobody
Status: ASSIGNED → NEW
Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Comment on attachment 766306 [details] [diff] [review] v1 Review of attachment 766306 [details] [diff] [review]: ----------------------------------------------------------------- Looks good on Linux. I just want to understand the js changes you did, see the question below. ::: browser/devtools/debugger/debugger-panes.js @@ +1392,5 @@ > closeNode.addEventListener("click", this._onClose, false); > inputNode.addEventListener("blur", this._onBlur, false); > inputNode.addEventListener("keypress", this._onKeyPress, false); > > + aElementNode.className = "dbg-expression"; why is this change needed? ::: browser/devtools/shared/widgets/VariablesView.jsm @@ +2372,5 @@ > if (ownerView.delete) { > if (!this._isUndefined || !(ownerView.getter && ownerView.setter)) { > let deleteNode = this._deleteNode = this.document.createElement("toolbarbutton"); > deleteNode.className = "plain variables-view-delete"; > + deleteNode.setAttribute("ordinal", 2); and this?
Attachment #766306 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Mihai Sucan [:msucan] from comment #7) > > ::: browser/devtools/debugger/debugger-panes.js > @@ +1392,5 @@ > > closeNode.addEventListener("click", this._onClose, false); > > inputNode.addEventListener("blur", this._onBlur, false); > > inputNode.addEventListener("keypress", this._onKeyPress, false); > > > > + aElementNode.className = "dbg-expression"; > > why is this change needed? The previous CSS selector required a .title before the variables view delete node for it to be hidden when not hovered. That's not required anymore, so I removed this extra now redundant class. > ::: browser/devtools/shared/widgets/VariablesView.jsm > @@ +2372,5 @@ > > if (ownerView.delete) { > > if (!this._isUndefined || !(ownerView.getter && ownerView.setter)) { > > let deleteNode = this._deleteNode = this.document.createElement("toolbarbutton"); > > deleteNode.className = "plain variables-view-delete"; > > + deleteNode.setAttribute("ordinal", 2); > > and this? Make sure the delete button always appears at the end. Right now when locks, F/S/N indicators etc. were present, the delete button position was not always the same for all items.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(shorlander)
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/e557dc258388
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e557dc258388
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → Firefox 24
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•