-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toggle hotkey #156
Comments
The "Auto hide" options panel has an area with options to "Show tab bar automatically when" containing a checkbox for "Control key is pressed a while" with a user-configurable delay. When enabled, holding the Control key on your keyboard for the duration specified will show the tab bar and releasing the Control key will hide it again. Is this not what you want? |
Hi. Most of the time that hotkey doesn't works. Isn't it possible to allow a custom key combination? Regards. Óscar -----Original Message----- The "Auto hide" options panel has an area with options to "Show tab bar automatically when" containing a checkbox for "Control key is pressed a while" with a user-configurable delay. When enabled, holding the Control key on your keyboard for the duration specified will show the tab bar and releasing the Control key will hide it again. Is this not what you want? Reply to this email directly or view it on GitHub: |
Works for me on Windows 7. As you've undoubtedly discovered, there is no configuration preference in the UI for the actual key used. Sounds like a good feature request. |
I'm running Windows 7 Enterprise x64. The Ctrl key works just occasionally, and moreover, it just shows the tabs until it's released, I think it will be more useful working in "sticky" mode, as a toggle key, and, of course, allowing the choose of other hotkey combinations. Regards. Óscar -----Original Message----- Works for me on Windows 7. As you've undoubtedly discovered, there is no configuration preference in the UI for the actual key used. Sounds like a good feature request. Reply to this email directly or view it on GitHub: |
"it just shows the tabs until it's released" "I think it will be more useful working in "sticky" mode, as a toggle key" Sorry, I'm on Win7 Pro SP1 x64 and am running Firefox 8.0. |
Sorry, but I can't find the feature request page. Óscar -----Original Message----- "it just shows the tabs until it's released" "I think it will be more useful working in "sticky" mode, as a toggle key" Sorry, I'm on Win7 Pro SP1 x64 and am running Firefox 8.0. Reply to this email directly or view it on GitHub: |
You can write a new thread in this Issues section with a feature request, similar in style to this one: |
Using pentadactyl i assign the following javascript to a hotkey for toggling. if(gBrowser.treeStyleTab.tabbarShown){gBrowser.treeStyleTab.hideTabbar()}else{gBrowser.treeStyleTab.showTabbar()} Might interest someone who wants this feature. |
@shmore, you Sir are fantastic. For anyone else interested, this is the full mapping I came up with:
|
Hi! I’ve used the proposed code in this issue for a long time in a custom keyboard shortcut, and it has worked great! However, since TST 0.16.2016021201 I’ve got a slight problem. Here’s how to reproduce it:
Expected: Nothing happens. This is how things used to work before TST 0.16.2016021201. Note: If you show the tab bar by moving the mouse to the edge of the screen and the press “a” the tab bar stays open as expected. I’d really like the tab bar not to hide when I press any key, because I have another custom keyboard shortcut that operates on the tabs and that shortcut is not useful if the tab bar is hidden. Is there a way to do this? Is there some specific change in the mentioned TST version that causes it? |
The following code is in the wiki: if (gBrowser.treeStyleTab.tabbarShown) {
gBrowser.treeStyleTab.hideTabbar();
} else {
gBrowser.treeStyleTab.showTabbar();
} A super easy way to try that out is by creating a new keyboard shortcut with the keyconfig extension. I used The code is supposed to toggle the tab bar. This is not the case anymore.
Expected: The tab bar hides. (That’s how it used to work.) Actual: The tab bar flashes and then remains shown. This is because when I press down alt, the tab bar hides (since TST seems to hide it when you press any key). When I press m, the in the custom shortcut code detects that the tab bar is hidden and therefore re-shows it. Basically, the Something has to be done about this in TST, or the wiki must be updated. Any thoughts, @piroor? I think this is pretty important since I got the impression that this is the most requested/used keyboard shortcut. (Providing a public API and letting people implement their own keyboard shortcuts is a great choice, BTW! 👍 ) |
Is there some hotkey for open close treestyletab?
The text was updated successfully, but these errors were encountered: