Cursor moves down after canceling move in overwrite dialog

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
Sosna
Member
Member
Posts: 143
Joined: 2006-10-24, 10:52 UTC

Cursor moves down after canceling move in overwrite dialog

Post by *Sosna »

When I try to move some file to another panel, which already has such file, overwrite dialog shows, then I press Cancel, dialog disappears and I cursor moves down to NEXT file! when I try to copy SAME file - cursor stays at this file.

Then, I try to move for example 3 files in row (I mean that they are in row in panel: file01.txt, file02.txt, file03.txt - I don't know correct word for it). I mark them, set cursor at FIRST marked file, press F6, cancel overwriting, and cursor moves down. immediately I press F6 again, do same things, and cursor moves no more.

is it a bug?
I think it's better to leave cursot where it was. Thanks.

P.S. I see, that cursor moves only if I set it at the first marked file, or if I press F6 on single file.
Ave Caesar Imperator,
moritari te salutant!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3311
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

As i cant reproduce that:
How do you mark the files ?
Hoecker sie sind raus!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Not confirmed.

Tried it several times but the Cursor stayed at the position where it had been.

Except there was actually a file moved. Then the cursor moves one row down.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Sosna
Member
Member
Posts: 143
Joined: 2006-10-24, 10:52 UTC

Post by *Sosna »

well... just try to set cursor at some file, that already exist on another panel, press F6, and cancel overwriting. If nobody could reproduce it, I will put screen video somewhere.
Ave Caesar Imperator,
moritari te salutant!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I just tried it at another machine with a fresh ini and can reproduce it now. So apparently there a few more preconditions. I will do further investigating later.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I also can confirm it on a fresh ini.
I switched to Linux, bye and thanks for all the fish!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

This does not happen when AlwaysCopyInBackground=1.
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

SanskritFritz wrote:This does not happen when AlwaysCopyInBackground=1.
Confirmed.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Sosna
Member
Member
Posts: 143
Joined: 2006-10-24, 10:52 UTC

Post by *Sosna »

it's not a big problem, but when I copy/move files I used to do it quick, and this uncertain behaviour is a little bit uncomfortable
Ave Caesar Imperator,
moritari te salutant!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I would say it is even dangerous.
I switched to Linux, bye and thanks for all the fish!
User avatar
Sosna
Member
Member
Posts: 143
Joined: 2006-10-24, 10:52 UTC

Post by *Sosna »

mr Ghisler, Can you check this problem? thanks in advance.
Ave Caesar Imperator,
moritari te salutant!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is actually intentional - the cursor is always moved after the last handled item. When using the btm, the cursor position is not changed when the operation ends, to avoid that it interferes with current foreground operations.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14913
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
the cursor is always moved after the last handled item
That's it - it is not always moved when moving files (in the foreground).

Try this.
1. copy four files to an empty directory
2. mark the same files again in the source side
3. put the cursor on the first (topmost) selected file.
4. press F6 and then Enter
5. press escape at the overwrite dialog
6. the cursor has JUMPED one file down.

do 1-2 again
3. put the cursor at any other file except the first selected
do 4-5 again
6. the cursor does NOT move

---------------------

Here's another inconsistency.

do 1-4 again
5. press the "Overwrite" button once
6. the moved file gets unselected
7.press escape
8. all files gets DEselected and the cursor JUMPS to the last of the previously selected files.

do 1-3
4. press F5 and then Enter
5. press the "Overwrite" button once
6. the copied file gets unselected
7. press escape
8. the files STAY selected and the cursor STAYS at the first of the remaining selected files

---------------------

Another one:
do 1-4
5. press the "Skip" button once
6. the skipped file gets deselected
7. press escape
8. the remaining files STAY selected and the cursor JUMPS to the second of the remaining selected file.

do 1-3
4. press F5 and then Enter
5. press the "Skip" button once
6. the skipped file gets deselected
7. press escape
8. cursor jumps STAYS on the first of the remaining selected file.

Why these inconsistensies between using F5 and F6 when pressing escape?
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
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2ghisler(Author)
I think the caret should not move after a cancel at all!
Was this always like this? Can anyone check an older version of TC?
I switched to Linux, bye and thanks for all the fish!
User avatar
petermad
Power Member
Power Member
Posts: 14913
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2SanskritFritz
The behaviour is (unfortunately) exactly the same in TC 6.54a.
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