Closed
Bug 884821
Opened 11 years ago
Closed 11 years ago
Can't reinspect objects in Scratchpad
Categories
(DevTools Graveyard :: Scratchpad, defect)
DevTools Graveyard
Scratchpad
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: vporof, Assigned: bbenvie)
Details
Attachments
(1 file, 3 obsolete files)
3.75 KB,
patch
|
Details | Diff | Splinter Review |
STR: 1. Open scratchpad 2. Type "window" without quotes 3. Ctrl/Cmd+I 4. Escape 5. Ctrl/Cmd+I The sidebar containing the variables view doesn't reopen. No errors in the Browser Console.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bbenvie
Assignee | ||
Comment 1•11 years ago
|
||
Bugs that are fixed solely by deleting code are fun.
Attachment #764863 -
Flags: review?(vporof)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 764863 [details] [diff] [review] sidebar bugfix Review of attachment 764863 [details] [diff] [review]: ----------------------------------------------------------------- Um.. This looks alright but I don't get it :) Was there a but in the sidebar's hide/show methods? I think paul wrote that code, you should have a chat with him. Also, how about writing a test for this so we don't regress it in the future?
Attachment #764863 -
Flags: review?(vporof) → feedback+
Reporter | ||
Comment 3•11 years ago
|
||
And apart from buts you should also talk with paul about bugs.
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Victor Porof [:vp] from comment #2) > Um.. This looks alright but I don't get it :) I thought I did, but it appears I accidentally got a working solution rather than being correct in my understanding of why it was broken. > Was there a but in the sidebar's hide/show methods? I think paul wrote that > code, you should have a chat with him. I don't believe so. Upon closer examination, if EITHER the tabbox is hidden/shown OR the splitter is collapsed/uncollapsed, it works fine. But if BOTH are done, then it never reopens. So I'm chalking it up to the some interaction between the XUL element states of the splitter and the tabbox. > Also, how about writing a test for this so we don't regress it in the future? Good call. Now that I correctly understand what happened I'll add a test.
Assignee | ||
Comment 5•11 years ago
|
||
* Use the ToolSidebar's hide/show mechanism instead of the splitter * Add tests that confirm the behavior of showing/hiding the inspection sidebar
Attachment #764863 -
Attachment is obsolete: true
Attachment #764937 -
Flags: review?(vporof)
Assignee | ||
Comment 6•11 years ago
|
||
Make it a patch <:|
Attachment #764937 -
Attachment is obsolete: true
Attachment #764937 -
Flags: review?(vporof)
Attachment #764940 -
Flags: review?(vporof)
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 764940 [details] [diff] [review] better sidebar bugfix Review of attachment 764940 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/scratchpad/scratchpad.xul @@ +287,5 @@ > > <notificationbox id="scratchpad-notificationbox" flex="1"> > <hbox flex="1"> > <vbox id="scratchpad-editor" flex="1"/> > + <splitter class="devtools-side-splitter" collapse="after"/> I think you can also remove the collapse attribute.
Attachment #764940 -
Flags: review?(vporof) → review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [land-in-fx-team]
Reporter | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/1663fa5bc540
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1663fa5bc540
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•