This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QuickSearch eXtended
Goto page Previous  1, 2, 3 ... 47, 48, 49
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Samuel
Power Member
Power Member


Joined: 29 Aug 2003
Posts: 1849
Location: Brandenburg, Germany

PostPosted: Sun Jun 10, 2018 11:36 pm    Post subject: Reply with quote

majkinetor ! wrote:
Hi,

I noticed that tcmatch.ini is saved on the same location as the plugin. This makes user settings hard to use for multiple users and requires admin access.

Is it possible to save ini file to the same location where TotalCmd configs are, by default $Env:APPDATA\Ghisler ?

I noticed this because by default chocolatey package installs Total Commander under program files which is more restrictive.

There is a wincmd switch for the path:
German TC help wrote:
tcmatch= Legt den Ort der Datei tcmatch.dll fest. Muss den kompletten Pfad+Dateinamen enthalten, unterstützt Umgebungsvariablen. tcmatch.dll wird für benutzerdefinierte Schnellsuche benutzt, z. B. nach chinesischen Zeichen.
tcmatch64= Wie oben, für 64bit-Version.

_________________
QuickSearch eXtended | ButtonBar eXtended | www.familie-plentz.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
majkinetor !
Power Member
Power Member


Joined: 18 Jan 2006
Posts: 1577

PostPosted: Mon Jun 11, 2018 3:22 am    Post subject: Reply with quote

Thanks.

BTW, small bug on AHK side:

Image: https://image.ibb.co/dgMuXo/Untitled.png

Happens only when you switch preferred mode via gui combo box. This shows 4 as I changed it to srch, but whatever you choose, that number is shown.
_________________

             Habemus majkam!


www.r-moth.com               http://r-moth.deviantart.com
Back to top
View user's profile Send private message Visit poster's website
DrShark
Power Member
Power Member


Joined: 03 Nov 2006
Posts: 1111
Location: Kyiv, 68/262

PostPosted: Wed Jun 13, 2018 2:50 am    Post subject: Reply with quote

Samuel wrote:
I can confirm that a folder with 5000 files has problems if filtered in QSX. Perhaps some kind of memory issue.
Is there a chance to get this fixed? I had to disable QSX because of this issue.

Samuel wrote:
DrShark wrote:
... a feature to stop pasting clipboard content on Esc keypress... Christian wrote that maybe in 3rd party tcmatch plugin it may be implemented now by reacting to GetAsyncKeyState(VK_ESCAPE). If it is possible, can you consider adding it to future QSX versions?

Don't know.
Did you try to check whether it's possible to implement this?
_________________
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Back to top
View user's profile Send private message
Samuel
Power Member
Power Member


Joined: 29 Aug 2003
Posts: 1849
Location: Brandenburg, Germany

PostPosted: Wed Jun 13, 2018 12:16 pm    Post subject: Reply with quote

DrShark wrote:
Samuel wrote:
DrShark wrote:
... a feature to stop pasting clipboard content on Esc keypress... Christian wrote that maybe in 3rd party tcmatch plugin it may be implemented now by reacting to GetAsyncKeyState(VK_ESCAPE). If it is possible, can you consider adding it to future QSX versions?

Don't know.
Did you try to check whether it's possible to implement this?

What should be done when this happens? I don't know how to interrupt clipboard entry. Or should it instant filter all files if ESC is pressed? (to avoid long calculations)
_________________
QuickSearch eXtended | ButtonBar eXtended | www.familie-plentz.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Samuel
Power Member
Power Member


Joined: 29 Aug 2003
Posts: 1849
Location: Brandenburg, Germany

PostPosted: Thu Jun 14, 2018 8:38 pm    Post subject: Reply with quote

Update. Version 2.2.7 is available.

Code:
Version 2.2.7
- Fixed a memory leak resulting in a big grow of memory consumption of TC in folders with many files – thank you DrShark
- Fixed long time bug of displaying numbers instead of the correct strings in the GUI - thank you majkinetor !
- Added pressing and holding ESC interrupts the matching process. Could be used when the match process is slow, because a long text is pasted or plugins slow down the process.

_________________
QuickSearch eXtended | ButtonBar eXtended | www.familie-plentz.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DrShark
Power Member
Power Member


Joined: 03 Nov 2006
Posts: 1111
Location: Kyiv, 68/262

PostPosted: Sat Jun 16, 2018 3:31 am    Post subject: Reply with quote

Samuel, thanks for update!

After 2 days of using the plugin, I can confirm there is no more leak-like growing of RAM in cases I mentioned, so I hope Quick Search Extended won't crash TC anymore Smile

