cm_FileSync: annoying cursor move after context\file delete

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

cm_FileSync: annoying cursor move after context\file delete

Post by *StatusQuo »

In the file list of cm_FileSync you can use the context menu to delete left/right/both files under cursor.
After executing the delete in a long file list (more than one screen length), the file under the cursor is scrolled down to the bottom of the screen.

That's quite annoying to me, as I usually read the list from top to bottom. So every time after deleting one file I have to use PgDn to see the next files.
I don't get the advantage of this behaviour.

Is scrolling the file list necessary at all?
If yes: Better would be having the file under cursor on the top of the screen, so the next files can be seen.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, the cursor should actually placed on the first file below those which you deleted. Isn't that the case?
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Yes, the cursor is on the right file, but the file list (display) is scrolled up after deletion:
  • - from a list of e.g. 500 equal files (same on both sides), 26 of them fit on the screen here
    - I scroll down some pages (Page down at least 2 times),
    - then right-click and delete the left or right file in line number 1 (existing on both sides; first selecting with left-click makes no difference)
    - after deleting, the cursor is on the same file, but this file is now displayed in line 24 (of 26 displayed lines).
So, before deleting I could see the next 25 files below the cursor,
after deleting I can only see 2 more files and have to scroll down again to see more.

If I "delete files on both sides", the next/selected file is even shown in line 25 instead of line 24 (only 1 line below it).

TC 7.04a behaves the same way. W2k SP4 or XP SP3 makes no difference either.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check whether I can find a better solution, thanks for the details.
Author of Total Commander
https://www.ghisler.com
Post Reply