Bug: File icons not shown if large fonts are used

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Gregsan
Junior Member
Junior Member
Posts: 3
Joined: 2006-03-29, 13:56 UTC

Bug: File icons not shown if large fonts are used

Post by *Gregsan »

This looks like a total commander bug:

If you change default DPI settings (Right click on desktop -> Display properties/Settings/Advanced/General/DPI settings) to some larger number than the default 96 DPI, total commander doesn't show the correct icons by the file names anymore - actually this happens only for some file types. In my case for pdf, avi, ps, ... files. Instead it shows some default icon.

In Windows explorer and other programs the icons are shown ok.

Any suggestions how to fix this?
Gregor
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens when *.ico is associated with a program, and the default icon for .ico is not %1 or "%1". Please try to change the default icon for .ico to %1 in Files - Associate - Edit type - Change icon.

Why is this done? Because ExtractIcon and ExtractIconEx return terribly distorted icons, so I have to use a different function.
Author of Total Commander
https://www.ghisler.com
Gregsan
Junior Member
Junior Member
Posts: 3
Joined: 2006-03-29, 13:56 UTC

Post by *Gregsan »

Thanks,

it did solve the problem.

Regards,
Gregor
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

But : ---

Post by *Clo »

2ghisler(Author)

:) Good evening,
…so I have to use a different function.
• But it is unable to display the icons as files *.ico in the file-lists with a right stated customized size. Same for the icons of the system-dirs.
- For instance, I've 21x21 icons for the lists, and *.ico displays 16x16 always, same for the system-dirs.
- I've reported that already a long while ago, any progress in sight ?

:mrgreen: m.f.G.
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply