Hi, On Thu, 8 Aug 2024 14:45:33 +0200 Rodrigo Arias <rodarima@gmail.com> wrote:
I'm working on a zoom icon that a bit more similar to the other icons, but I'm having problems to avoid aliasing in the border due to the limitations of XPM with the alpha transparency.
I attach two screenshots, one (zoom.png) with the icon background set to the same color of the menu so the alpha is blended properly (but the icon is not transparent).
And another one (zoom-alias.png) with the alpha cutoff at half, so alpha values less than 127 are converted to transparent pixels. This one shows some aliasing in the borders, but it works fine if you change the menu color.
Not sure if there is a good solution to this problem, other than manually making the aliasing work well with a sharp border. The other icons cleverly avoid this problem by doing rectangular shapes.
The reload button, especially the small one, shows the same issue. But for me it's barely noticable, and I think your icon looks fine!
I'm also considering leaving the save button by default for now, and moving the zoom button to the right, so we preserve the "muscle memory" of users. I need to play a bit more to see how it "feels".
Yeah, I had also considered that, and agree it might be better to leave the save button. It could result in an unexpected surprise to users upgrading to a new version and saying "Hey, where's the save button!". Regards, Alex