TC 8.0b15x64 Could not traverse command line history via key

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

Moderators: white, Hacker, petermad, Stefan2

alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

TC 8.0b15x64 Could not traverse command line history via key

Post by *alter4 »

In TC 8.0b15-64 I could not traverse command line history via keyboard using CRTL+bottom arrow. If history has more then ~20 records the cursor doesn't want to go to bottom records in popup. (using only keyboard from the very beginning) Scrolling in popup is broken as well.
Last edited by alter4 on 2012-01-06, 19:48 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6501
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Cannot confirm this for b15 x64.
I've more than 20 commands in history and can scroll up and down in the list with no problem. Keyboard and mouse scrolling works.
alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

Post by *alter4 »

It is reproducible for me and my colleague as well in beta 14 and 15, Earlier versions is not tested, also 32bit version (tested beta 15) doesn't have this bug. Should I provide screencast to you believe me?

P.S. Maybe it is OS dependent. OS win7 64bit sp1.

P.P.S My command line history from in TC folder (obfuscated but the bug is reproducible )
[Command line history]
0=sd
1=9sdds
2=mobile\MObile Phone Tools v3.40.zipMO
3=0
4=9
5=sdsdssd
6=cmd
7=cmd.bat
8=cd d:\Progra~1\Java\jdk1.7.0_02\
9=CMD
10=m
11=cd C:\Users\nk\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
12=h
13=explorer
14=exloprer
15=potsdsd
16=D:\tools\o
17=pot
18=HYbrid
19=XNsdX
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Hmm, here the [Command line history] is alway restricted to 20 entries, both in 32bit and 64bit TC and Windows. And I have no problems traversing the list using arrow up/down after invoking it with Ctrl+downarrow.

How on earth do you get more than 20 entries in the command line history?
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
alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

Post by *alter4 »

I didn't count exactly so it was 20 entries :D ok.

Your system is WinXP 64bit. I claim the bug is reproducible in win7 64bit sp1 and it is reproducible on my home PC, office workstation and colleague's workstation, so the devil is here but the devil is in details) I cant imagine nothing special on these computers. I think it should be easily reproducible and I feel a little bit confused.
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

alter4,
Works fine here under Win7 x64 except for a few things I reported here - [8.0b15x64] Command line history looks different under x64.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2alter4
Your system is WinXP 64bit. I claim the bug is reproducible in win7 64bit sp1
If you reead my signature you'll se that my systems are: Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1. - So I have also testet on the same OS as you...

But that doesn't mean that there isn't a bug, just not straightforward reproducible. Could you try and start TC with a clean ini file to see if you can still reproduce the error.
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
alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

Post by *alter4 »

Really the bug is not reproducible on default ini. I have color tuned ini, but my colleague I suppose not. By the way I provide my ini, I believe there is no very private information here :wink:

Guys! Please try confirm bug with my ini
http://freespace.by/download/7930fed735 :wink:
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

alter4,

Code: Select all

error
FreeSpace services are available only for Belarus networks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

Post by *alter4 »

I am sorry. I did it before and it worked, looks like they closed access not long ago.

PLease try
http://depositfiles.com/files/iic8uz6i0

I bring my apologies.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I cannot reproduce the problem so far, but I prefer not to change the standard Combobox behaviour (which may be different between Delphi and Lazarus).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, I can reproduce it with alter4s ini file, and even just with his [Command line history] section.

The culprit seems to be entries with the same value but with different Case like in alter4s [Command line history] section, where line 0 and line 9 are cmd and CMD - If there are 2 identical (except for the case) entries in the list TC 64bit jumps to the first entry as soon as it reaches the second entry during scrolling.

The 32bit version handles identical entries with different case alright, so this is definitely a bug in TC 64bit.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, maybe this is handled differently by 64-bit comboboxes...
Author of Total Commander
https://www.ghisler.com
alter4
Junior Member
Junior Member
Posts: 9
Joined: 2012-01-06, 17:14 UTC

Post by *alter4 »

Hi Guys!
I just checked with two entries with same value and WITH THE SAME CASE. The bug is reproducible. Looks like case is non important, please check and confirm.
User avatar
petermad
Power Member
Power Member
Posts: 14811
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

maybe this is handled differently by 64-bit comboboxes...
Maybe, but there is another problem with indentical entries with different case - you cannot gets past the last of such two entries by pressing Ctrl+E either - and that even applies to TC 7.56a.
I just checked with two entries with same value and WITH THE SAME CASE.
It is only possible to make such two entries by editing the ini file - you cannot make two identical entries with same case from TC's command line - so it is only of academically interesse.

If you in the command line write and execute an entry that already exists (identical case), that entry will just be moved to the top of the list - it is only by using different case that it is possible to get to otherwise identical entries when doing it from the command line.

BTW - I just noticed that there is a difference between how TC 8.0b15 32 bit behaves when run under Win XP 32bit and under Win 7 64bit. In Win 7 64 bit the 32bit TC shows all 20 command lin history entries in one big box without a vertical scrollbar - but under Win Xp 32bit only 5 entries are shown (the same way as 64bit TC shows 8 entries).
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
Post Reply