[8.0ß6-x86] Lister - strange behavior while showing icons
Moderators: Hacker, petermad, Stefan2, white
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
[8.0ß6-x86] Lister - strange behavior while showing icons
Showing icons (*.ico) with the lister produce a strange behavior.
Lister's configuration:
- Display at startup: automatic
- Fit image to window
- Center Image
x64: (correct behavior)
- icon is shown as binary
- when external viewer like irfanview is enabled, icon is shown as image, centered, correct in size (at least in 32x32px)
x86:
- icon is not shown as binary, icon is shown as ugly resized icon, not centered
- when external viewer like irfanview is enabled, it looks exactly like the above one
- when you resize the listener window, the icon move to the somewhere on the left
It seems the the external viewer is always enabled (in this case irfanview) and resize the smallest icon (index 1, 8x8px) to a zoomed ugly icon in 32x32 pixel.
Here is an example icon (multiple size icon): Icon
This "bug" is maybe a mix from older beta's:
- "image center bug with different image sizes"
- "not correct save/load lister configuration"
My screen resolution is 1680x1050px, in the case this bug is affected with older lister bugs.
Lister's configuration:
- Display at startup: automatic
- Fit image to window
- Center Image
x64: (correct behavior)
- icon is shown as binary
- when external viewer like irfanview is enabled, icon is shown as image, centered, correct in size (at least in 32x32px)
x86:
- icon is not shown as binary, icon is shown as ugly resized icon, not centered
- when external viewer like irfanview is enabled, it looks exactly like the above one
- when you resize the listener window, the icon move to the somewhere on the left
It seems the the external viewer is always enabled (in this case irfanview) and resize the smallest icon (index 1, 8x8px) to a zoomed ugly icon in 32x32 pixel.
Here is an example icon (multiple size icon): Icon
This "bug" is maybe a mix from older beta's:
- "image center bug with different image sizes"
- "not correct save/load lister configuration"
My screen resolution is 1680x1050px, in the case this bug is affected with older lister bugs.
#92832
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The 32-bit version uses a Delphi image control which supports also icon files. This control shows the icons when you don't use Irfanview. This behaviour is intentional.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
I also see this ugly enlarged icon using the 32bit version - even if the use of IrfanView is enabled - so apparantly the control is always in use (except when using plugins).This control shows the icons when you don't use Irfanview
It is also like that in TC 7.56a.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, you use
so no wonder it's enlarged. Have you tried "fit only larger" instead?Fit image to window
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
The icon is always shown in 32x32 pixel, regardless the original size and lister option is set.so no wonder it's enlarged. Have you tried "fit only larger" instead?
And the center option is ignored when "fit to window" is set (on these small icons).
This is why i believe this is a not 100% fixed old bug.
#92832
I only use "Fit only larger images to window". But anyway - it looks the same whether I use "Fit image to window", "Fit only larger images to window" or none of those.so no wonder it's enlarged. Have you tried "fit only larger" instead?
Try with this icon: http://madsenworld.dk/tcmd/main-window.ico - it contains two icons: 16x16 and 32x32 and Lister clearly shows an expanded version of the 16x16 icon in stead of the real 32x32 icon inside the file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, that's what you mean. Hmm, no idea how the Delphi VCL chooses the individual icon from an .ico file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
Confirmed fixed in TC 8.0b8 32bit 
Only thing is that the 32bit version shows the 32x32pix icon from http://madsenworld.dk/tcmd/main-window.ico (which I prefer) - whereas the 64bit version shows the 16x16 icon from the same file.

Only thing is that the 32bit version shows the 32x32pix icon from http://madsenworld.dk/tcmd/main-window.ico (which I prefer) - whereas the 64bit version shows the 16x16 icon from the same file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks!Fixed:
- Icon not shown "ugly" anymore
This is intentional and will not be changed.Not fixed:
- Icon still not "fit to window", when F is pressed like the x64 version (irfanview enabled as external viewer to show icons in the x64 version)
- Icon shown always in 32x32px regardless of real icon size
Btw, the 64-bit version does NOT come with an internal .ico viewer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Oh yes, it was IrfanView that showed the smal 16x16 icon.Btw, the 64-bit version does NOT come with an internal .ico viewer.
That leads me to bump this http://ghisler.ch/board/viewtopic.php?t=31409 - it is not easy to now if it is Lister internally or IrfanView that displays an image!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar