Something weird is going on with .mlt, saving, and file change indicator since 18.05.08 to the lastest 18.08.14

The main issue is what happens to the entry in an .mlt file and that the change indicator next to the file name doesn’t indicate what happens to it.

Steps to reproduce:

  1. Launch Shotcut
  2. Open a video, image, or audio file.
  3. Move the entire thing or a portion of it to the Timeline.
  4. Edit the clip on the Timeline. Use either drag, trim, split at playhead, or a filter, but not a transition for now.
  5. Save it to an .mlt file. Let’s call it test.mlt.
  6. Exit Shotcut.
  7. Open test.mlt with a text editor.
  8. Search for <tractor id=“tractor0” title=“Shotcut version 18.08.14” global_feed=“1”
  9. There are two elements in=“00:00:00.000” out=“00:00:10.00” there.
  10. Close the text editor.
  11. Launch Shotcut again.
  12. Open test.mlt.
  13. Immidately choose Save from the File menu.
  14. Exit Shotcut again.
  15. Open test.mlt again with a text editor.
  16. There is no longer in=“00:00:00.000” out=“00:00:10.00” there.
  17. The file has been changed, yet the change indicator doesn’t indicate this during 12) and 13).

This example uses 18.08.14 and a 10-second video, audio, or image file.

This happens in 18.08.14, 18.07.02, 18.06.02, and 18.05.08.
18.03.06 doesn’t have this problem. At 16), there is still in=“00:00:00.000” out=“00:00:10.00” there.

Creating a transition adds a <tractor entry. If you added a transition during 4), increase the number in id=“tractor0” by 1.

a) Only tested in Windows 7 64bit.
b) This happens on both two PCs of mine with different CPUs.

Why do you care about this?

I don’t know what exactly Shotcut does to an .mlt file, so I rely on the file change indicator to to track changes made to a file. When a file has been changed, and the indicator doesn’t indicate it, I have no way of knowing whether a file has been changed in any way.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.