Bug 487224

Summary: Kdenlive crashes with slash in custom filter name
Product: [Applications] kdenlive Reporter: fabian
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fabian 2024-05-19 09:11:04 UTC
If I try to save a custom filter, and include a slash in the name of the filter, Kdenlive crashes.


STEPS TO REPRODUCE
1. Apply any filter to a clip
2. Save as custom filter
3. Choose a name that includes a slash (`/`)

OBSERVED RESULT
Kdenlive crashes.

EXPECTED RESULT
Warning that slashes in custom filter names are not supported.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Comment 1 Jean-Baptiste Mardelle 2024-05-20 05:20:08 UTC
Git commit 28ebbae62955220632d9dfa9804fdadcd2564a18 by Jean-Baptiste Mardelle.
Committed on 20/05/2024 at 05:19.
Pushed by mardelle into branch 'master'.

Fix crash trying to save effect with slash in name

M  +8    -3    src/effects/effectstack/view/collapsibleeffectview.cpp
M  +1    -1    src/effects/effectstack/view/collapsibleeffectview.hpp

https://invent.kde.org/multimedia/kdenlive/-/commit/28ebbae62955220632d9dfa9804fdadcd2564a18
Comment 2 Jean-Baptiste Mardelle 2024-05-24 07:45:12 UTC
Git commit 5f20e207267244c702c0980d8b86b291da8a3473 by Jean-Baptiste Mardelle.
Committed on 24/05/2024 at 07:36.
Pushed by mardelle into branch 'release/24.05'.

Fix crash trying to save effect with slash in name

M  +8    -3    src/effects/effectstack/view/collapsibleeffectview.cpp
M  +1    -1    src/effects/effectstack/view/collapsibleeffectview.hpp

https://invent.kde.org/multimedia/kdenlive/-/commit/5f20e207267244c702c0980d8b86b291da8a3473