- Pascal 94.5%
- Assembly 4.1%
- HTML 0.5%
- Shell 0.4%
- C 0.2%
- Other 0.1%
LCL's CheckMouseButtonDownUp (controls.pp) applies a hardcoded 3px position check on top of Windows' own WM_LBUTTONDBLCLK detection. Touch/pen taps routinely land 4-10px apart, causing the double-click to be silently downgraded to a single click before DC sees it; Total Commander (native Win32) handles WM_LBUTTONDBLCLK directly without this extra filter, so it works correctly. Two fixes, both Windows-only (LCLWIN32 guards, zero effect on Linux): 1. Raise Mouse.DragThreshold from 5px to 10px at startup. Touch/pen wobble during a tap easily exceeds 5px, accidentally starting a drag and swallowing the click. 10 logical pixels is sub-millimetre for a mouse and imperceptible in practice. 2. In MainControlMouseDown, track the last left-button-down time and position. On a second tap that arrives within GetDoubleClickTime and within 10 logical pixels but without ssDouble in Shift (i.e. LCL rejected it), call DoMainControlFileWork directly. The guard gMouseSingleClickStart = 0 prevents double execution in single-click mode, where MouseUp already handles the open. |
||
|---|---|---|
| .github | ||
| components | ||
| default | ||
| doc | ||
| doublecmd.app/Contents | ||
| highlighters | ||
| install | ||
| language | ||
| libraries/src | ||
| pixmaps | ||
| plugins | ||
| scripts | ||
| sdk | ||
| src | ||
| tools | ||
| units | ||
| .gitattributes | ||
| .gitignore | ||
| build.bat | ||
| build.sh | ||
| clean.bat | ||
| clean.sh | ||
| doublecmd.help | ||
| doublecmd.lpg | ||
| doublecmd.png | ||
| doublecmd.sh | ||
| fpmake.pp | ||
| LICENSE.md | ||
| pinyin.tbl | ||
| README.md | ||
Double Commander is a free cross-platform open source file manager with two panels side by side (or one above the other). It is inspired by Total Commander and features some innovative new ideas.
Double Commander can be run on several platforms and operating systems. It supports 32-bit and 64-bit processors. See Supported platforms for a complete list.
See Double Commander in action in the Screenshot Gallery.
Where to start
Download
Go to the Double Commander download page to download the latest release.
You can check the latest version on the Versions page.
See if Double Commander is supported for your platform on the Supported platforms page.
Develop
For more information on the development of Double Commander, see the Development page.
Discuss
Go to our forum for discussions. There are English and Russian sections.
If you want to stay up-to-date with the project, you can check out the available news feeds.