openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #00400
[Bug 423948] Re: Moving a project folder looses thumbnails
Hmm, using the option 'Saving the project as...' seems to lose the
thumnails entirely: the thumbnail folder is empty and the clips are
without thumbnails. I guess this is another bug and should be reported
separately. I'll elaborate this.
With regard to your remark that renaming or copying a project should be
through the mentioned menu option: I do not entirely agree.
There are several ways in which the project location can change, without having access to the OpenShot GUI:
- a project can be restored from a backup to a different folder
- the project tree can be reorganised
- the project is moved to another machine in a different folder
- etc.
In all cases: due to the fact that the thumbnail location is stored in an absolute way (not relative to the project file i.e. ./thumbnails), the thumbnails in all examples will point to the wrong ones or are void (not pointing to a valid location).
This can be avoided by using a relative path for the thumbnails. Another
advantage is that one is less dependent of using the menu option Save
as, thus prohibiting errors.
--
Moving a project folder looses thumbnails
https://bugs.launchpad.net/bugs/423948
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
Status in OpenShot Video Editor: Invalid
Bug description:
When a project is moved to another location (subfolder thumbnails included), the snapshot images point to the original location. Thus in the project screen, the movies are shown with no snapshot. Everything is functional, but this is not as it supposed to work. Apparently is the loaction of the thumbnails stored in a absolute way, so not relative. As long as the project folder is not moved, everything works.
Steps to reproduce:
- Create a folder, say '~/OpenShot'
- Create a folder, say '~/OpenShot/Project1'
- Create a new project
- Import some movies
- Save the project under 'Project1.osp' in '~/OpenShot/Project1'
- Close the project
- Check the automatically created folder 'thumbnails' (and contents) under '~/OpenShot/Project1'
- Copy '~/OpenShot/Project1' to '~/OpenShot/Project2'
- Open '~/OpenShot/Project2/Project1.osp'
- Check the images (thumbnails) to appear in the movie tracks
- Close OpenShot
- Rename the folder ~/OpenShot/Project1' to ~/OpenShot/Project1_'
- Open '~/OpenShot/Project2/Project1.osp'
- Check the images (thumbnails): they do not appear anymore in the movie tracks
- Close OpenShot
- Revert the renaming: rename the folder ~/OpenShot/Project1_' back to '~/OpenShot/Project1'
- Open '~/OpenShot/Project2/Project1.osp'
- Check the images (thumbnails) to re-appear in the movie tracks
This proves that the location of the thumbnails which shows in the movie tracks, are stored absolutely, so not relative to the project folder. Despite the existence of the thumbnail sub folder, images in that folder do not play any role when the project is copied from another location. The copied thumbnail sub folder could be deleted any time, without loosing any data.
To prove this, a final test:
- Rename the folder ~/OpenShot/Project1/thumbnails' to './thumbnails_'
- Open '~/OpenShot/Project2/Project1.osp'
- Check the images (thumbnails): they do not appear anymore in the movie tracks