Page 1 of 2
setIcon is acting weird
Posted: Sat Jun 07, 2014 5:17 pm
by Lua Hal
This is the result I get when I attempt to set the icon as a solid 16x16 square of magenta 100% transparent... It looks identical to the result of setting a blank 16x16 ImageData as the icon, but the pixels that are visible are magenta instead of black. "true" is the output of setIcon.
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 5:20 pm
by Ranguna259
Try setting black or white transparent instead of magenta transparent
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 5:38 pm
by Lua Hal
The exact same thing happens except the pixels visible are black or white.
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 6:25 pm
by Ranguna259
What format is the image ?
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 7:48 pm
by Lua Hal
It is ImageData...
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 8:32 pm
by Ranguna259
But do you load it from an image ? png, jpg, bmp...
Re: setIcon is acting weird
Posted: Sat Jun 07, 2014 10:13 pm
by Lua Hal
No.
Re: setIcon is acting weird
Posted: Sun Jun 08, 2014 12:37 am
by Ranguna259
Hmmmm... Devs, can any of you shed some light in here ?
Re: setIcon is acting weird
Posted: Sun Jun 08, 2014 2:00 am
by josefnpat
Please share a .love that replicates this issue.
Re: setIcon is acting weird
Posted: Sun Jun 08, 2014 2:35 pm
by Lua Hal
This is doing it.