Odd empty line in history lists

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Odd empty line in history lists

Post by *browny »

TC 9.0a.

Let's say the active panel shows a directory on the drive C:.
Press Ctrl+F8 to display directory tree.
Press Alt+Right.

1. Select drive C: in the drive dropdown list.
Usually TC returns to the latest opened (current) directory for each drive, but in this case it would always be the root.

2. Press Alt+Down.
There would be an empty line in the history list above C:\.

3. That empty line also opens the root directory of the drive C:.
Last edited by browny on 2017-09-04, 10:32 UTC, edited 1 time in total.
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Post by *chandragor »

Confirmed here (TC 9.0a - Windows 7 - 32 and 64 bits for both TC and Windows)

I don't know if it happens the same to you, but in the panel with the directory tree the drive combo box becomes blank and the label on its right becomes "-" (a single hyphen)
Happy owner of license #12422 since 1997
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I don't understand. What should Alt+Right do? Do you perhaps mean Ctrl+Right?
Author of Total Commander
https://www.ghisler.com
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Post by *chandragor »

No, browny is right: you have to press Alt+Right to have the behavior he is telling about.

Ctrl+Right works correctly, but the sequence of

1) Ctrl+F8
2) select a drive from the drive dropdown list
3) Alt+Right

adds an empty line in the directory list which opens by pressing Alt+Down.

The more you repeat the above sequence, the more blank lines are added.
Happy owner of license #12422 since 1997
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm this, doing exactly as described.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I still don't understand. I'm probably doing something wrong.
1) Ctrl+F8
-> Tree is shown
2) select a drive from the drive dropdown list
-> Tree display disappears. TC switches to that drive, full view (or brief).
3) Alt+Right
-> Nothing happens.

Or if I do 2) in the other window, the tree shows the new drive and subdir. Alt+Right still doesn't do anything.
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

I can confirm this behaviour too.
The easiest way:
1. Ctrl+F8
2. Alt+Right
3. Alt+F1, C
4. Alt+Down -> empty line on history list

Additional info: this empty line can be remembered between sessions and writes to INI file as something like:

Code: Select all

2=::|	#4,C:
(there is TAB = "\t" between pipe and number sign)

Also, after select this empty line from history list dropdown menu there is impossible to change directory by ENTER or doubleclick - once, on first try when you in directory on disk, at all - on "Drives" level (My Computer).
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Using Gral's steps I can confirm the bug in TC 9.0a and 9.0 beta4 (32 and 64 bit). TC 8.52a is unaffected, so it was introduced somewhere between 8.52a and 9.0 beta4.

And yes, Alt+Right doesn't do anything - except leading to this bug ;).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

It seems that this is related to saving the name under cursor and position in the directory.

Code: Select all

08.06.16 Release Total Commander 9.0 beta 1 (32/64)
...
24.05.15 Added: Directory history: Remember name under cursor and position in list when entering a subdir via double click/Enter (32/64)
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

Alt+Left and Alt+Right are used to move forward and backwards in history - be it directories in Explorer; or visited URLs in a browser.
Obviously it did not work that way here in TC.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
Sorry, I still don't understand. I'm probably doing something wrong.
1) Ctrl+F8
-> Tree is shown
2) select a drive from the drive dropdown list
-> Tree display disappears. TC switches to that drive, full view (or brief).
3) Alt+Right
-> Nothing happens.
It should be:
1) Ctrl+F8
-> Tree is shown
2) Alt+Right
3) Select a drive from the drive dropdown list
-> Tree display disappears. TC switches to that drive, full view (or brief).
Alt+Down
-> History list with empty line above the last (current) line is shown.

So 2 and 3 has to be switched in your description
Last edited by petermad on 2017-09-12, 12:44 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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

browny wrote:Alt+Left and Alt+Right are used to move forward and backwards in history - be it directories in Explorer; or visited URLs in a browser.
Obviously it did not work that way here in TC.
It works in regular file panels.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

browny wrote:Alt+Left and Alt+Right are used to move forward and backwards in history - be it directories in Explorer; or visited URLs in a browser.
You're right. I forgot about that because I rarely use the history and the corresponding hotkeys. But Gral is right, too: Alt+Left/Right normally work in file panels when there's something in the history; mine was emtpy, so that's why it didn't do anything for me ;).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

Gral wrote:It works in regular file panels.
It also (kind of) works in a tree panel. Not always, though maybe it was not promised to work.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

BTW it also happens if after pressing Alt+Left when in Tree View.

The empty line does not appear until I am back in either Brief, Full, Comments, Thumbnail or Custom Columns View. If I then go back to Tree View the empty line is dissapears, but reappears when I againg go out of Treee View.

Here Alt+Left and Alt+Right works fine in Tree View unless "Configuration" -> "Display" -> "Tree" -> "Always load complete directory tree" is selected.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply