Bug 479875

Summary: cut stopped working
Product: [Applications] kdenlive Reporter: Gerry Gavigan <gerrysw11>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.08.5
Sentry Crash Report:
Attachments: screen shot of error message
further example

Description Gerry Gavigan 2024-01-16 00:44:47 UTC
Created attachment 164937 [details]
screen shot of error message

SUMMARY

suddenly "cut" is not working. 
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. place scissor line 
2. cut 
3. 

OBSERVED RESULT

no cut 

EXPECTED RESULT

cut

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Gerry Gavigan 2024-01-16 01:00:42 UTC
forgot to add running tumbleweed to 16.01.24
kde 5.27-10
Qt 5.113
Comment 2 Jean-Baptiste Mardelle 2024-01-16 09:31:02 UTC
Does it happen everytime you try to cut a clip ? You are clicking over the clip, right ? 
As I cannot reproduce, if it is only happening sometimes for you it would be helpful if you can find a sequence of events (ideally starting from an empty project) that leads to the bug to help us reproduce the problem.
Comment 3 Gerry Gavigan 2024-01-16 11:42:40 UTC
It is of course now working perfectly. It was a relatively heavily edited video. I worked around by rendering the first section and adding the extra clips
Comment 4 Jean-Baptiste Mardelle 2024-01-19 09:05:21 UTC
Git commit bfa290bf3ce6feae063fc8ceccde7a7b50036530 by Jean-Baptiste Mardelle.
Committed on 19/01/2024 at 10:04.
Pushed by mardelle into branch 'release/24.02'.

Fix clips with mix cannot be cut, add test
Fixes #1809

M  +1    -1    src/timeline2/model/clipmodel.cpp
M  +44   -19   src/timeline2/model/timelinefunctions.cpp
M  +114  -0    tests/mixtest.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/bfa290bf3ce6feae063fc8ceccde7a7b50036530
Comment 5 Jean-Baptiste Mardelle 2024-01-19 09:13:30 UTC
Git commit 0f0cdaca34d7a1bf3f4a4ba3dbf88d738b5947cc by Jean-Baptiste Mardelle.
Committed on 19/01/2024 at 10:13.
Pushed by mardelle into branch 'release/23.08'.

Fix clips with mix cannot be cut, add test
Fixes #1809

M  +1    -1    src/timeline2/model/clipmodel.cpp
M  +44   -19   src/timeline2/model/timelinefunctions.cpp
M  +114  -0    tests/mixtest.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/0f0cdaca34d7a1bf3f4a4ba3dbf88d738b5947cc
Comment 6 Jean-Baptiste Mardelle 2024-01-19 09:16:56 UTC
I jut fixed a case where clips could not be cut if there was a mix on the clip. If you can confirm that you had mixes (crossfade between your clips) in the project, I think this issue is now fixes
Comment 7 Gerry Gavigan 2024-01-19 16:34:12 UTC
It's funny you should say that because it just happened again
Comment 8 Gerry Gavigan 2024-01-19 16:35:19 UTC
Created attachment 165041 [details]
further example

meeting all your criteria
Comment 9 Gerry Gavigan 2024-02-05 20:15:19 UTC
Having rendered the file and started again all is working as it should. 

I do not know if it is relevant but I *think* the last thing I did before the razor tool failed was to tack a small file on the end of the video stream with a transition.
Comment 10 Jean-Baptiste Mardelle 2024-02-15 07:28:23 UTC
Should now be fixed in the upcoming 23.08.5 to be released in a few days