Selection and drag'n'drop (move)

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Caterp!llar
Junior Member
Junior Member
Posts: 10
Joined: 2010-10-08, 07:14 UTC

Selection and drag'n'drop (move)

Post by *Caterp!llar »

Steps to reproduce:
1) Select all files in panel
2) Move cursor (with arrows) on top of the selection and deselect several files with INSERT
3) Try to move selected files with mouse (holding SHIFT)
Result:
Deselected files became selected.

TC 8.0b12 x64 on Win7
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Confirm, but not always…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

I also noticed this effect several times.
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Caterp!llar, if you click selected file, hold Shift and then click deselected one, TC selects band, all is OK here.

You should press Shift after starting dragging. Read here.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

MVV
No-no, the reported issue is reproduced even when you start dragging by a selected file. Selecting a group by Shift+click is not a case here.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This isn't a bug, when you hold down Shift while starting the drag.

2Flint
Not confirmed, it doesn't happen when I press Shift after starting the drag.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author) wrote:Not confirmed, it doesn't happen when I press Shift after starting the drag.
Neither here, I reproduced the issue only when pressing Shift before starting the drag. But it's not about additional selecting of group of files by Shift+click.

Video (recorded in XP x64; don't pay attention to black square around mouse cursor, it's a problem of recording in a virtual machine):
Video/EXE (player/codec included)
Video/AVI (needs MSU Screen Capture Lossless Codec)

You can see that all the upper files are selected, though the file I click with Shift is located below the current cursor position.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Flint, confirmed in 64-bit TC only, Win7x64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see - so the problem doesn't have to do anything with Drag&Drop, but with selection by Shift+Click after selecting with Insert! Indeed this doesn't work correctly in 64-bit, but does in 32-bit. The problem is that the Insert key doesn't trigger a "Change" event in Lazarus, but does in Delphi. I will add a workaround.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Seems to be fixed in 8.0β13.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, can anyone confirm it?
Author of Total Commander
https://www.ghisler.com
Caterp!llar
Junior Member
Junior Member
Posts: 10
Joined: 2010-10-08, 07:14 UTC

Post by *Caterp!llar »

Fixed in x64 beta13
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply