Hi,
I'd appreciate your help.
I'm trying to set XYplorer "New tab" behavior to work this way (see snapshot below):
- On dbl-click tab opens next to current tab
- On click +, tab should next to + sign (last position)
Actually, I'm trying to emulate the same behavior of internet browsers (Chrome, Firefox) when duplicating tab (it opens next to current tab) and opening new tab (+ sign creates tab in last position). I recorded my screen showing that: http://bit.ly/2N45PL4
Is this setting achievable? If not through regular settings, could it be set through script?
Thank you!
Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
-
cadu
- Posts: 287
- Joined: 18 Mar 2012 21:50
Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
This is not a bad idea. I would even say it is expected behavior. So what if I just did it: "+ button opens in last position"? 
FAQ | XY News RSS | XY X
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
Em, only as an option, please. I'm way too much used to the +-button duplicating my current tab right next to it...
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
Aah, the habits... even Keith Richards could get rid of some... come on! 
FAQ | XY News RSS | XY X
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
That would be the same if a browser "Clone tab" command would put the tab not right next to the one to clone but at the end of the tab list...
That's bad habit!
That's bad habit!
One of my scripts helped you out? Please donate via Paypal
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
Isn't that what already happens when this is disabled?
Configuration | Tabs and Panes | Tabs | Open new tab next to current
or do you mean you are just implementing the double-click part of this Wish.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
The idea is that the "New Tab" button and the double-click on the empty tab bar *always* append the new tab to the end, independently of that setting.
PS: Maybe this could be a solution everybody can live with:
- "New Tab" button: unchanged
- double-click on the empty tab bar: now *always* appends the new tab to the end
PS: Maybe this could be a solution everybody can live with:
- "New Tab" button: unchanged
- double-click on the empty tab bar: now *always* appends the new tab to the end
FAQ | XY News RSS | XY X
-
o7blue
- Posts: 116
- Joined: 22 Dec 2020 07:10
Chrome-like tab behavior
So I noticed this thread: viewtopic.php?t=20088
Did anything come of this? It would be great to open tabs next to the current one when middle clicking a folder, but also having a reliable way to append a tab at the end. Basically like Chrome/Firefox tabs work.
Did anything come of this? It would be great to open tabs next to the current one when middle clicking a folder, but also having a reliable way to append a tab at the end. Basically like Chrome/Firefox tabs work.
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
Custom event action and a script?It would be great to open tabs next to the current one when middle clicking a folder, but also having a reliable way to append a tab at the end
E.g. on middle-click on a folder with
Code: Select all
// No modifier
if (<get shift> == 0) {
tab("new", <curitem>);
// Alt
} elseif (<get shift> == 4) {
$id = tab("newb", <curitem>);
tab("move", 0, $id);
seltab -1;
}
One of my scripts helped you out? Please donate via Paypal
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
If you end up using the above script, I think you should change the <curitem> var to <CEA_ClickedItem>, otherwise when you no-modifier mclick (modifier won't work in the tree anyway) in the tree or BC bar, it wouldn't perform as expected.
-
eil
- Posts: 1864
- Joined: 13 Jan 2011 19:44
Re: Setting "New tab" behavior: dbl-click opens next to current / + button opens in last position
Just me 2 cents: bare in mind that Plus is not always in the right-most position(i have it in left-most), and i use that "Open new tab next to current" option, so in my case "tab should next to + sign" as author described, would be totally not in last position.
I'd propose to go further and enhance default behaviour for Plus button single-double clicks, and remake an option into swap them. Say default single-click = open next, double = open last, after enabling option(smth like "Swap Plus button open position") single = open last, double = open next.
I'd propose to go further and enhance default behaviour for Plus button single-double clicks, and remake an option into swap them. Say default single-click = open next, double = open last, after enabling option(smth like "Swap Plus button open position") single = open last, double = open next.
Win 7 SP1 x64 100% 1366x768|1900x1080
XYplorer Beta Club