VstEffect saves and uses native path in <key <attribute type="file" value="[path]" /> /> instead of agnostic path.
System Information
Windows as cause, all other platforms affected
LMMS Version(s)
Since commit e30e558 / first implementation
Most Recent Working Version
No response
Bug Summary
When adding a VstEffect, a native path is used to store the information in
All currently supported platforms except Windows use / as the path separator. Windows uses .
Windows does support / in most operations, however. Linux platforms do not support .
When you load a project that was created on Windows that contains a VstEffect on Linux, the VstEffect will not be found due to wrong paths. This is not the case when loading Linux projects on Windows.
NOTE: The
Expected Behaviour
Should be saved with forward slashes for cross-platform compatibility.
Steps To Reproduce
- Create project on Windows.
- Add VstEffect on Windows.
- Try to load said project on Linux.
Logs
Screenshots / Minimum Reproducible Project
Please search the issue tracker for existing bug reports before submitting your own.
- [x] I have searched all existing issues and confirmed that this is not a duplicate.
I would like to mention that this issue is NOT fixed by #8103, only mitigated. It does not update the attribute to a platform agnostic path.