Bug 413661

Summary: Explain to the user why a clip wasn't inserted to the timeline
Product: [Applications] kdenlive Reporter: Kuba Orlik <kontakt>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby, kontakt
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 19.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 19.12
Sentry Crash Report:

Description Kuba Orlik 2019-10-31 11:44:46 UTC
SUMMARY

It might be confusing to some users (especially new ones) when after clicking "Insert clip zone to timeline" nothing happens - because they didn't specify an active timeline. It would be very user-friendly to display a popup that says "Cannot insert the clip, because none of the timelines are activated. Click on the timeline name to activate it"


STEPS TO REPRODUCE
1. Try to insert a clip zone to timeline when no timeline is activated

OBSERVED RESULT

Nothing happens and it looks like a bug to untrained eye

EXPECTED RESULT

A popup shows up explaining why the clip wasn't inserted.
Comment 1 Kuba Orlik 2019-10-31 11:45:34 UTC
Relates to:

https://bugs.kde.org/show_bug.cgi?id=412223#add_comment

which demonstrates how confusing the current behavior can be for some users
Comment 2 Jean-Baptiste Mardelle 2019-11-01 06:19:24 UTC
Git commit 9aed5d6dd12f74e02b337cd9d85bde21e6163646 by Jean-Baptiste Mardelle.
Committed on 01/11/2019 at 06:19.
Pushed by mardelle into branch 'master'.

Add some feedback if an insert operation fails.

M  +2    -3    src/kdenlivesettings.kcfg
M  +1    -0    src/mainwindow.cpp
M  +1    -0    src/timeline2/model/timelinefunctions.cpp
M  +8    -0    src/timeline2/view/timelinecontroller.cpp

https://invent.kde.org/kde/kdenlive/commit/9aed5d6dd12f74e02b337cd9d85bde21e6163646
Comment 3 emohr 2019-11-03 10:18:54 UTC
Please try with the upcoming Kdenlive version 19.12.

We close this bug. If it still appears in the 19.12 version, please feel free to re-open it and update the affected version number.