Left/right tab after closing another tab
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 19
- Joined: 2008-06-27, 07:34 UTC
Left/right tab after closing another tab
Could you add an option to choose whether user wants to switch to left or right neighbor tab after closing one?
It irritates me, allways close tab and switch back ;o) This applies when using mostly keyboard, not mouse - i know about middle-mouse button.
Thank you.
It irritates me, allways close tab and switch back ;o) This applies when using mostly keyboard, not mouse - i know about middle-mouse button.
Thank you.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
This behaviour is annoying. Though I would prefer it to go to the last active tab (which in many cases is to the Left and not the right).
It's most noticeable when you duplicate a tab, do something and then close the newly created tab... the tab to the Right gets activated - and pollutes the directory history in doing so.
(Note: Open new tabs next to current, is enabled)
It's most noticeable when you duplicate a tab, do something and then close the newly created tab... the tab to the Right gets activated - and pollutes the directory history in doing so.
(Note: Open new tabs next to current, is enabled)
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
MVV,
Roman
Only if optional. This really would be counterintuitive for me as Firefox etc. work the other way round.let it jump to previous tab instead of next one when current tab is being closed
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
In Opera we have 3 options after closing a Tab:Balderstrom wrote:Bump.
++ Please consider this option, Mr.Ghisler.
Thank you.
Activate the last active tab.
Activate the next tab.
Activate the first tab opened tab from current Tab.
I generally need to have it set on #2 ("next"), and have never used the third. With it set to #2 I can control if it's actually Next, or Previous. And change which it should do on-the-fly.
I realize requesting to track the last-active-Tab would probably be a fair-chunk of code and debugging to follow. Whereas the option to allow us, the end-user to decide(1) which direction to close the tab, is NOT a fair-chunk of code, and likely no debugging.
(1) For anyone interested, here's how _I_ decide for opera. Though likely I'm the only one interested -- but that's ok I like my company.
Code: Select all
XButton1::
{
WinGet, aApp
;; HackFix :: Opera > 10.10: Broken classNN
MouseGetPos, xPos1, yPos1, aWin, aControl
KeyWait, XButton1
if( GetKeyState("RButton") )
Toggle( opTabPrev, "opTabPrev" )
else
if(( aControl == "SysTabControl321" ) || xPos1 <= operaTabBarSize - 2 || aApp != aWin )
Send, #{Tab} ; Start Cycle & Focus on TaskBar
else
OperaCloseTab(0, opTabPrev)
return
}
Shift & XButton1:: OperaCloseTab(1, opTabPrev)
}
OperaCloseTab( shiftKey, byRef checkVar )
{
Do_xBtn("XButton1", "^{w}", checkVar, shiftKey, "^{w}^+{Tab}")
return
}
Do_xBtn( key, cmd, byRef checkVal=0, yesNo=0, cmd2="", toggleVar=0 )
{
KeyWait, %key%
Send, % ( checkVal == yesNo ) ? cmd : cmd2
if( toggleVar )
Toggle(checkVal)
return
}
Toggle(byRef onOff, displayVar="")
{
onOff := ( onOff == 0 ) ? 1 : 0
if( displayVar <> "" )
MsgBox, ,, %displayVar%: %onOff%, 1
return onOff
}
XButton1 (key above the scrollwheel) closes Opera's Tabs - by default: activating the previous tab. The default can be set to "activate next". In both cases: using the shift key (thumb button) will do the opposite of the default.