Toolbar invalid image size with PNG images
I'm not entirely sure if this is a bug or by design, but I'm submitting it anyway ;)
I have a number of /toolbar commands in my startup script which I haven't changed in a long time. Beginning with 3.0 2017/08/26, the toolbar items using .ICOs are fine, but the ones using .PNGs are not. AdiIRC reports the following for the .PNG toolbar lines:
/toolbar: invalid image size
Note: the PNGs are 16x16. I attached one in case it's helpful.
I see that Feature #3678 added missing parameters from /toolbar to add x y w h, and indeed, I was able to fix the problem by adding those values.
toolbar -a ZNCClose "ZNC all close" "Icons\ZNCclose.png" /closeznc
no longer works, but now becomes:
toolbar -a ZNCClose "ZNC all close" "Icons\ZNCclose.png" 0 0 16 16 /closeznc
Updated by Per Amundsen almost 6 years ago
- Status changed from New to Invalid
Yeah, the [x y w h] is required for the /toolbar command in mirc when using .png or other image files except .ico/.exe/.dll, I learned that recently so the previous behavior was a bug, sorry for the inconvenience.