GNOME Bugzilla – Bug 672858
Commit 7603e6e4 breaks setting "background-image" from cairo pattern
Last modified: 2018-05-02 15:22:51 UTC
Setting the "background-image" style property to a cairo pattern no longer works as of commit 7603e6e4. For example, cairo_pattern_t *pattern; .... gtk_style_properties_set(properties, GTK_STATE_FLAG_NORMAL, "background-image", pattern, NULL); logs an assert failure in _gtk_style_properties_set_property_by_property and returns without setting the "background-image" property.
This bug affects me too. When I call panel_applet_set_background_widget then I see the following output on my screen: (window-picker-applet:3683): Gtk-CRITICAL **: _gtk_style_properties_set_property_by_property: assertion `_gtk_css_value_holds (value, _gtk_css_style_property_get_computed_type (style_prop))' failed
Peter, do you know if this bug got fixed for 3.6?
I haven't tested it, but I do know that the assert that fails was removed shortly after 3.4 (but this may have been a merge error).
I think this is vaild for 3.12 also, because mate-panel and gnome panel 3.8 does not work properly similar to https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/966697
Created attachment 276081 [details] Screen of buggy panels
Removing GNOME 3.4 target.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/390.