Bug in rendering icons on editing button bars

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Bug in rendering icons on editing button bars

Post by *chandragor »

Editing the button bar shows wrong icons for some programs, usually taken randomly from programs in the current bar or on previously edited bars.

Button Bar
http://ibb.co/do9YHw

Editing
http://ibb.co/eREHcw
http://ibb.co/dBUfVG


Button Bar
http://ibb.co/dNVCAG

Editing
http://ibb.co/dV0nAG

This happens for both 32 and 64 bits version, tested on Windows 7 (32 and 64 bits) and Windows 8 64 bits.

This bug was introduced in TC 9.10, as it was not present in TC 9.00 nor in any previous versions.

This bug is in visualization during editing only. The icons are saved correctly in the button bar.
Happy owner of license #12422 since 1997
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
chandragor
Member
Member
Posts: 118
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Post by *chandragor »

If it can help, icons often change by moving the cursor on them or by scrolling them left or right.

It seems like a rogue pointer problem inside the TListBox / LCLListBox controls.
Happy owner of license #12422 since 1997
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It seem to occur randomly but I can reproduce it with for example this butonbar (with Windows 7 standard programs) http://madsenworld.dk/tcmd/win7amd64_1g_eng.bar

1. Load the bar and open it for editing.
2. In the field next to the "Add"/"Delete" buttons click on the third icon (Ease of Access Center) and then on the sixth icon (On Screen Keyboard) - and you will see the error.
3. Click back and fourth between the third and the sixth icon, the icons shift to the the previous icon by itself.
4. The icons in the "Icon" field show the wrong icons.
5. Clickiing the "Icon file" field fixes the icon in the top, but NOT the icons in the "Icon" field. The other icon in the top (3 or 6) is changed to the wrong one.

You might have to restart TC and then reload the buttonbar for the bug to occour.
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:

Post by *ghisler(Author) »

This should be fixed in TC 9.20 beta 1, please test it!
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:

Post by *petermad »

Confirmed fixed in TC 9.20b1 :-) (at least with the test file in my previous posting)
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