Wrong position of cursor in the list after manual sort

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

Wrong position of cursor in the list after manual sort

Post by *Michael REMY »

hi,

another tiny little bug (but a little boring in file management).
my test is done in tx 8.51a x64 on win7 x64 (but i remember it on previous 8.01 release too)

often i go into a folder and need to find the last modified directory :

-so i go into my main folder (where there are a bunch of another folders)
- i single-clic the date column in the header
-i push-up the vertical scroll bar to go on top (because folders are now ordered by news to laters)
-i single-clic on the first item (so the last modified folder)
-i single-clic again on the header but on the name column (to go back in natural alpha order)

and now here is the problem: the selected item is not placed on top, but in the end of the view. so each time, i need to use the scrollbar to position well my viewlist.

So, after a head-column order, the viewposition is not top-ed (or at least centered) on the selected item.

have a good day
Mike
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50549
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, the item is simply scrolled into view - from the previous list position.
Author of Total Commander
https://www.ghisler.com
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

again

Post by *Michael REMY »

i turn the behaviour in all way :

at start, the list is in name order.

if i select one of the first item of the viewlist and clic date column to order, then the view is pointed on the full-top item of the viewlist (good behaviour)

back again in order name (like the start),

if i select one of the last item of the viewlist and clic date column to order, then the view is pointed on the full-bottom of the viewlist (bad behaviour behaviour cause you have to scroll top again).

other behaviour mistake :

When you clic on the last of the view item, then the scroll is auto-down for one step down, so it is good because it let you see there is others item(s) after the last.
but in the other way it won't work : when you clic the first item, it doesn't auto-scroll up to let you see there is other item(s) in the begin..

maybe the viewlist item have a property to set the number of back-previous item to autoscroll, please check you code documentation...
TC is made with delphi or c code isn't it ? i can check for you ?
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
Post Reply