some taskbar icon images shrunken and duplicated on ascii [SOLVED]

I am running ASCII with MATE desktop and noticed that some applications are having a hard time putting icons on the taskbar: Instead of an icon containing one reasonably-sized image, an icon with multiple miniature images shows up.

Here is my taskbar with two examples:

The key icon was put there after I entered my credentials to add a printer. The little brown box was put there by one of my shell scripts using yad.

All the desktop themes and icon themes that I tried are similarly affected.

This is purely cosmetic, of course, but I was wondering if anyone knows how to fix this.

I found a workaround: An older version of yad (0.27.0-1.1 instead of the 0.38.2-1 available in ascii repository) handles the taskbar icons perfectly.

The elevated credentials icon is still messed up, but I see that icon 1/10 of the time I see various icons placed in taskbar by yad, so I am happy with the workaround.

My gut feeling is that the buggy taskbar icons are due to a GTK3 version incompatibility between current yad/gnome-keyring and current mate-panel, but I wouldn't know how to test this hypothesis. If someone knowledgeable knows the actual reason and/or a proper fix, please do share.

I can't explain why it would be gtk3 related, but I can offer a way to test that theory. Here's a yad package compiled with support for gtk2 instead of gtk3. Install this one and see if it does the same thing. (sorry, no i386 package)http://distro.ibiblio.org/refracta/file … _amd64.deb

Thank you, fsmithred. I installed the version you provided and it handles taskbar icons well: The images on the icons are a bit smaller than what yad 0.27.0-1.1 shows, but centered on the icon and not duplicated.