Quick Search dialog should allow paste

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Rafal
Junior Member
Junior Member
Posts: 32
Joined: 2005-01-06, 00:20 UTC

Quick Search dialog should allow paste

Post by *Rafal »

Currently with option to search file list with "Letters - with search dialog" I can't paste anything.
Something I get filename from text editor for example and try to quickly find that file in a directory I know it is in. I can't really do that easily -- I have to retype whole or part of the filename to be able to find it.

I expect to be able to paste there filename that I now that is in current directory.

Not sure how that should work.
Should it allow pasting ANYthing inside that field or only text that matches some filename. I guess it should be tha latter option cause with first one, TC would probably not allow us to further edit text in that field if nothing would match.

BTW. It works when invoking right click context menu and choosing Paste option. It does not work when doing CTRL+V.

But doing it from context menu does not fully work either because after pasting, TC does not update anything until I remove one char for example. I guess it updates list on onkeydown/onkeyup and not on "onchange"
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

TC does not update anything until I remove one char
That's not enough - you have to enter a (valid) character as well, or press arrowUp or arrowDown.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

TC-Wiki: Autohotkey

CTRL-V_QuickSearch.ahk

Code: Select all

$^v::
IfWinActive, ahk_class TQUICKSEARCH
{
    ControlSetText, TTabEdit1, %clipboard%
    ControlSend, TTabEdit1, {END}{DOWN}
}
else
    Send, ^v
Return
Should it work like this?
It's not the standard behaviour for Ctrl+V in edit boxes, because normally the pasted string does not replace the complete edit box string.

Regards,
Holger
Post Reply