folders select

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Infector
Junior Member
Junior Member
Posts: 45
Joined: 2005-11-22, 12:48 UTC
Location: Russia

folders select

Post by *Infector »

..
1.folder 1
2.folder 2
3.folder 3

1.Select folder 3
2.Set cursor to folder 3
3.Press shift+home

folder 3 deselected and folder 1 and 2 not selected.

but if we do
1.Set cursor to folder 3
3.Press shift+home
all folders selected.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I do believe that is expected behaviour.
If a file is selected shift+Movement key will deselect.

Eg.
1. Select Folder2
2. Shift + Down
== Folder2 is unselected, Cursor is on Folder3.
3. now Shift + Up
== Folder3 is selected, cursor is on Folder2.

The exception of course, is Shift + LeftClick, that always selects. And if you happen to mix Shift+LeftClick with RightClick select/unselects you'll see some extremely bad behaviour.

Eg. Select all 3 folders. Now Right click on folder1 and drag down to folder3 (all folders are unselected, and cursor is on folder3).
Now Press shift and LeftClick on folder 1. ... what should happen? All 3 folders should get selected... that doesn't happen.

When you mix 2 types of clicks, the cursor is considered to be at folder1 (where the right click started, instead of where it ended). And when you Shift+Left click on folder1, only folder1 will get selected.
Infector
Junior Member
Junior Member
Posts: 45
Joined: 2005-11-22, 12:48 UTC
Location: Russia

Post by *Infector »

Balderstrom wrote:I do believe that is expected behaviour.
If a file is selected shift+Movement key will deselect.
yes, but folder 1 and too was not selected
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Right, but that is expected behaviour, as I noted:
If File1 is not selected: Shift+MoveMent Key †
---> Range is selected.

If File1 _IS_ selected: Shift+Movemen Key †
---> Range is deselected.
† or MouseClick on another file.

Explorer actually has very similiar behaviour, except in Explorer's case at least one file is always selected.

Yet, if you do nearly the same thing in Explorer:
Select File3,
Shift+Home ---> All Files Selected
Shift+End -----> All Files Deselected (except File3)

TC Behaviour:
Click on, or Move to File3:
Shift+Home ---> All Files Selected
Shift+End -----> All Files Deselected (incl. File3)

The difference is TC has a state of where the cursor is, without that file needing to be selected.

Note: If you disable Right Button Mode, then the behaviour is nearly identical to Explorer for all Movement keys, except for one:

In Explorer, if you Ctrl+Click on a selected file, and then Shift+Home, all files selected, and if you don't Ctrl+Click on a selected file, and then Shift+Home, all files selected. Except as noted above, while Explorer will technically allow you to 'deselect' a file as soon as the cursor moves again a file will get selected.

Whereas in TC, it stays consistent with what happens when Shift+Movement key occurs.
Post Reply