Bug 499531 - Import Action of Motion Tracking Data Without Data in Clipboard Crashes Kdenlive
Summary: Import Action of Motion Tracking Data Without Data in Clipboard Crashes Kdenlive
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 24.12.1
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: emohr
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-02-05 01:20 UTC by Jeffrey Krebs
Modified: 2025-02-06 21:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
crash_import empty keyframes (16.21 KB, text/plain)
2025-02-06 16:34 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Krebs 2025-02-05 01:20:10 UTC
Summary: Importing motion tracking data without having any data in the clipboard causes Kdenlive to crash.

Steps to Reproduce:
1. Open Kdenlive.
2. Navigate to the motion tracking feature.
3. Attempt to import motion tracking data without any data present in the clipboard.

Observed Result: Kdenlive crashes when attempting to import motion tracking data without clipboard data.

Expected Result: Kdenlive should display a warning or error message indicating that no data is present in the clipboard, and should not crash.
Comment 1 emohr 2025-02-06 16:34:32 UTC
Created attachment 178022 [details]
crash_import empty keyframes

Thank you for reporting. I can confirm the crash. Following your steps.

I tested it with the transform effect -> options -> import keyframe from clipboard -> crash
Attached the crash log
Comment 2 Jean-Baptiste Mardelle 2025-02-06 21:09:36 UTC
Git commit 77ec6bab5daa2f152e2c733eb6d20b0e245890f7 by Jean-Baptiste Mardelle.
Committed on 06/02/2025 at 21:09.
Pushed by mardelle into branch 'master'.

Fix crash trying to import invalid keyframe data from clipboard

M  +5    -0    src/assets/view/widgets/keyframeimport.cpp
M  +11   -1    src/assets/view/widgets/keyframewidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/77ec6bab5daa2f152e2c733eb6d20b0e245890f7