How to change Search feature from background to front?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

How to change Search feature from background to front?

Post by *sidefx88 »

Hi!

I'm currently using the Search feature on TC as a separate thread, but I've noticed that the search window has a delay (one to two seconds since I press Alt+F7), so I want to change it back to the same thread as TC.

I've been looking on the Configuration panel, but I couldn't find it.
I couldn't find anything to change it on wincmd.ini too.

Any help?

Thanks!
I Love Total Commander!
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to change Search feature from background to front?

Post by *Stefan2 »

Is there an option to set the separate search as default? I don't think so, me guess you just call
that feature yourself by changed the default call to launch the separate search?

Use cm_commandBrowser in TCs command line and search for "search":
cm_SearchFor=501;Search for
cm_SearchForInCurdir=517;Search in directory under the cursor
cm_SearchStandalone=545;Search in separate process



Now the question is, have you used "cm_SearchStandalone" or "545" somewhere yourself?
See wincmd.ini [Shortcuts] , DEFAULT.BAR, language.mnu?





For others:
History.txt wrote:24.04.13 Added: New internal command cm_SearchStandalone opens separate search dialog
with same parameters as cm_SearchFor opens the internal dialog (32/64)


 
User avatar
Dalai
Power Member
Power Member
Posts: 10024
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: How to change Search feature from background to front?

Post by *Dalai »

I guess, there's just Alt+F7 remapped to cm_SearchStandalone command. Check in Options > Misc > Redefine hotkeys section.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: How to change Search feature from background to front?

Post by *sidefx88 »

Thanks, but the internal Search window (not running on a separate thread) has the same delay too (one to two seconds).

Is this caused by too many WDX plug-ins installed? I have 31 WDX installed.

Thanks
I Love Total Commander!
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to change Search feature from background to front?

Post by *Stefan2 »

sidefx88 wrote: 2020-07-10, 16:52 UTC Thanks, but the internal Search window (not running on a separate thread) has the same delay too (one to two seconds).

Is this caused by too many WDX plug-ins installed? I have 31 WDX installed.

Thanks
I don't know what WDX or other plug-ins would have to do with an delay on the search function.

Usually one would test that by starting TC with an temporarily ini.

And/or test with that cm_SearchStandalone command.



 
User avatar
Dalai
Power Member
Power Member
Posts: 10024
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: How to change Search feature from background to front?

Post by *Dalai »

AFAIK plugins won't be loaded by just opening the search window. That said, it's possible that (WDX) plugins are already loaded when some custom columns are shown in TC main window.

It's best to test with a clean ini:

Code: Select all

totalcmd.exe /i="%temp%\fresh.ini"
If the delay happens there as well, it's something else on the system, likely a virus scanner (including Windows Defender).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply