Buttonbar not show all icons
Moderators: Hacker, petermad, Stefan2, white
Buttonbar not show all icons
On the buttonbar on the first PC the last icon was not visible
Complete 29 icons the last is only visible
change the icon or in the config buttonbar.
Screensize 1280x1024
the other PC: 21 visible from 27
Screensize: 1024x768
XP with SP2
Complete 29 icons the last is only visible
change the icon or in the config buttonbar.
Screensize 1280x1024
the other PC: 21 visible from 27
Screensize: 1024x768
XP with SP2
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
Normal on an other PC:
Image: http://img289.imageshack.us/img289/8201/beforerl1.jpg
after restart
Image: http://img289.imageshack.us/img289/226/afterwh8.jpg
And ICON Size 16
Normal or after repair
Image: http://img289.imageshack.us/img289/3393/before2nc0.jpg
after restart:
Image: http://img289.imageshack.us/img289/300/after2pw9.jpg
Standard style under XP
Image: http://img289.imageshack.us/img289/8201/beforerl1.jpg
after restart
Image: http://img289.imageshack.us/img289/226/afterwh8.jpg
And ICON Size 16
Normal or after repair
Image: http://img289.imageshack.us/img289/3393/before2nc0.jpg
after restart:
Image: http://img289.imageshack.us/img289/300/after2pw9.jpg
Standard style under XP
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Looks like you do not have write rights to file default.br2, and it contains an old list of icons.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have just tried to reproduce this problem with write protected default.br2, but it works fine!
If you even can reproduce this error, can you please send me your default.bar and default.br2 zipped by e-mail, please?
If you even can reproduce this error, can you please send me your default.bar and default.br2 zipped by e-mail, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can anyone confirm that this has been fixed, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I didn't even know that there was anything to fixCan anyone confirm that this has been fixed, please

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: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem was caused for example by an icon with 128x128 pixels and 32-bit colors, as they are used for Windows Vista. This icon takes 64k of space. Such a large icon simply wasn't expected by my caching function...
2ulli3000
Could you please try whether the bug has been fixed or not?
2ulli3000
Could you please try whether the bug has been fixed or not?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I have created a 128² icon with 32 bit color and saved it as ICO file. The icon is displayed but definitely not correctly.
Here you can see the correctly displayed icon:
http://www.lefteous.de/tc/beta7/bugshots/dagobert_ok.png
This is how it looks when used on a 160² button (small icons turned on). It seems 32² pixels are displayed - each pixel repeated 4 times.
http://www.lefteous.de/tc/beta7/bugshots/dagobert_small_icons.png
This is how it looks when scaled on a 160² button (small icons turned off). A bit more details but still far from the original:
http://www.lefteous.de/tc/beta7/bugshots/dagobert_scaled_to_button.png
Here you can see the correctly displayed icon:
http://www.lefteous.de/tc/beta7/bugshots/dagobert_ok.png
This is how it looks when used on a 160² button (small icons turned on). It seems 32² pixels are displayed - each pixel repeated 4 times.
http://www.lefteous.de/tc/beta7/bugshots/dagobert_small_icons.png
This is how it looks when scaled on a 160² button (small icons turned off). A bit more details but still far from the original:
http://www.lefteous.de/tc/beta7/bugshots/dagobert_scaled_to_button.png
On Vista 256² PNG files are used as icons AFAIR.an icon with 128x128 pixels and 32-bit colors, as they are used for Windows Vista.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can you give me a link to the problematic icon, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, it's an ico file, not a dll. Total Commander currently doesn't support non-standard icon sizes in .ico files, only in 32-bit dll and exe files. The problem is that the Windows functions to read icon resources do not work with .ico files. In the code from Microsoft (which is almost 100% the same as my own for dll+exe), they load the icon image data manually from the ico file, which is quite complex and error-prone. Therefore I have not used this code so far.
The problem is not related to this thread, the problem here was that a 128x128 icon within a program (.exe) was not shown at all in the button bar.
The problem is not related to this thread, the problem here was that a 128x128 icon within a program (.exe) was not shown at all in the button bar.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com