Lister (w/ plugins) on their own thread?
Moderators: Hacker, petermad, Stefan2, white
Lister (w/ plugins) on their own thread?
What are the architecture challenges of TC codebase that prevent this being a reality? Right now, if Lister doing some work whole TC has to wait, presumably because its functionality runs on the same thread. Is there any reason Lister can't be offloaded to a separate one?
Re: Lister (w/ plugins) on their own thread?
Never had to wait for Lister in the rest of TC.
If needed you can use a separate thread by calling TC lister from the command line.
If needed you can use a separate thread by calling TC lister from the command line.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: Lister (w/ plugins) on their own thread?
2Digika
You could make an em_command like this in your usercmd.ini file:
And then put this code in the [Shortcuts] section of your wincmd.ini file:
Then Lister will open in a separate instance when you press F3 on a file.
Notice that you can then no longer mark multiple files and open them in Lister and cycle between the selected files by pressing N or P or Alt+RightArrow or Alt+LeftArrow.
To work around that, you can change the option in "Configuration" -> "Options..." -> "Edit/View" -> "Viewer for F3" to: "Internal Viewer with file under cursor". Then you can use Shift+F3 to view multiple selected files - but not opened in a separat instance of Lister.
You cannot view files inside archives with F3, but here you can use Shift+F3 - but again not opened in a separat instance of Lister
You could make an em_command like this in your usercmd.ini file:
Code: Select all
[em_separatelister]
cmd=%COMMANDER_EXE% /i="%COMMANDER_INI%" /S=L
param=%P%N
Code: Select all
F3=em_separatelister
Notice that you can then no longer mark multiple files and open them in Lister and cycle between the selected files by pressing N or P or Alt+RightArrow or Alt+LeftArrow.
To work around that, you can change the option in "Configuration" -> "Options..." -> "Edit/View" -> "Viewer for F3" to: "Internal Viewer with file under cursor". Then you can use Shift+F3 to view multiple selected files - but not opened in a separat instance of Lister.
You cannot view files inside archives with F3, but here you can use Shift+F3 - but again not opened in a separat instance of Lister
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
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
Re: Lister (w/ plugins) on their own thread?
This will essentially launch a new instance of TC in lister mode which is pretty bad workaround all around to be frank. Not being able to cycle between opened Lister windows is least of the issues.
Image: https://i.imgur.com/Fv8KKWb.png
Image: https://i.imgur.com/Fv8KKWb.png
Re: Lister (w/ plugins) on their own thread?
It is not different from running for example TC's "Find Files" in a separate instance using Alt+Shift+F7 or cm_SearchStandalone.
Maybe Lister is not run in a separate thread, because plugins can not be known to be thread safe.
Maybe Lister is not run in a separate thread, because plugins can not be known to be thread safe.
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
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