Conf option to prevent tab duplicates

Features wanted...
ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Conf option to prevent tab duplicates

Post by ugus »

A simple wish maybe?

I would want to have an option in Configuration something like
"Prompt me if the a folder already is opened in a tab"

Let's say I have my desktop already opened in a tab and I have about
10 tabs opened already.

Then I choose desktop in tree and choose to open it in a new tab or in a new background tab.

Then I want to be prompted if I want the already opened tab to be selected and focused instead of opening a new tab (and having duplicate tabs...)

/Ulrik

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

You can do this already without the prompt thing. In your case, middle-click or ctrl+click the desktop in the tree/catalog to open it in a new tab. If you click without holding ctrl then the old desktop tab will be used.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

Thanks!

I didn't thought it was so easy.... :wink:

/Ulrik

Online
RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Post by RalphM »

ugus wrote:Thanks!

I didn't thought it was so easy.... :wink:

/Ulrik
Well, actually it isn't.
Remembered I read that description before, but forgot to check it back then.
It doesn't work on my system. Is there a setting in Config that might control this?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66252
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

RalphM wrote:It doesn't work on my system.
Correct. Auto-opening of already existing tabs is only implemented for the case that the current tab is locked and otherwise a new tab would be created.

EDIT: when you travel by Catalog there is auto-opening of already existing tabs!
EDIT2: also when you travel by Favorites there is auto-opening of already existing tabs!

Ugus' idea is not bad, but I don't like the prompt part. Let's hear other opinions...
Last edited by admin on 29 Aug 2006 07:55, edited 1 time in total.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

hmm can be interresting, but as an option I'd say; cause Im not sure I'd personnally like such behavior....

Actually, there's one I know I'd love to, but not sure what you would think of it ;) To be able to define a tab (and only one) as a "default" tab.
And, when you do something (fav folders, catalog, tree, Go to, etc) that means chaging location, but not in the current tab cause it's a (home) locked tab, and there are no tab already opened at that location, instead of opening a new one then acivate the "default" tab and change its location. (obviously, the default tab cannot be (home) locked) :?:
Proud XYplorer Fanatic

Online
RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Post by RalphM »

admin wrote:Correct. Auto-opening of already existing tabs is only implemented for the case that the current tab is locked and otherwise a new tab would be created.
EDIT: when you travel by Catalog there is auto-opening of already existing tabs!

Ugus' idea is not bad, but I don't like the prompt part. Let's hear other opinions...
I really like the idea that even in an unlocked tab xy jumps to the already opened tab without a prompt, maybe make it clear by other means?!
How about a background color in the tree for nodes that are currently shown in a tab and maybe flash it when redirected to another tab?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66252
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Actually, there's one I know I'd love to, but not sure what you would think of it ;) To be able to define a tab (and only one) as a "default" tab.
And, when you do something (fav folders, catalog, tree, Go to, etc) that means chaging location, but not in the current tab cause it's a (home) locked tab, and there are no tab already opened at that location, instead of opening a new one then acivate the "default" tab and change its location. (obviously, the default tab cannot be (home) locked) :?:
Hey, I had the same idea some weeks ago and I thought some time about it and then ditched it. Because: I think I would start to work in/with the default tab as in any normal tab and rely on it and then I would be not amused when it's overwritten by the next take-the-default-tab-situation. You what I mean?

admin
Site Admin
Posts: 66252
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

RalphM wrote:I really like the idea that even in an unlocked tab xy jumps to the already opened tab without a prompt, maybe make it clear by other means?!
How about a background color in the tree for nodes that are currently shown in a tab and maybe flash it when redirected to another tab?
Hm. No. Got other ideas? :)

Online
RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Post by RalphM »

admin wrote:Hm. No. Got other ideas? :)
Which part caused the "Hm. No."? The background color or the flash?
My other idea was to show an icon in the tree in front of the nodes that are currently displayed on tabs.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66252
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

RalphM wrote:
admin wrote:Hm. No. Got other ideas? :)
Which part caused the "Hm. No."? The background color or the flash?
My other idea was to show an icon in the tree in front of the nodes that are currently displayed on tabs.
Both parts. And the icon part, too! :)

Is it really necessary to give an additional hint? (a) you activated the option, (b) you'll note the tab change (if you don't, it's even less of a problem).

Online
RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Post by RalphM »

admin wrote:Is it really necessary to give an additional hint? (a) you activated the option, (b) you'll note the tab change (if you don't, it's even less of a problem).
I agree that it's not necessary for the duplicate tab issue, but I kind of like the idea of a visual hint in treeview as to which folders are open in tabs.
How about an icon overlay with a "T" for tab on the folder icons....

Other opinions, ideas maybe?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

I like the way it is now, but still i mention what tabs i need.

1) Locked tabs: these are the stubborn ones, no matter what you click inside this it always opens new tabs.
2) Homed tabs: These are nice because you can go deeper and deeper but cannot go higher. Very handy.
3) Open/Default tabs: This is something like what Jacky thought if i am right. what dont belong to locked and homed tabs end up here. ONLY normal clicks in tree and catalog which dont belong to 1 and 2 open here.
4) Extra tabs: These are the ones that have to be opened exclusively with middle click or ctrl+click.

cannot think of more tab types.

If you can color or mark these four tabs in special ways that would be great.

Edit: Sorry the locked and homed tab are marked by underline now. cant think of other ways.. maybe color them or special signs?? not sure. will wait for other users to comment.
Last edited by surrender on 29 Aug 2006 13:56, edited 1 time in total.

phatmankerr
Posts: 186
Joined: 26 Dec 2005 19:35

Both Options

Post by phatmankerr »

I would lend my weight to both options (marking the folders open as tabs with an overlay) and also an option to prevent duplicate tabs (of any type).

I'm sure somebody mentioned that this would stop them working in a particular way, personally I cannot see any advantage of having the same tab open twice (although it is slightly complicated when users don't lock their tabs and they move away from home).

Anyway a config option to prevent ANY duplicate tabs would be useful.

My two pennies worth.

Thanks

Andy

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:Hey, I had the same idea some weeks ago and I thought some time about it and then ditched it. Because: I think I would start to work in/with the default tab as in any normal tab and rely on it and then I would be not amused when it's overwritten by the next take-the-default-tab-situation. You what I mean?
Well.. I can see what you mean yes, but I think it's allright/up to the user. I mean, if you set a default tab you gotta know it can/will be used on some cases.
And if you don't want your tab to be "overwritten", either open a new tab, or when you are about do something on a locked tab, make it explicitly go into a new tab ;)


Regarding "marking" the tabs, (home) locked have their underlines, the default tab could have an overlay icon or simply its label in a different color.

As for preventing duplicates, XY already does that on different occasions, so an option to make new tab request check for already existing might be interresting to some, but definately have to be an option. When I say "open in a new (background) tab" I mean it ;)

EDIT: speaking of tabs, how about a prefix (eg: +) that when used on Go to (and Address bar) it opens in a new tab ?
Proud XYplorer Fanatic

Post Reply