The Twitter Bootstrap theme implements logic that places menu local tasks in a dropdown under the default local task's tab. For an example, see the screenshot below of the search page, where the "Content" tab is a dropdown for the "Content" and "User" local tasks.

As mentioned in the screenshot, if you click on the "User" tab and want to go back to the "Content" tab, you have to first click on the "Content" tab and select the "Content" option in the dropdown. To me this interaction adds clicks and generally doesn't make sense for menu local tasks.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1850934-bootstrap-remove-all-dropdown-tasks-code.patch | 2.54 KB | smoothify |
| #1 | remove-local-task-dropdowns-1850934-1.patch | 1.23 KB | cpliakas |
| twitter-bootstrap-dropdown.jpg | 33.76 KB | cpliakas |
Comments
Comment #1
cpliakas commentedThe attached patch removes the logic that implements the dropdowns for local tasks.
Thanks for a great theme,
Chris
Comment #2
andregriffin commentedThis seems like a reasonable fix. The dropdowns were never really useful except for the Devel menu, so +1 from me for committing this. I'll make the commit if there's another +1.
Comment #3
frankbaele commented+1 from me, im commiting this
Comment #4
frankbaele commentedComment #5
cpliakas commentedExcellent. Thanks!
Chris
Comment #7
smoothify commentedRemoving this code left some orphan code in place. In bootstrap_preprocess_page, _bootstrap_local_tasks is called to populate the dropdown menu items. This means an expensive database call to the menu router table that is no longer necessary.
Here is a patch that removes them.
Comment #8
smoothify commentedComment #9
andregriffin commentedGood catch. Committed. Thanks.