Bug 431604 - Transition *.pgm locations are saved as absolute paths
Summary: Transition *.pgm locations are saved as absolute paths
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 20.12.1
Platform: Ubuntu All
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-14 19:17 UTC by Ruman Gerst
Modified: 2021-05-03 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruman Gerst 2021-01-14 19:17:48 UTC
SUMMARY
*.kdenlive files store the location of transitions as absolute path. This disrupts interop between different operating systems.

For example, my current project saves the location of the transition as following:

<property name="resource">/usr/share/kdenlive/lumas/HD/linear_x.pgm</property>

As this is located in the Kdenlive shared folder, it should be stored as following:

<property name="resource">linear_x.pgm</property>


STEPS TO REPRODUCE
1. Create a simple project with a wipe transition on Linux 
2. Copy the project to a Windows computer
3. Try to open it in Kdenlive

OBSERVED RESULT
Kdenlive (Windows) does not find the transition(*.pgm) file.


EXPECTED RESULT
Kdenlive opens the project without complaining about missing files.


SOFTWARE/OS VERSIONS
Windows: 10
macOS: -
Linux/KDE Plasma: 5.8 / 5.19.5
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Julius Künzel 2021-04-03 00:03:36 UTC
Thanks for your report! I don't think this is something we are going to change (or we can change because it's the way how mlt works). The shared folder is not the only place were lumas can be saved (they can be save everywhere) and 

> <property name="resource">linear_x.pgm</property>

would mean the luma is in the same folder than the project file.

If you want to use a kdenlive project on a different setup you should use Project > Archive Project

Please test this and tell us if it solves your problem.
Comment 2 Bug Janitor Service 2021-04-18 04:33:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-05-03 04:33:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!