connman-ui icon indicating copy to clipboard operation
connman-ui copied to clipboard

Don't choose a status icon size.

Open pteromys opened this issue 6 years ago • 1 comments

gtk_status_icon_set_from_pixbuf doesn't appear to check the width or height of the GdkPixbuf, so it runs off the end of the pixbuf if your system tray is configured to display icons at any size larger than 24.

Work around this by using gtk_status_icon_set_from_icon_name.

This is what I see with xfce4-panel's tray using 48x48 icons: image In "before", you get two copies of the icon, the second missing its first row—which looks like it's wrapping to the next row when it runs off the end of a row. Sometimes the rows past the 24th show me noise from other memory. And I still don't know why the "after" icon is darker.

pteromys avatar Jun 03 '18 22:06 pteromys

Thanks for your PR, however there are many other issues (and rotting code) and I don't maintain that project anymore.

Switch to https://github.com/jgke/connman-gtk It's updated, full-featured, and nicer on all aspects.

tbursztyka avatar Jun 04 '18 06:06 tbursztyka