Menu New ommits item that has different Default and FriendlyTypeName

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

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

Menu New ommits item that has different Default and FriendlyTypeName

Post by *hugobruno » 2019-08-27, 21:06 UTC

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: 38395
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) » 2019-08-29, 10:55 UTC

It's not documented anywhere, so I had to guess how the Explorer does it...
Author of Total Commander
http://www.ghisler.com

User avatar
hugobruno
Junior Member
Junior Member
Posts: 34
Joined: 2017-06-06, 19:14 UTC

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

Post by *hugobruno » 2019-09-03, 15:11 UTC

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: 1387
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

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

Post by *DrShark » 2019-11-18, 09:37 UTC

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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38395
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) » 2019-11-18, 11:52 UTC

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

Post Reply