Old icon "search as seperate process..." In taskbar. Bug or not?

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Old icon "search as seperate process..." In taskbar. Bug or not?

Post by *ghisler(Author) »

Does NOT work:
- em_commands
What exactly do you mean with that?
%COMMANDER_EXE% /S=S:=.D-I - OR - %COMMANDER_EXE% /S=S:=.C-totalcmd_D-Totalcmd
Works fine here, both when called from the command line at the button and when stored in an em_command. Please explain.
- Ctrl+F3: Compare left & right -> The TC icon(!) is displayed in the “Compare contents” window instead of the FSC icon.
Not confirmed. Maybe I'm misunderstand what you are doing?
I tried opening the synchronize tool both within Total Commander and standalone, and then pressed Ctrl+F3 on a line with 2 files.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: Old icon "search as seperate process..." In taskbar. Bug or not?

Post by *tuska »

In the following examples, the TC icon is displayed, but:
IconLib=C:\totalcmd\Tools\FS_Capture_portable\FSCapture.exe

2. synchronize dirs (B)
ghisler(Author) wrote: 2024-12-13, 08:13 UTC
Does NOT work:
- em_commands
What exactly do you mean with that?
Example:
Left: D:\TEMP\TOTALCMD.INC (New) => Right: D:\TMP\TOTALCMD.INC (Old)
usercmd.ini - em_Synchronize_CURRENT_DIRECTORIES_in_a_separate_window

Code: Select all

[em_Synchronize_CURRENT_DIRECTORIES_in_a_separate_window]
button=TOTALCMD.EXE,32
cmd=%COMMANDER_EXE%
param=/S=S:= "%X%Z%P" "%T"
menu=Synchronize CURRENT directories/sep. task! (ALT+S)|Comparison starts IMMEDIATELY!|"Synchronize directories" window:|- LEFT: F3, RIGHT: Shift+F3 displays file(s) in the Lister...|- Multiple selection possible!|https://ghisler.ch/board/viewtopic.php?f=2&t=75185
wincmd.ini - Shortcuts - A+S=em_...

Code: Select all

A+S=em_Synchronize_CURRENT_DIRECTORIES_in_a_separate_window
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
ghisler(Author) wrote: 2024-12-13, 08:13 UTC
%COMMANDER_EXE% /S=S:=.D-I - OR - %COMMANDER_EXE% /S=S:=.C-totalcmd_D-Totalcmd
Works fine here, both when called from the command line at the button and when stored in an em_command. Please explain.
Here is an example:
BUTTON - Synchronization with stored sync directories

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_EXE%
/S=S:=.C-totalcmd_D-Totalcmd
TOTALCMD.EXE,25
Verzeichnisse synchronisieren (C-totalcmd <==> D-Totalcmd) |Separater Task! || Vergleich startet SOFORT! |http://ghisler.ch/board/viewtopic.php?t=43927
%COMMANDER_PATH%

-1
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
3. sync dirs - compare by content (but NOT for Lister) - (C)
ghisler(Author) wrote: 2024-12-13, 08:13 UTC
- Ctrl+F3: Compare left & right -> The TC icon(!) is displayed in the “Compare contents” window instead of the FSC icon.
Not confirmed. Maybe I'm misunderstand what you are doing?
I tried opening the synchronize tool both within Total Commander and standalone, and then pressed Ctrl+F3 on a line with 2 files.
1. Press button with command: cm_FileSync -> The FastStone Capture icon is displayed. (OK)
2. Press button "Compare" -> Left: D:\TEMP\TOTALCMD.INC (New) => Right: D:\TMP\TOTALCMD.INC (Old)
3. Press Ctrl+F3 "Compare left & right" -> The Total Commander icon is displayed instead of the FastStone Capture icon.    
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Old icon "search as seperate process..." In taskbar. Bug or not?

Post by *ghisler(Author) »

I think your problem is FSCapture.exe. IconLib= isn't meant to be set to arbitrary programs. It's meant for replacement icon libraries like this one:
https://totalcmd.net/plugring/flatFileIcons.html

Total Commander uses the first icon from that lib for the main window, the 24th for compare by content, and the 33th for synchronize dirs. It also uses the lib for default file and folder icons.

Please retry your tests with a proper icon library.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: Old icon "search as seperate process..." In taskbar. Bug or not?

Post by *tuska »

ghisler(Author) wrote: 2024-12-13, 10:58 UTC I think your problem is FSCapture.exe. IconLib= isn't meant to be set to arbitrary programs.

It's meant for replacement icon libraries like this one:
https://totalcmd.net/plugring/flatFileIcons.html

Total Commander uses the first icon from that lib for the main window, the 24th for compare by content,
and the 33th for synchronize dirs. It also uses the lib for default file and folder icons.

Please retry your tests with a proper icon library.
Thank you for your explanations!

Retest: OK (!)
wincmd.ini - section [Configuration] - IconLib=%COMMANDER_PATH%\flat_FileIcons.dll

Code: Select all

						  		x64 dark   x64 normal	   x86 dark   x86 normal
----------------------------------------------------------------------------------------------------------------
1. Find files, search in separate process ...................    OK  (A)    OK    (A)	    OK   (A)   OK    (A)
2. synchronize dirs .........................................    OK  (B)    OK    (B)	    OK   (B)   OK    (B)
3. sync dirs - compare by content (but NOT for Lister) ......    OK  (C)    OK	  (C)	    OK	 (C)   OK    (C)
----------------------------------------------------------------------------------------------------------------
(A) Works: Alt+Shift+F7: Search in separate process...; cm_SearchStandalone (command line); em_commands
----------------------------------------------------------------------------------------------------------------
(B) Works: cm_FileSync (Button, command line); em_commands (shortcut, command line);
           BUTTON: Command: %COMMANDER_EXE% ... Parameters: /S=S:= "%X%Z%P" "%T" /O=%WL (only selected)
           BUTTONS: Synchronization of stored sync dirs, e.g. %COMMANDER_EXE% /S=S:=.C-totalcmd_D-Totalcmd
----------------------------------------------------------------------------------------------------------------
(C) Works: cm_FileSync; em_commands; button --> then [context menu entry] Ctrl+F3 "Compare left & right"

Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10 | TC 11.50RC2 x64/x86
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Old icon "search as seperate process..." In taskbar. Bug or not?

Post by *ghisler(Author) »

Great, thanks!

Moderator message from: ghisler(Author) » 2024-12-15, 08:55 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply