Page 1 of 2

Hide the tab bar when there is only one tab?

Posted: 18 Feb 2011 13:56
by univert
I would like the option to hide the tab bar when there is only one tab?

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

Posted: 18 Feb 2011 14:37
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;
  }

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

Posted: 18 Feb 2011 14:47
by zer0
Not as easy as a on-the-fly option, but is one KS too much to ask?

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

Posted: 18 Feb 2011 20:31
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?

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

Posted: 19 Feb 2011 00:51
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.

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

Posted: 19 Feb 2011 03:22
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 :))

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

Posted: 19 Feb 2011 03:44
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.

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

Posted: 19 Feb 2011 08:59
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

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

Posted: 19 Feb 2011 10:02
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...

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

Posted: 19 Feb 2011 10:06
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.

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

Posted: 19 Feb 2011 15:11
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.

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

Posted: 19 Feb 2011 16:04
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.

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

Posted: 19 Feb 2011 16:47
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.

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

Posted: 19 Feb 2011 16:56
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.

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

Posted: 19 Feb 2022 22:32
by brettcode
This thread is over 10 years old, but I, too, would like to request it if not too much difficulty is involved.