GNOME Bugzilla – Bug 702423
CellRendererPixbuf regression: Stock icons with rtl/ltr variants not displayed
Last modified: 2013-09-05 16:55:32 UTC
Icons like Gtk.STOCK_JUMP_TO or Gtk.STOCK_MEDIA_PLAY just show the missing icon image instead of the right stock icon. bisected: a73cc55e022c69fb2c7f6b059b0a9c12c3f057e1 is the first bad commit commit a73cc55e022c69fb2c7f6b059b0a9c12c3f057e1 Author: Benjamin Otte <otte@redhat.com> Date: Tue Dec 18 17:47:06 2012 +0100 stylecontext: Use state flags for direction ... instead of using a custom direction member. And with that, GtkWidget doesn't need to call gtk_style_context_set_direction() anymore.
The same problem occurs with gtk_image_new_from_stock after calling gtk_widget_set_default_direction(GTK_TEXT_DIR_RTL) I haven't checked if the commit above is also responsible for this.
Created attachment 247013 [details] cellrenderer test case
Created attachment 247014 [details] rtl GtkImage test case
Created attachment 248120 [details] C test for GtkCellRendererPixbuf Gtk 3.6.1 -> icons ok Gtk 3.8.1 -> ltr icons missing
*** Bug 703371 has been marked as a duplicate of this bug. ***
Bug affects 3.9.8 also
Committed a fix and a testcase.
Thanks!