Improper loading of GtkImage by file name from another directory
Submitted by Matthieu Vigne
Link to original bug (#768854)
Description
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.