Shift-drag (move) files moves more files than selected
Moderators: Hacker, petermad, Stefan2, white
Shift-drag (move) files moves more files than selected
Versions affected:
This behavior is present in 8.00beta7 (32-bit) and 8.00beta8 (32-bit), absent in 7.56a and earlier versions.
Steps to reproduce:
1. Highlight (select) one or more files for a copy/move operation.
2. Move the cursor outside the selection. (This happens automatically if the option is set to advance the cursor on file selection with the space bar.)
3. Press Shift, *then* begin dragging the selection using the mouse to the other side.
4. Observe that more files are moved than originally selected; namely, the files between the selection and the cursor position are added to the set and moved.
This behavior is present in 8.00beta7 (32-bit) and 8.00beta8 (32-bit), absent in 7.56a and earlier versions.
Steps to reproduce:
1. Highlight (select) one or more files for a copy/move operation.
2. Move the cursor outside the selection. (This happens automatically if the option is set to advance the cursor on file selection with the space bar.)
3. Press Shift, *then* begin dragging the selection using the mouse to the other side.
4. Observe that more files are moved than originally selected; namely, the files between the selection and the cursor position are added to the set and moved.
I think reason is that TC adds group to selection when you do Shift+Click (add group to selection), and then drags new selection.
Past versions incorrectly processed Shift+Click if clicked file was already selected (they did nothing instead).
Why do you press Shift before dragging? You should just drag files and hold Shift then.
Past versions incorrectly processed Shift+Click if clicked file was already selected (they did nothing instead).
Why do you press Shift before dragging? You should just drag files and hold Shift then.
Sir_SiLvA wrote:apart from the fact i dont understand why someone use mouse & keyboard in that way its confirmed
Haha, yes, why would anybody do such a thing?MVV wrote:I think reason is that TC adds group to selection when you do Shift+Click (add group to selection), and then drags new selection.
Past versions incorrectly processed Shift+Click if clicked file was already selected (they did nothing instead).
Why do you press Shift before dragging? You should just drag files.

Shift-drag is move while drag is copy, therefore not interchangeable.
Most importantly, I don't believe that the new behavior is what one might reasonably expect. For example: Select files 1 and 2, place the cursor/focus at file 20 to make the effect very obvious. Now press shift and begin dragging file 1. This adds files 3-20 to the set even though I haven't clicked anywhere near file 20 when beginning to drag what I thought would be currently highlighted files 1 and 2. Counterintuitive.
You click first file, hold Shift and click second file to select group. So you should put cursor onto file 20 and then do Shift+Click on file 1 to select files 1-20. Quite expected behaviour.
When you wish to drag, you begin drag and then hold Shift to move. Standard behaviour.
It seems that TC should detect if user wants to click or to drag file: if user does a click (quickly releases mouse button), TC should select group, but if user starts dragging a file, TC shouldn't select it...
When you wish to drag, you begin drag and then hold Shift to move. Standard behaviour.
It seems that TC should detect if user wants to click or to drag file: if user does a click (quickly releases mouse button), TC should select group, but if user starts dragging a file, TC shouldn't select it...
Re: Shift-drag (move) files moves more files than selected
Hello, nanbawan.
I cannot confirm that T.C. 8.0 beta introduced this behaviour. I get exactly the same behaviour using T.C. 7.56a.
You mark 5 files.
The cursor is on file #6.
You hold the shift key, klick the left mouse button and start dragging.
The very moment that you do this all tested T.C. versions including T.C. 7.56a will mark the file under the cursor and will add it to the group of selected files.
Perhaps T.C. should really realize that you are not in "selecting files" mode any longer but in "about to drag and drop" mode.
As apparently it does not do so, I would strongly recommend to make sure the mouse pointer is inside the selected group of files and not outside when holding the shift key, klicking the left mouse button and starting to darg.
Cheers,
Karl
I can reproduce the behaviour which you explain folowwing the given steps.nanbawan wrote:This behavior is present in 8.00beta7 (32-bit) and 8.00beta8 (32-bit), absent in 7.56a and earlier versions.
I cannot confirm that T.C. 8.0 beta introduced this behaviour. I get exactly the same behaviour using T.C. 7.56a.
You mark 5 files.
The cursor is on file #6.
You hold the shift key, klick the left mouse button and start dragging.
The very moment that you do this all tested T.C. versions including T.C. 7.56a will mark the file under the cursor and will add it to the group of selected files.
Perhaps T.C. should really realize that you are not in "selecting files" mode any longer but in "about to drag and drop" mode.
As apparently it does not do so, I would strongly recommend to make sure the mouse pointer is inside the selected group of files and not outside when holding the shift key, klicking the left mouse button and starting to darg.
Cheers,
Karl
karlchen, reported behaviour occurs when you hold Shift and start dragging a file while another file (non-selected at all) is focused.
Code: Select all
28.09.11 Added: Also select range of files when Shift+Clicking on already selected file (32/64)
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is not a bug. You need to press Shift AFTER starting the drag operation. Even in TC 7.x, holding down shift first would select some files, e.g. when nothing was selected and you Shift+Click on a different file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com