Selection in tab's titles

Features wanted...
Post Reply
zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Selection in tab's titles

Post by zer0 »

I personally do not have Address Bar open. However, there are situations when I need to quickly grab the path of a current tab. For example, when extracting files into this location.

What I'd like to see is to be able to use a mouse cursor to highlight sections of a tab, so it'll be possible to copy/paste it to where needed. Just writing this, I thought about something. In XY, a tab's name is the full location of a folder displayed in that tab. In web browsers, a tab's name is that page's name as set in the HTML title tags. XY's equivalent of this I'd guess would be to show "Temp" as title for a tab, which full address is "C:\Temp". However, since it shows the full path, I think this path should be selectable (if possible, that is) without having to open the Address Bar -> AD is optional, tab headers aren't :)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Selection in tab's titles

Post by admin »

"Copy Location Term" in the tab's context menu...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Selection in tab's titles

Post by serendipity »

or Ctrl+P when nothing is selected copies current path to clipboard.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Selection in tab's titles

Post by zer0 »

admin wrote:"Copy Location Term" in the tab's context menu...
and
serendipity wrote:or Ctrl+P when nothing is selected copies current path to clipboard.
Thank you both! I was not aware of either way.

One thing to say though. Don's way and serendipity's way don't generate exactly the same result. They probably aren't meant to because they are called differently. Don't way gives

Code: Select all

C:\Program Files
while serendipity's way gives

Code: Select all

C:\Program Files\
This will probably sound pedantic, but those are not the same. Perhaps tab titles should include that extra slash so it can be shown when using "Copy Location Term"?

Thank you again for pointing me in the right direction :)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Selection in tab's titles

Post by admin »

zer0 wrote:One thing to say though. Don's way and serendipity's way don't generate exactly the same result. They probably aren't meant to because they are called differently. Don't way gives

Code: Select all

C:\Program Files
while serendipity's way gives

Code: Select all

C:\Program Files\
This will probably sound pedantic, but those are not the same. Perhaps tab titles should include that extra slash so it can be shown when using "Copy Location Term"?
I admit I was not aware of this difference. However, I'm unsure how/whether to solve it. An extra-slash in tab titles is not a good way (takes up screen space).

For the eyes and for screen space, C:\Program Files is better.
For typing usage (copy/paste/work with it), C:\Program Files\ is probably better.

So, "Copy Location Term" should maybe add the slash... hmmm.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Selection in tab's titles

Post by zer0 »

admin wrote:So, "Copy Location Term" should maybe add the slash... hmmm.
Yes, this would be useful. XY's Address Bar accepts locations whether there is a slash right at the end or not, but I know some other programs are not so lenient.

Also, while we're in a discussion about tabs, I have to ask. Would it be too radical, in a bad way, to only show the bottom level folder's name as a tabs title, like I've mentioned with a web browser before? It's just right at this moment, there are 3 ways of showing a folder's path. In its title, in the Address Bar and in

Code: Select all

TitlebarTemplate="<app> - <ver> - <path>"
I think if we have an option to configure a template for the title bar then we should be able to do something similar for our tabs.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Selection in tab's titles

Post by admin »

zer0 wrote:
admin wrote:So, "Copy Location Term" should maybe add the slash... hmmm.
Yes, this would be useful. XY's Address Bar accepts locations whether there is a slash right at the end or not, but I know some other programs are not so lenient.

Also, while we're in a discussion about tabs, I have to ask. Would it be too radical, in a bad way, to only show the bottom level folder's name as a tabs title, like I've mentioned with a web browser before? It's just right at this moment, there are 3 ways of showing a folder's path. In its title, in the Address Bar and in

Code: Select all

TitlebarTemplate="<app> - <ver> - <path>"
I think if we have an option to configure a template for the title bar then we should be able to do something similar for our tabs.
Decided to leave "Copy Location Term" as it is. Would be more confusing when copy adds a slash while the interface (tab title) does not show one.

bottom level folder's name as a tabs title: simply rename the tab. As a general setting I don't see the use of it. Lo prio anyway.

Post Reply