Toolbar Icons

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Toolbar Icons

Post by armsys »

All customized toolbar button icons show correctly when being set "large icon". See XY1.jpg.
Customized toolbar button icon won't be displayed when not set "large icon". See XY2.jpg.
Please help. Thanks.
Attachments
Small Icons
Small Icons
XY2.jpg (7.13 KiB) Viewed 2583 times
Large Icons
Large Icons
XY1.jpg (12.28 KiB) Viewed 2583 times

highend
Posts: 14588
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toolbar Icons

Post by highend »

Can't confirm on the current beta. Even disabling large icons still show their correct icons.
One of my scripts helped you out? Please donate via Paypal

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Toolbar Icons

Post by bdeshi »

Check the 16x16 image inside the icon.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

highend
Posts: 14588
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toolbar Icons

Post by highend »

Check the 16x16 image inside the icon.
This can't be the reason. I'm using icons with only 24x24 RGB/A in it.
One of my scripts helped you out? Please donate via Paypal

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Toolbar Icons

Post by armsys »

With identical /init=XYplorer.ini and identical .ico files, one PC shows the customized toolbar button icons perfectly, large or small, but another can't show the small icons.
It's weird.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Toolbar Icons

Post by bdeshi »

@armsys: your last post is all the more headscratch-inducing. Can you upload one of those icons?

highend wrote:
Check the 16x16 image inside the icon.
This can't be the reason. I'm using icons with only 24x24 RGB/A in it.
No. I meant the 16x16 icon exists but actually is what the screenshot shows instead of matching the large image. Like attached icon - check it in large & small toolbar.
Attachments
smallIcons-bad.ico.xys
rename to .ico
(3.52 KiB) Downloaded 116 times
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Toolbar Icons

Post by armsys »

One of the troublesome icons is attached.
Please remove .xys. It's supposed to be file_manager.ico.
Thanks for your help.
Attachments
file_manager.ico.xys
file_manager.ico 24 x 24
(4.19 KiB) Downloaded 119 times

klownboy
Posts: 4398
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: Toolbar Icons

Post by klownboy »

Your file_manager.icon displays fine for me in both toolbar sizes, large (24x24) and small (16x16). By the way, your icon description states 24x24, it's really 32x32 (single size) at least what you uploaded. So XY has to adjust the size to achieve 16x16 or 24x24 for the 2 toolbar sizes.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Toolbar Icons

Post by armsys »

@klownboy, thanks for taking time to test out the icon.
Not sure it's related to the display card. Recently after switching to MSI GTX 970 Gaming, the small icons on the XY customized toolbar buttons are no longer displayed properly.

highend
Posts: 14588
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toolbar Icons

Post by highend »

Even with this icon, I have no problems with it when I disable "Large icons" in the toolbar :/
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Toolbar Icons

Post by TheQwerty »

Have you tried rebooting Windows to eliminate it possibly being a caching issue?

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Toolbar Icons

Post by armsys »

TheQwerty wrote:Have you tried rebooting Windows to eliminate it possibly being a caching issue?
I did delete IconCache.db to rebuild it upon rebooting. It won't work.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Toolbar Icons

Post by armsys »

Thank you for your generous help.
I just discover a solution.
Referring to http://www.sevenforums.com/tutorials/11 ... sable.html,
I reset the default program back to Windows Photo Viewer (in Control Panel\Programs\Default Programs\Set Associations).
Now all customized toolbar button icons are displayed properly, large or small.
Hope this solution helps other XYplorer users as well.

Post Reply