Add option to hide by default #75

rbu opened this Issue Aug 23, 2012 · 7 comments


None yet

6 participants

rbu commented Aug 23, 2012

The toolbar should have an option to start in hidden mode by default. Currently, it stores the shown/hidden mode in a 'hide' cookie value, but defaults to showing when the cookie is not present. This is rather annoying when you have to remove your cookies often (such as in acceptance tests or multi-browser/multi-profile setups).


I guess it could be a setting in .ini (i.e debugtoolbar.start_hidden). We are happy to take a pull request.


Sounds like this actually is minimized, not hidden.


The toolbar is minimized but not hidden, if you need it hidden then remove it from the includes ?

dwt commented Sep 6, 2012

@blaflamme: I think hidden is debugtoolbar parlance for 'minimized'.


I'm not clear on what this PR is asking for. Should the icon be minimized (which it is) or hidden entirely? We could probably add a setting debugtoolbar.inject_link which defaults to yes to prevent the button from being injected into the html at all - requiring you to manually visit /_debug_toolbar/ or waiting for an exception.


@mmerickel I have a feeling that this is related to the previous version of the toolbar, which had the whole panel on the left side of the screen.

Adding a way to disable the injection of the link would be neat though.

rbu commented May 28, 2014

I haven't been using the debug toolbar for a while. This related to when the debug toolbar was a side panel that opened by default until you hid it. If it now only displays a button by default, this issue can be closed.

@rbu rbu closed this May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment