GNOME Bugzilla – Bug 784353
Warning on launching applications.
Last modified: 2017-07-05 15:10:53 UTC
I see this warning in my journal when starting applications. Jun 29 19:15:52 hades gnome-shell[28955]: _st_create_shadow_pipeline: assertion 'src_texture != NULL' failed This warning only happens once per application after logging into Gnome. For example, opening gedit from gnome-shell results in this warning. Closing Gedit and reopening it does not show the warning again. However, if I close all applications and alt-f2 -> r, the warnings will start showing again.
Created attachment 354710 [details] [review] st: Don't try to create shadow for empty texture Even though the API documentation doesn't say so, the underlying Cogl texture of a ClutterTexture may be unset, so check for that case to avoid a runtime warning.
Hi Florian. Thank you very much. That cleared the warning.
Review of attachment 354710 [details] [review]: lgtm
Attachment 354710 [details] pushed as d1c71fd - st: Don't try to create shadow for empty texture