Name is not added to Cmdline when QuickSearch is active

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Name is not added to Cmdline when QuickSearch is active

Post by *DrShark »

When user activates Quick Serach filter (Ctrl+S) and tries to add file name of file under cursor into commad line using Ctrl+Enter or Ctrl+Shift+Enter, nothing is added to command line, instead Ctrl+Enter moves cursor down in file panel.
This behaviour is not documented in help (both Quick Search and Command line Help pages say nothing about this), not expected (when user activates quick serch, the focus is both in file panel and quicksearch input which is clearly visible when user enters letter in filter or use Ctrl+Enter which moves cursor in panel) and really annoying.
My suggestion:
1. When user activates quick filter with Ctrl+S, don't hide cursor for file in panel (it's still there, just hidden now), there is no reason to do this. Focus in file panel exists for navigation and focus in QuickSearch input is for entering a name, so no conlict here.
2. Make Ctrl+Enter/Ctrl+Shift+Enter to add file name under cursor to command line while QuickSearch is opened and even filter applied to file list (user entered some letters to QuickSearch).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3860
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Support ++

Pressing just a Enter key will perform the related action (execute the file under cursor) and close the Quick Search filter dialog.

Pressing Ctrl-Enter should perform the related action (add file name under cursor to command line) too.
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This behaviour is as intended and will not be changed, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Sometimes I use few QuickSearch searches just to insert different filenames into command line.
With current behaviour user has to apply filter, press Esc to close Quick Search, press Ctrl+(Shift)+Enter to insert a name (or use Commandline's autocomplete or history, after which user have to manually add a space after inserted name using End+Space), then activate QuickSearch again , apply filter, again Esc to close it, add second name, and so on... So many actions just to add a second name, and user have to do all this for each name. You could make it easier for user...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I support that it would be nice and expedient if Ctrl+Enter and Shift+Ctrl+Enter would work as usual also when the Quick-search panel is open - for the excact reasons described by DrShark
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply