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

EvgenyUA
Junior Member
Junior Member
Posts: 9
Joined: 2024-12-01, 08:28 UTC

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

Post by *EvgenyUA »

If you run the search as seperate process... then on the taskbar you get the old TC icon, i.e. it doesn't read from the specified file in IconLib="".
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

Confirmed - but it has always been like that.
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
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) »

Unfortunately Windows itself decides which icon it will use in the task bar. I cannot control it.
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 »

[OT]
Just a note:
Search... Alt+F7 -> shows the IconLib=... icon
[/OT]
Last edited by tuska on 2024-12-07, 22:38 UTC, edited 1 time in total.
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 »

...
Last edited by tuska on 2024-12-07, 22:35 UTC, edited 1 time in total.
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post by *Dalai »

2tuska
The OP asked about separate search, i.e. Alt+Shift+F7, not Alt+F7. I agree about the post's tone though.
#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
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

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

Post by *white »

Moderator message from: white » 2024-12-07, 19:35 UTC

Deleted 2 inappropriate post by EvgenyUA in this thread. They are soft deleted for now, which means that moderators can still view the posts.

2EvgenyUA
Please follow forum rules. Do not throw insults or use inappropriate language.
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 »

Dalai wrote: 2024-12-07, 19:05 UTC 2tuska
The OP asked about separate search, i.e. Alt+Shift+F7, not Alt+F7. ...
Yes, I know.
On the one hand, I wanted to point out that there is another way to display the desired icon.
On the other hand, I had considered setting my post as [OT] [/OT] which I have now done this so that there is no ambiguity.
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 can set the icon from the icon library in the title bar, but this will only affect the task bar as long as Total Commander hasn't been pinned to the task bar.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

I hope you do it twice?

HICON hIconSmall =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,16, 16, 0);
HICON hIconLarge =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,256, 256, 0); // Big for task bar, small loaded otherwise.

SendMessage(yourWindowHandle, WM_SETICON, ICON_SMALL, (LPARAM)hIconSmall) ;
SendMessage(yourWindowHandle, WM_SETICON, ICON_BIG, (LPARAM)hIconLarge) ;
#146217 personal license
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) »

Yes, that's how I handle it in the main window too.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post by *AntonyD »

So this is another bug of the selected programming framework. It’s too old and it doesn’t seem to be updated conceptually.
If you do these operations for a project, compiled in VisualStudio 2019 for example, no wrong icons for created and opened by
analogy with "search as seperate process..." - just not. The correct icon is always displayed.
#146217 personal license
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) »

Why do you think that? The programming environment knows nothing of the user-defined icon library (via IconLib=). And the taskbar limitation of pinned programs having the main icon isn't the fault of the compiler either.
Author of Total Commander
https://www.ghisler.com
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'm now using the redefined icons for search, synchronize dirs, and compare by content (but NOT for Lister), please check it.
10.12.24 Fixed: Synchronize dirs, compare by content: Set icon in title bar correctly when using external icon library (32/64)
08.12.24 Fixed: Find files, search in separate process: Set icon in title bar correctly when using external icon library (32/64)
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 »

These are my test results with 11.50RC2 with:
wincmd.ini - [Configuration] - IconLib=C:\totalcmd\Tools\FS_Capture_portable\FSCapture.exe

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 .........................................        (B)          (B)	         (B)	     (B)
3. sync dirs - compare by content (but NOT for Lister) ......        (C)	  (C)		 (C)         (C)

Code: Select all

(A) Works: Search in separate process... Alt+Shift+F7; em_commands
----------------------------------------------------------------------------------------------------------------
(B) Works: cm_FileSync, %COMMANDER_EXE% /S=S:= "%X%Z%P" "%T" /O=%WL
    Does NOT work:
    - em_commands
    - %COMMANDER_EXE% /S=S:=.D-I - OR - %COMMANDER_EXE% /S=S:=.C-totalcmd_D-Totalcmd
----------------------------------------------------------------------------------------------------------------
(C) Works: cm_FileSync, Compare...
    Does NOT work:
    - Ctrl+F3: Compare left & right -> The TC icon(!) is displayed in the “Compare contents” window instead of the FSC icon.

Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10
Post Reply