Preview icon stretched in "internal associations" if AutoSizeDialogs=1

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *petermad »

Confirmed (testet with TC 10 rc3 32- and 64-bit under Windows 7 and 10).
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *ghisler(Author) »

Isn't it better if it gets stretched, e.g. for high resolution screens?
Author of Total Commander
https://www.ghisler.com
Stiltzkin
Member
Member
Posts: 182
Joined: 2004-09-10, 17:15 UTC

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *Stiltzkin »

maybe, but then it should keep at least the aspect ratio, imho.

i would expect that the highest (or appropriate) WxH format from the *.ico file is displayed.
if that is too small on a higher resolution screen you can/should just add a higher WxH format to the *.ico.
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *Gral »

Yes, should be proportional, so square in most cases.
BTW, this bug occurs on system associations dialog too, not only internal.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *ghisler(Author) »

You are right, it is stretched in a not proportional way when using a very wide font like "Courier New". I will make it proportional.

The internal and system associations dialog use the same dialog box internally.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Preview icon stretched in "internal associations" if AutoSizeDialogs=1

Post by *petermad »

history.txt wrote:06.06.21 Fixed: When resizing dialog box Files - Associate - "Edit type" with larger font, show the preview icon in rectangular form even with very wide fonts like Courier New (same also for internal associations) (32/64)
Confirmed fixed in TC 10.00 final :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply