firebug / firebug.next

Next Firebug generation built on top of native Firefox developer tools
Other
229 stars 37 forks source link

Clearing the console collapses Command Editor #397

Open SebastianZ opened 9 years ago

SebastianZ commented 9 years ago

Pressing the Clear button or hitting Alt + R within the Console panel collapses the Command Editor.

fflorent commented 8 years ago

That's because of the platform clearOutput function: https://github.com/mozilla/gecko-dev/blob/0cccf0ed585deed2a261432dc2e3828684e9fae6/devtools/client/webconsole/webconsole.js#L3901

Maybe worth to suggest them a patch so they can handle the case when an addon adds another sidebar panel so it is not destroyed.

ping @janodvarko

Florent

fflorent commented 8 years ago

Or probably worth to monkeypatch.

Florent

fflorent commented 8 years ago

WIP above. It mostly work, but if we unapply the firebug theme, the Variable View cannot be open anymore.

Florent

janodvarko commented 8 years ago

but if we unapply the firebug theme, the Variable View cannot be open anymore.

What if you manually execute _sidebarDestroy() when Firebug theme is unapplied?

Honza