I also tried a new feature to abort filtering with Esc key, it works as expected.
I have suggestions to improve it though:
1. If user is holding Esc while and still after string is pasted, QSX window is closed. Is it possible to make Esc only to stop filtering, so QSX window could be closed with separate Esc keypress?
2. If user is holding Esc while pasting, but releases it before pasting is done, QSX will filter for characters that pasted while Esc wasn't being pressed. It would be nice if after following closing and reopening QSX GUI (Esc->Ctrl+S) in search window real string (characters) for which QSX was/is filtering would be restored instead of full pasted string.

I also have some other not related suggestions:
3. It would be nice to have a possibility to define custom hotkeys to toggle the state of QSX GUI buttons like "Match only begginning of files/words".
4. Not sure if it's in control of QSX... In my wincmd.ini, I have defined a custom path to tcmatch.dll in tcmatch= parameter of [Configuration] section. But when installing a plugin using default pluginst.inf way, the plugin, instead of updating my tcmatch.dll, is installed into %COMMANDER_PATH% anyway, and TC starts using it immediately, so moving tcmatch files from %COMMANDER_PATH% to custom location requires closing the Total Commander. Manual update by unpacking tcmatch files plugin from distribution archive to my custom location also requires closing TC, because if I decided not to use pluginst.inf install, a previous version of tcmatch.dll from custom location is used by TC at the moment of update. So the question is: can you tell TC using some parameter in pluginst.inf (maybe currently empty defaultdir= ?) to prefer tcmatch= location, if present, on plugin update? If not, maybe you can support my suggestion for TC to use cm_UnloadPlugins (or some new command) to unload tcmatch.dll from active TC instance, so at least a manual update will be possible without a need to close Total Commander?
_________________
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right
Back to top
View user's profile Send private message
Samuel
Power Member
Power Member


Joined: 29 Aug 2003
Posts: 1849
Location: Brandenburg, Germany

PostPosted: Sat Jun 16, 2018 9:54 am    Post subject: Reply with quote

DrShark wrote:
1. If user is holding Esc while and still after string is pasted, QSX window is closed. Is it possible to make Esc only to stop filtering, so QSX window could be closed with separate Esc keypress?
2. If user is holding Esc while pasting, but releases it before pasting is done, QSX will filter for characters that pasted while Esc wasn't being pressed. It would be nice if after following closing and reopening QSX GUI (Esc->Ctrl+S) in search window real string (characters) for which QSX was/is filtering would be restored instead of full pasted string.

The input field is created and handled by TC. No possibility for me to change the behavior.

DrShark wrote:
3. It would be nice to have a possibility to define custom hotkeys to toggle the state of QSX GUI buttons like "Match only begginning of files/words".

I will consider it.

DrShark wrote:
4. Not sure if it's in control of QSX... In my wincmd.ini, I have defined a custom path to tcmatch.dll in tcmatch= parameter of [Configuration] section. But when installing a plugin using default pluginst.inf way, the plugin, instead of updating my tcmatch.dll, is installed into %COMMANDER_PATH% anyway, and TC starts using it immediately, so moving tcmatch files from %COMMANDER_PATH% to custom location requires closing the Total Commander. Manual update by unpacking tcmatch files plugin from distribution archive to my custom location also requires closing TC, because if I decided not to use pluginst.inf install, a previous version of tcmatch.dll from custom location is used by TC at the moment of update. So the question is: can you tell TC using some parameter in pluginst.inf (maybe currently empty defaultdir= ?) to prefer tcmatch= location, if present, on plugin update? If not, maybe you can support my suggestion for TC to use cm_UnloadPlugins (or some new command) to unload tcmatch.dll from active TC instance, so at least a manual update will be possible without a need to close Total Commander?

I prefer to use the standard installation routine of TC. So again no possibility for me to change the behavior.
_________________
QuickSearch eXtended | ButtonBar eXtended | www.familie-plentz.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bynkook
Junior Member
Junior Member


Joined: 26 Jan 2005
Posts: 7

PostPosted: Thu Jul 12, 2018 6:45 pm    Post subject: after uninstall Reply with quote

After I used for a search, I've uninstalled TCMATCH.
I found out today, still the search query displayed in the address bar like

c:\temp\|com.apple

and |com.apple I can remove it. How can I?[/img]
Back to top
View user's profile Send private message
Samuel
Power Member
Power Member


Joined: 29 Aug 2003
Posts: 1849
Location: Brandenburg, Germany

PostPosted: Fri Jul 13, 2018 6:23 am    Post subject: Re: after uninstall Reply with quote

bynkook wrote:
After I used for a search, I've uninstalled TCMATCH.
I found out today, still the search query displayed in the address bar like

c:\temp\|com.apple

and |com.apple I can remove it. How can I?

This looks like TCs very own filter (not quickfilter) is active.
Does Ctrl+F10 resolve the issue? (Ctrl+F12 to activate the filter)
_________________
QuickSearch eXtended | ButtonBar eXtended | www.familie-plentz.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3 ... 47, 48, 49
Page 49 of 49

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group