Closed
Bug 1200104
Opened 9 years ago
Closed 8 years ago
"Collapse sidebar" faulty when pane is below tree
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1189492
People
(Reporter: darktrojan, Unassigned)
References
Details
Attachments
(1 file)
44.90 KB,
image/png
|
Details |
If the toolbox is so narrow that the tree and sidebar are vertically stacked, the "collapse sidebar" button doesn't work as intended. Instead it makes the pane wider and overflow the window.
Reporter | ||
Comment 1•9 years ago
|
||
Here's a screenshot.
Comment 2•9 years ago
|
||
Ah, good catch. The intention was that this button should be hidden entirely when the sidebar is displayed below the inspector (vertically stacked), and this actually happens correctly when you switch to side docking, but it doesn't happen when you resize the toolbox as explained in comment 0. This is where the button gets hidden: https://dxr.mozilla.org/mozilla-central/rev/f2518b8a7b97b5bb477e94bc9131584007aac887/browser/devtools/inspector/inspector-panel.js#946 The other solution would be to keep the button but make it collapse the sidebar to the bottom rather than to the side, but that's for another bug.
Reporter | ||
Comment 3•9 years ago
|
||
Originally I thought the lack of a button when docked to the side was a bug too and was going to file it until I saw that it was deliberate. Personally I think the function is so useful it should always be available.
Comment 4•9 years ago
|
||
Good point, I've filed bug 1200179
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•