GNOME Bugzilla – Bug 768854
Improper loading of GtkImage by file name from another directory
Last modified: 2018-03-26 15:55:23 UTC
Create a new Glade project, put a GtkImage in it, ask to load image by file name. Load an image from a directory other than the one in which the Glade file is. Glade does not add relative path to the image name and doesn't load the image (this may be intentional behaviour to prevent user from using images in another directory?). If you add the relative path by hand, Glade still doesn't load the image, but when Gtk starts it runs fine.
Now create a second image, load by file name and select another image file from another directory. Go back to the first image: the file name is now the same as the other image. This happens with any number of GtkImage: in other words, all GtkImage pointing towards an image file in another directory will point towards the same image file.
By editing the Glade file by hand, one can make it such that the images are loaded fine by the Gtk application. But as soon as Glade opens the file, it will replace all the images from another directory with the last one read.
-- 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/glade/issues/242.