winresource icon indicating copy to clipboard operation
winresource copied to clipboard

File description is used like a program name in Windows

Open BenjaminRi opened this issue 3 years ago • 2 comments

https://stackoverflow.com/questions/15495613/correct-usage-of-the-versioninfo-resource

Example error dialog

It is up for debate whether we should put the application name or the description (like I have done in 3cf2f6229950d3fc439b07ec6c6b4f4ffcb54d39) into that field . See also: https://github.com/mxre/winres/pull/43

BenjaminRi avatar Nov 27 '22 19:11 BenjaminRi

I think the application name should be used for FileDescription, since that property is what's used as the program name in Task Manager.

zedseven avatar Jan 17 '24 09:01 zedseven

Yeah, it's weird when a sentence describing what the program does is inserted in places where you'd expect a name (as in the screenshot above). I should probably fix this and also redo the pictures in the README.md.

BenjaminRi avatar Jan 17 '24 17:01 BenjaminRi

I did some more research on this, and other toolkits faced the exact same problem, with the timeline being:

If we were to apply the current logic to ripgrep, it would look like this:

Screenshot_20241128_083029

That's clearly wrong, so it has to be fixed here in the winresource crate. The FileDescription must be the package name.

BenjaminRi avatar Nov 28 '24 07:11 BenjaminRi

Fixed in 0921b8aee1bdbe02653ed879c3bc8ca745091cfe (Use package name as FileDescription because Windows uses FileDescription as application name in tools and dialogs.)

BenjaminRi avatar Nov 28 '24 08:11 BenjaminRi