Hide the tab bar when there is only one tab?

Features wanted...
univert
Posts: 28
Joined: 14 Aug 2010 10:03

Hide the tab bar when there is only one tab?

Post by univert »

I would like the option to hide the tab bar when there is only one tab?

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

Re: Hide the tab bar when there is only one tab?

Post by zer0 »

univert wrote:I would like the option to hide the tab bar when there is only one tab?
Easy to do using scripting

Code: Select all

$pane1 = tab(, "c");
  #802;
  $pane2 = tab(, "c");
  $total = $pane1 + $pane2;
  if $total == 2 {
  #662;
  }
The above assumes that you have dual-pane mode enabled. If you do not then just this will do

Code: Select all

$pane1 = tab(, "c");
  if $pane1 == 1 {
  #662;
  }
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

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

Re: Hide the tab bar when there is only one tab?

Post by zer0 »

Not as easy as a on-the-fly option, but is one KS too much to ask?
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

univert
Posts: 28
Joined: 14 Aug 2010 10:03

Re: Hide the tab bar when there is only one tab?

Post by univert »

How do I run this script automatically? Or do I have to manually load the script every time I want to hide the bar?

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

Re: Hide the tab bar when there is only one tab?

Post by zer0 »

univert wrote:How do I run this script automatically? Or do I have to manually load the script every time I want to hide the bar?
When we get CEAs, it may be something that you can control automatically. At the moment, you can load it manually or you can script a never-ending loop with an undocumented wait command that would periodically check how many tabs you have and show/hide the tab bar.
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

univert
Posts: 28
Joined: 14 Aug 2010 10:03

Re: Hide the tab bar when there is only one tab?

Post by univert »

This is not very convenient after all. I would like a on-the-fly option. It will not be very difficult I guess. Thanks :))

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide the tab bar when there is only one tab?

Post by j_c_hallgren »

While there isn't a way to have the script run automatically, it could be associated with a custom toolbar icon so that you could click on that to hide and maybe have alternate vers on right-click to restore tab view...not that convenient but easier than accessing via menus.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

univert
Posts: 28
Joined: 14 Aug 2010 10:03

Re: Hide the tab bar when there is only one tab?

Post by univert »

Well, the whole purpose of this is productivity, convenience and screen-space-saving. I don't know why we can't make it. I really hope for this feature in the future. :P :P

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide the tab bar when there is only one tab?

Post by j_c_hallgren »

univert wrote:Well, the whole purpose of this is productivity, convenience and screen-space-saving. I don't know why we can't make it. I really hope for this feature in the future. :P :P
Sorry, but I don't see how using only one tab is productive in a file manager designed to be multi-tab for productivity...I don't use that many tabs (usually 3-4 per pane but viewing as single pane) but some people have numerous tabs (even dozens) and thus having only one seems quite unusual which would likely reduce the chances for your request...that's just my viewpoint...

As far as space-saving, tabs only use about 2 lines of list space so not that much overhead...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Re: Hide the tab bar when there is only one tab?

Post by admin »

j_c_hallgren wrote:
univert wrote:Well, the whole purpose of this is productivity, convenience and screen-space-saving. I don't know why we can't make it. I really hope for this feature in the future. :P :P
Sorry, but I don't see how using only one tab is productive in a file manager designed to be multi-tab for productivity...I don't use that many tabs (usually 3-4 per pane but viewing as single pane) but some people have numerous tabs (even dozens) and thus having only one seems quite unusual which would likely reduce the chances for your request...that's just my viewpoint...

As far as space-saving, tabs only use about 2 lines of list space so not that much overhead...
And the tab header gives important info about the contents of the tab, which is not available elsewhere if the tab is in the inactive pane.

univert
Posts: 28
Joined: 14 Aug 2010 10:03

Re: Hide the tab bar when there is only one tab?

Post by univert »

j_c_hallgren wrote:
univert wrote:Well, the whole purpose of this is productivity, convenience and screen-space-saving. I don't know why we can't make it. I really hope for this feature in the future. :P :P
Sorry, but I don't see how using only one tab is productive in a file manager designed to be multi-tab for productivity...I don't use that many tabs (usually 3-4 per pane but viewing as single pane) but some people have numerous tabs (even dozens) and thus having only one seems quite unusual which would likely reduce the chances for your request...that's just my viewpoint...

As far as space-saving, tabs only use about 2 lines of list space so not that much overhead...
This is a quite legitimate and easy-to-do feature just like tabbed web browsers do. Sadly I can't believe this is how XYplorer turn down user requests.

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

Re: Hide the tab bar when there is only one tab?

Post by zer0 »

univert wrote:Well, the whole purpose of this is productivity, convenience and screen-space-saving.
Would you mind elaborating on how it would improve your productivity and be more convenient? You haven't really put forward a good case to have this feature.
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

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Hide the tab bar when there is only one tab?

Post by j_c_hallgren »

univert wrote: Sadly I can't believe this is how XYplorer turn down user requests.
Remember: The only one who can turn down a user request is Don, ok?

All we as fellow forum members can do is agree (or disagree) that it makes sense and the more who do agree, the more likely it is to happen...a request that others here don't find needed or useful can still get implemented and that does happen (esp when Don feels it's worthwhile), but Don has what he calls "the two fools rule" where he really prefers at least two user requests for same/similar feature.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Re: Hide the tab bar when there is only one tab?

Post by admin »

j_c_hallgren wrote:
univert wrote: Sadly I can't believe this is how XYplorer turn down user requests.
Remember: The only one who can turn down a user request is Don, ok?

All we as fellow forum members can do is agree (or disagree) that it makes sense and the more who do agree, the more likely it is to happen...a request that others here don't find needed or useful can still get implemented and that does happen (esp when Don feels it's worthwhile), but Don has what he calls "the two fools rule" where he really prefers at least two user requests for same/similar feature.
Yes, and there's also the "It's Not Christmas Every Day Rule" which basically states that there is a difference between wishing for a feature and remote-controlling a software developer.

brettcode
Posts: 15
Joined: 19 Feb 2022 21:51

Re: Hide the tab bar when there is only one tab?

Post by brettcode »

This thread is over 10 years old, but I, too, would like to request it if not too much difficulty is involved.

Post Reply