[TC 11.03] No icon in Start menu in specific case

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.03] No icon in Start menu in specific case

Post by *AntonyD »

Ok, can someone provide a FULL example of HOW now this new feature would work?
Let's take for example this ICONpack: https://files.softicons.com/download/system-icons/junior-icons-by-treetog-artwork/ico/Command%20Prompt.ico
And create a new em_ command for opening an admin 'cmd' console.
And put this at some level of the main MENU with support of `&` hotkeys in description.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.03] No icon in Start menu in specific case

Post by *ghisler(Author) »

Icons defined in em_ commands are only used in the "Start" menu, not in the main menu. See title of thread.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.03] No icon in Start menu in specific case

Post by *AntonyD »

But Start menu is just a smallest piece of the Main Menu - This is where something like this really and very much is expected.
We scatter 99% of our commands into the elements of the Main Menu indeed.
And it turns out that there are still problems with the elementary assignment of a new menu-item with my em_ cmd and with an icon?
Inside the REAL main menu)))
Last edited by AntonyD on 2024-10-10, 18:01 UTC, edited 1 time in total.
#146217 personal license
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.03] No icon in Start menu in specific case

Post by *white »

ghisler(Author) wrote: 2024-10-09, 13:56 UTC This should be fixed and enhanced in Total Commander 11.50 beta 1, please check it!
16.07.24 Added: Menu "Start": Use icon defined in em_command, but only from wcmicons.dll or .ico files, not from arbitrary exe or dll files (speed reasons) (32/64)
16.07.24 Fixed: Menu "Start": Show icons also for em_ commands without parameters, when defined in WCMICONS.INC, e.g. 710=81 sets icon index 81 for the 10th menu item, unless a custom icon was set for em_command itself (32/64)
16.07.24 Fixed: Menu "Start": Show icons also for cm_ commands with parameters, the same as without parameters (32/64)
Tested OK using TC 11.50b1 32-bit and 64-bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.03] No icon in Start menu in specific case

Post by *ghisler(Author) »

But Start menu is just a smallest piece of the Main Menu - This is where something like this really and very much is expected.
It was added especially for the start menu, because that's what you can change via user interface. I will consider it also for the main menu, but that's currently separate code using only icons from wcmicons.dll.
And it turns out that there are still problems with the elementary assignment of a new menu-item with my em_ cmd and with an icon?
Inside the REAL main menu)))
What do you mean with that? Did you set it to either a single .ico file or an icon in wcmicons.dll?
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.03] No icon in Start menu in specific case

Post by *AntonyD »

What do you mean with that?
I can't do it easily: like just write all proper elements of a new em_ command inside usercmd.ini file
and WITH intuitive and easy pointing to an ANY *.ICO file from my disk - so that a new em_ command will get a proper ICON
when it will be added as a new separate menu item inside the MAIN menu - the place there INDEED we add all new commands.
Start menu - yes, it has a GUI form - but it does no cover all user logic for enhancing the functionality of TotalCmd own pack.

BUT if I am wrong in my statements - that is why I immediately asked In the post above (viewtopic.php?p=460965#p460965),
that we be shown the existing possibility to create a new menu item in the Main menu, which shows the icon taken from the disk.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.03] No icon in Start menu in specific case

Post by *ghisler(Author) »

Icons from em_commands should work now also in the main menu in 11.50 beta 2, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1660
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.03] No icon in Start menu in specific case

Post by *AntonyD »

beta 2 - and now look like all is fine)))
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.03] No icon in Start menu in specific case

Post by *ghisler(Author) »

Moderator message from: ghisler(Author) » 2024-10-22, 09:48 UTC

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