← Back to team overview

openshot.developers team mailing list archive

[Bug 423948] Re: Moving a project folder looses thumbnails

 

> I agree that file paths should be stored in a relative manner. This would 
> make it easy to move the project folder around (assuming the videos are 
> inside the project folder).

It would be nice if there's a solution project files also, then we can
move the project around where we want.

However:

> Case 1) Resources are inside the project folder (store the relative path)
> Case 2) Resources are outside the project folder (store the absolute path)

This is a personal preference: copy or do not copy the resources. My
preference is to *not* the resources, but I guess others do not follow
this.

But this is a different subject from the thumbnail problem. If the
thumbnail problem is solved by using a relative path in the project
file, Openshot will be more flexible than it was, regarding moving
project files.

-- 
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: Confirmed

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