View Issue Details

IDProjectCategoryView StatusLast Update
0001913Double CommanderViewerpublic2020-11-30 07:44
Reporternicker Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformX64OSWindows 10OS Version1703
Target Version0.8.0Fixed in Version0.8.0 
Summary0001913: Drag and drop delay causes for wrong file selection
DescriptionWhen clicking a file for drag and drop operation while the mouse cursor is moving there's a delay that changes the selected file.
As the motion of the mouse is faster the selected file will be further from where the initial left click happen.

The correct selection should be the entry where the initial 'mouse left down' occurred.
Steps To Reproduce1. Move the mouse cursor over the entries in the file panel from up to down in a constant speed.
2. while moving the mouse, click on an item for drag and drop without changing the cursor movement speed.


Bug: the selected file is not the one clicked upon.
TagsNo tags attached.
Fixed in Revision7787
Operating system
Widgetset
Architecture32-bit, 64-bit

Activities

accorp

2017-09-11 23:26

reporter   ~0002347

Last edited: 2017-09-13 05:22

Drag delay was introduced in revision 7070 and is hardcoded to 100ms:

------------------------------------------------------------------------
r7070 | alexx2000 | 2016-08-27 21:14:55 +0300 (Sat, 27 Aug 2016) | 1 line
FIX: Don't start drag operation in no time
------------------------------------------------------------------------

  if FStartDrag and ((GetTickCount64 - FStartDragTick > 100) or (Shift * [ssShift, ssAlt, ssCtrl] <> [])) then
    ...


It seems like a workaround for some issue, commit message is not explaining much.

Issue History

Date Modified Username Field Change
2017-09-08 13:07 nicker New Issue
2017-09-11 23:26 accorp Note Added: 0002347
2017-09-13 05:22 accorp Note Edited: 0002347
2017-09-18 23:17 Alexx2000 Fixed in Revision => 7787
2017-09-18 23:17 Alexx2000 Assigned To => Alexx2000
2017-09-18 23:17 Alexx2000 Status new => resolved
2017-09-18 23:17 Alexx2000 Resolution open => fixed
2017-09-18 23:17 Alexx2000 Fixed in Version => 0.8.1
2017-09-18 23:17 Alexx2000 Target Version => 0.8.0
2017-12-10 19:45 Alexx2000 Fixed in Version 0.8.1 => 0.8.0
2020-11-30 07:44 Alexx2000 Status resolved => closed