You are not logged in.
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.
Last edited by GNUser (2018-02-28 00:20:45)
Offline
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.
Last edited by GNUser (2018-02-28 00:22:01)
Offline
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
Offline
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.
Last edited by GNUser (2018-02-28 13:50:32)
Offline
I bumped into this today. It turns out that the behavior I described with yad is a "feature" and not a bug.
Q: When I do yad --notification --image="myicon.png"
the icon shows up in the tray too small (about 2/3 the correct height) and about half of it is repeated on the right hand side.
...
Is this a bug?A: no, this is not a bug. before yad 0.40 notification icons which
specifies by absolute filename automatically scales to 16 pixels sizein the release 0.40.0 i add --icon-size option for costom icon sizes
so please update to the latest version or use icon name instead of
filenames.
this workaround must works in older versionsyad -- notification --image="myicon" --image-path="$(pwd)"
ref: https://groups.google.com/forum/#!msg/y … a3gOegCQAJ
Last edited by GNUser (2018-12-19 17:17:37)
Offline