Menu New ommits item that has different Default and FriendlyTypeName

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Menu New ommits item that has different Default and FriendlyTypeName

Post by *User919 »

If there is a different Default and FriendlyTypeName data TC is not showing the item in menu New. Windows Explorer does.

Example:

1. Find Computer\HKEY_CLASSES_ROOT\txtfile
2. Set FriendlyTypeName different from Default.
3. Verify New context menus in Explorer and TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Menu New ommits item that has different Default and FriendlyTypeName

Post by *ghisler(Author) »

It's not documented anywhere, so I had to guess how the Explorer does it...
Author of Total Commander
https://www.ghisler.com
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Re: Menu New ommits item that has different Default and FriendlyTypeName

Post by *User919 »

On https://docs.microsoft.com/en-us/windows/win32/shell/fa-progids is some documentation. FriendlyTypeName should be used for this purpose.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Menu New ommits item that has different Default and FriendlyTypeName

Post by *DrShark »

history950.txt wrote:24.09.19 Fixed: Right click context menu, "New" submenu: use "FriendlyTypeName" even if it only provides plain text (it doesn't start with @ linking to dll) (32/64)
I can confirm TC now uses friendly name set as plain text for file type in "FriendlyTypeName" key of registry as its name in "New" menu. Checked on TC 9.50 beta 5, Vista 32-bit.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Menu New ommits item that has different Default and FriendlyTypeName

Post by *ghisler(Author) »

Yes, I changed this - I assumed that "FriendlyTypeName" wouldn't provide plain text...
Author of Total Commander
https://www.ghisler.com
Post Reply