Deleting the first folder from the second column moves the cursor to the beginning

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

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

1. Ctrl+F1.
2. Open a folder with two or more columns of folders.
3. Reduce the width of the active panel to the width of two columns so that a scrollbar appears.
4. Place the cursor on the first folder of the second column and press Del.

After deleting, the cursor will move to the top of the list.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *petermad »

Here the cursor goes to the next folder that is below the deleted folder

Maybe I did something wrong: https://tcmd.madsenworld.dk/columdelete.mp4
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
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

petermad wrote: 2023-11-20, 00:45 UTC Maybe I did something wrong:
Remove the files, leave only two columns of folders.
It is necessary that the scrollbar appears because of the length of the folder names, not the files.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *petermad »

Confirmed whith only folders present in the dir.
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
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

It's not the lack of files. See the last sentence.
It's just easier to get a bug without files.
Overquoting is evil! 👎
JOUBE
Power Member
Power Member
Posts: 1477
Joined: 2004-07-08, 08:58 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *JOUBE »

Fla$her wrote: 2023-11-20, 02:25 UTC...a bug...
? No, it is a - good - feature.
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

2JOUBE
Are you serious? :shock: What's good about that?
Of course this is a bug.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *ghisler(Author) »

I cannot reproduce that. The cursor remains in the second column at the top and focuses the folder directly below the one deleted.
I tried with a fresh ini and TC 32-bit. I can't make the width EXACTLY two columns, so is it just a bit less than 2 or a bit more than 2?
And is the second column shown at the far left, or is there a column displayed to the left of it (only relevant when a bit more than 2 columns are shown).
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *white »

Confirmed.

2ghisler(Author)
Just select an entry at the top of the second column and make sure that the column is not completely shown by moving the divider between left and right panel. Then delete the folder.
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

is it just a bit less than 2 or a bit more than 2?
First. Otherwise, how do you get a scrollbar with two columns?
If more than two columns are shown, it doesn't matter whether the second column is the first or second in the displayed list.

white wrote: 2023-11-20, 11:20 UTCThen delete the file.
... folder.
Last edited by Fla$her on 2023-11-20, 12:00 UTC, edited 2 times in total.
Overquoting is evil! 👎
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *white »

Fla$her wrote: 2023-11-20, 11:20 UTC
white wrote: 2023-11-20, 11:20 UTCThen delete the file.
... folder.
Thanks, fixed.
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *petermad »

ghisler(Author) wrote: 2023-11-20, 11:03 UTC I cannot reproduce that.
here is a video showing it with a clean .ini file: https://tcmd.madsenworld.dk/columndelete2.mp4
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: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *ghisler(Author) »

Thanks for the video! There are two conditions needed to get the error:
1. The directory must be EMPTY
2. Delete to recycle bin must be disabled. When I press DEL with a fresh ini, it would delete to recycle bin, with no problems focusing the cursor.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *Fla$her »

2ghisler(Author)
Thanks for the clarifications. Didn't pay attention to it.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Deleting the first folder from the second column moves the cursor to the beginning

Post by *petermad »

2ghisler(Author)

I have "Delete to recycle bin" disabled in Windows for most drives, so even with a clean .ini file my TC will not delete to recycle bin - but I guess you figured that out from the missing "Move to Recycle bin" dialog in the video.
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