View Issue Details

IDProjectCategoryView StatusLast Update
0002460Double CommanderViewerpublic2026-02-28 13:43
Reporterfgordon Assigned ToAlexx2000  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformOSXOSMacOSOS Version10.14.6
Product Version0.9.8Product Build9296 
Summary0002460: "Find" and "Find next" does not start/continue from the point where the mouse was last clicked
DescriptionIn most text viewers, editors and browsers, when a text search is performed (Ctrl-F), the search starts from the cursor position or last mouse click. Also, "Find next" (F3) starts from the cursor position or last mouse click.

In Double Commander's text file viewer, the "Find" and "Find next" commands start and continue respectively from the beginning of the file, instead of the mouse's last click position.
Steps To Reproduce1. Open a text file with the File viewer. The file should contain at least 3 occurrences of some text - let's say "My Text", among other text.


==============

Issue 1: "Find" starts at the beginning of the file instead of last mouse click position:

1.1. Click somewhere before the last occurrence of "My Text".

1.2. Press Ctrl-F to open the "Find" dialog and enter "My Text" as the search term, then click the "Find" button. The first occurrence of "My Text" in the file will be highlighted/selected, instead of the one following the mouse click position.

==============

Issue 2: "Find next" continues form the last text occurrence, instead of last mouse click position:

2.1. Click the mouse somewhere between the 2nd and the 3rd occurrence of "My Text".

2.2. Press F3 to find the next occurrence.
Expected: 3rd occurrence of "My Text" should be highlighted. since it's the one following the position of the mouse click.
What actually happens: the 2nd occurrence is selected, although the mouse was clicked after it.

Same applies when searching backwards: the found text should follow the position of the mouse click, in the direction of the search.
TagsNo tags attached.
Fixed in Revision
Operating systemMacOSX
WidgetsetQt4, Qt5
Architecture64-bit

Activities

Alexx2000

2020-02-25 21:28

administrator   ~0003416

Such capability already added in DC 1.0.

Issue History

Date Modified Username Field Change
2020-02-25 19:00 fgordon New Issue
2020-02-25 21:28 Alexx2000 Note Added: 0003416
2020-02-25 21:28 Alexx2000 Status new => resolved
2020-02-25 21:28 Alexx2000 Resolution open => fixed
2020-02-25 21:28 Alexx2000 Assigned To => Alexx2000
2026-02-28 13:43 Alexx2000 Status resolved => closed