From: SourceForge.net <no...@so...> - 2008-08-03 16:42:17
|
Bugs item #1988939, was opened at 2008-06-09 16:20 Message generated for change (Comment added) made by gballintijn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1988939&group_id=144022 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Franco Iacomella (francoiacomella) Assigned to: Nobody/Anonymous (nobody) Summary: Error trying to change value of Filename property Initial Comment: To reproduce the error do the following: - Import an image in PNG format. - Save the file in direcory that is not the $HOME - Close the file and re-open it (so the path to the image changes to be relative to the location of the .sif file was saved) - Select the image object. - In the properties of the object go to "Filename" property and click the "File" button. You will get an error like this one: ----- "The folder contents could not be displayed" "Error getting information for '/home/<name of your user>/<relative path used as value property>': No such file or directory" ----- - After click "Ok" you will get the file dialog in your home directory. The problem is the way that relative paths are used when trying to open the file dialog. It misses the real absolute path to the location of the original image. An example: - My home folder is /home/yaco - My .sif file is saved in /home/yaco/synfig/files/file-1.sif - The imported image in file-1.sif is in /home/yaco/synfig/files/images/image.png - The value of the property is relative to the .sif location, so is: images/image.png - Now, when you try to change the image value clicking the "File" button, the Open Dialog will try to open: $HOME + Relative path. In the example: /home/yaco/images/. As that folder doesnt exists, you get the above error. ---------------------------------------------------------------------- Comment By: Gerco Ballintijn (gballintijn) Date: 2008-08-03 18:42 Message: Logged In: YES user_id=2166902 Originator: NO What version of synfig are you using? What OS/distribution? If I click on the image filename, I only get a text entry field, not a file open dialog. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-06-09 20:52 Message: Logged In: NO > - Select the image object. > - In the properties of the object go to "Filename" property and click the "File" button. I tried to reproduce this. I selected the image *layer* then went to the properties panel and found the filename line there, but I don't see any buttons. There are 4 columns: Name: STR Filename Value: ../../../../tmp/foo.png Type: string Time Track: <blank> How can I see the file button? Am I looking in the wrong place? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1988939&group_id=144022 |