[8.0ß2-x64] cursor won't follow after rename

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

Moderators: Hacker, petermad, Stefan2, white

Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

[8.0ß2-x64] cursor won't follow after rename

Post by *Laszlo »

There is a directory with file1.txt, file2.txt, file3.txt, etc. Lets say the cursor is on file1.txt If I rename file1.txt to file4.txt, the newly renamed file4.txt automatically jumps to the end of the list, but the cursor now is on file2.txt. In TC 7.56a with the same actions, the cursor also moved to file4.txt.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Cannot reproduce, I tried with file1.txt, file2.txt and file3.txt and renamed file2.txt to file4.txt. The cursor jumped on file4.txt as expected.

Can you give me more details?
Author of Total Commander
https://www.ghisler.com
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

I did a little research, I think I found the problem what is causing it: Shift+F6. If I rename the file simply with F6, it works great.

And very strange, but its wrong only in the right panel, on the left, its good.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I don't get your last comment. You write that it works great with Shift+F6. So with which function doesn't it work? I also tried a slow double click, but that worked great too, in both panels...
Author of Total Commander
https://www.ghisler.com
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

No, sorry. With SHIFT+F6, it doesn't works on the right panel.
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

I made a youtube video, what shows the problem: http://www.youtube.com/watch?v=_SHoETaUyHY
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, do you get this also when starting Total Commander with a fresh wincmd.ini file?
Author of Total Commander
https://www.ghisler.com
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

With a fresh wincmd.ini the problem doesnt appear.
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

I managed to find the culprit:

[layout]
CmdLine=0

That was it. If I set to 1, it works, with 0, this strange behavior.
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Laszlo

I cannot reproduce the bug - even with CmdLine=0
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

You are right, with a fresh ini, cmdline=0 is not enough. Tried various things, but looks like it needed another line:

[Layout]
CmdLine=0
DriveCombo=0

I copied this to a fresh ini, and the bug appeared.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I can confirm bug in RIGHT panel with clean INI just with CmdLine=0 and DriveCombo=0!
Panel contents is refreshed but focus still stays at the old file position.

TC8x64b2, W7x64sp1Pro
Last edited by MVV on 2011-09-27, 10:49 UTC, edited 1 time in total.
Laszlo
Junior Member
Junior Member
Posts: 97
Joined: 2011-09-17, 07:27 UTC
Location: Hungary

Post by *Laszlo »

Thanks! So that was it.
User avatar
Flint
Power Member
Power Member
Posts: 3503
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

MVV wrote:I can confirm bug in RIGHT panel with clean INI just with CmdLine=0 and DriveCombo=0!
Ah, finally all the missing parts are put together! :)
Now I can confirm the problem too in XP x64.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed too with:

[Layout]
CmdLine=0
DriveCombo=0

in right panel only :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply