SUMMARY Hi! When trying to make a new gradient on a rectangle in a title clip, the software crashes instantly on W10. STEPS TO REPRODUCE 1. Make a rectangle on a title clip 2. choose gradient as the color 3. Click on the pencil to modify the colors -> crash OBSERVED RESULT goodbye kdenlive EXPECTED RESULT changing the color SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION
I can reproduce thanks, working on it.
Seems to happen if you have an invalid gradient defined in the config file kdenliverc. As a workaround, open the file in a text editor and look for: [TitleGradients] Gradient=#ffffffff;#ff000000;0;100;90 Gradient 1= You should have a line with a gradient name like this: "Gradient 1=" with no value defined. Delete that line should solve the crash as a workaround. Not sure how this empty entry is created though. I anyways fixing the cause of the crash
Git commit e84a088193876adcdc7c6f4e69b274e530c67310 by Jean-Baptiste Mardelle. Committed on 01/03/2024 at 10:24. Pushed by mardelle into branch 'release/24.02'. Fix crash on invalid gradient data. M +8 -2 src/titler/gradientwidget.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/e84a088193876adcdc7c6f4e69b274e530c67310
Thanks for the quick fix!