Disappearing empty space after file list

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Disappearing empty space after file list

Post by *DrShark »

This bug first mentioned here without reproduce steps. So they are below.

Reproduced with empty ini (with the only custom option to show tabs in multiple lines to reach full empty space disappearance). Should be possiblle to reproduce different TC window sizes (tested default 924 x 668 and maximized 1024 x 742), number of button bar lines also shouldn't matter.

To reproduce:
1. Open TC with fresh ini as settings file.
2. Go to Configuration->Layout->Folder tabs, enable Tabs on multiple lines, press OK.
3. Open in both panels some folder with long name and many folders/files inside (more than panel shows). I used c:\Program files\.
4. Scroll to the end of opened folder in both panels, so both sliders in scrollbars will reach the bottom (you can use End key on keyboard to do it quickly).
By default TC starts in full view, and here I can see empty space after last file with vertical size like file cursor's one. It's possible to press and hold right mouse button on that space to open context menu of opened folder.
5. Focus (put file cursor) on last file in left panel, so it will be easy to see how empty space will change in next steps.
6. In left panel, open one new tab of your folder (Ctrl+T on keyboard), now you have 1st line of tabs.
Empty space behind last file of left panel will be smaller, but still present.
7. Open in left panel new tabs (Ctrl+T on keyboard) and stop when you'll get 2nd tabs line.
Now empty space behind last file in left panel completely disappeared.
8. (bonus) Move panel splitter (left edge of vertical bar) from left to right so you'll get 1 line of tabs in left panel again. Now small empty space (as in step 6) appears again behind last file.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6489
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Disappearing empty space after file list

Post by *Horst.Epp »

I have the .. entry on top enabled
and the context menu for the current dir is available on this entry.
So there is no need for any empty space in this case.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Disappearing empty space after file list

Post by *petermad »

Also a short right-click on the empty space in the right side of the the Current directory bar above the filelist wil show the context menu for the folder itself. (A long right-click shows the panel history). So no need for the empty space to click on.
Last edited by petermad on 2019-03-25, 14:55 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Disappearing empty space after file list

Post by *DrShark »

In email Christian Ghisler explained such behavior:
Christian Ghisler wrote:This empty space is just appearing when the height of the listbox control isn't an even multiple of a single listbox item. When you add tabs, the space for the listbox shrinks, so the height of the listbox changes. Since the height of a tab isn't the same as the height of a single listbox item, the remaining space after all the items changes.
He didn't write whether he will (or it's even possible to) change it.

I can say that empty space behind filelist is a most intuitive place to look with intention to drag files or call a context menu.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6489
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Disappearing empty space after file list

Post by *Horst.Epp »

DrShark wrote: 2019-03-24, 20:19 UTC In email Christian Ghisler explained such behavior:
Christian Ghisler wrote:This empty space is just appearing when the height of the listbox control isn't an even multiple of a single listbox item. When you add tabs, the space for the listbox shrinks, so the height of the listbox changes. Since the height of a tab isn't the same as the height of a single listbox item, the remaining space after all the items changes.
He didn't write whether he will (or it's even possible to) change it.

I can say that empty space behind filelist is a most intuitive place to look with intention to drag files or call a context menu.
For me is searching for an empty space not very intuitive.
My method or Petermans is much easier to do.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Disappearing empty space after file list

Post by *ghisler(Author) »

I cannot change it because you cannot add empty space to listboxes. I could add an extra entry which shows nothing, but this could cause other problems (e.g. the item could be selected).
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Disappearing empty space after file list

Post by *DrShark »

ghisler(Author) wrote: 2019-03-25, 09:02 UTCI could add an extra entry which shows nothing, but this could cause other problems (e.g. the item could be selected).
You can add it as [.] entry (similar to [..] on top). Currently for [..], which is an alias to a parent directory, TC opens context menu of currently opened directory (which is a subdir of parent one), this is wrong by design anyway.
Of course option to show [.] below the list should be disabled by default so current UX with only [..] one visible won't change.
However, if option to show [.] is enabled, [..] should show context menu of parent dir, and [.] - for currently opened. Also Enter on [.] may be a drop target to currently opened dir, refresh it with Enter/LMBDblclick, show its properties with Alt+Enter (would be especially useful to see properties of empty or name-encrypted archives.)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply