Bug 351512 - Freeze when importing clips without a clip monitor
Summary: Freeze when importing clips without a clip monitor
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 10:32 UTC by Dainius Masiliūnas
Modified: 2016-08-04 16:36 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dainius Masiliūnas 2015-08-20 10:32:13 UTC
When trying to import any clip (audio or video) while the Clip Monitor is disabled, the UI becomes completely unresponsive and the program has to be restarted.

Reproducible: Always

Steps to Reproduce:
1. Launch Kdenlive
2. Deselect View → Clip Monitor
3. Restart Kdenlive
4. Add a clip to the project bin (either via button or drag-and-drop)

Actual Results:  
The UI freezes

Expected Results:  
Adding the clip should succeed

Using Kdenlive 15.07.90 on openSUSE Tumbleweed.
Comment 1 Cyril Giraud 2015-08-23 04:59:40 UTC
Crash not observed with Kdenlive 0.9.10 and UbuntuStudio 15.04 x64.
But Project Monitor view not refreshed until clic in timeline.
Comment 2 qubodup 2015-11-10 16:55:15 UTC
I can confirm this (or a similar) bug in recent git. Video:
https://youtu.be/_1mbhz3a7l8

My steps to Reproduce:
1. Launch Kdenlive
2. Deselect View → Clip Monitor
3. Close Kdenlive
4. Start Kdenlive (it doesn't have the clip monitor any more)
5. Drag a video clip into the project bin
6. Drag the clip into the timeline

Effect:
1. The UI is now frozen, nothing reacts to mouse presses etc.

It is important to restart Kdenlive after hiding the clip monitor for the bug to be triggered.
Comment 3 Jean-Baptiste Mardelle 2015-11-16 23:58:46 UTC
Git commit a40d40e0258af869e893e57137e74037d35edb6e by Jean-Baptiste Mardelle.
Committed on 16/11/2015 at 23:58.
Pushed by mardelle into branch 'Applications/15.12'.

Try to fix crash when project monitor is hidden

M  +26   -20   src/monitor/glwidget.cpp
M  +1    -0    src/monitor/glwidget.h

http://commits.kde.org/kdenlive/a40d40e0258af869e893e57137e74037d35edb6e
Comment 4 qubodup 2015-12-30 01:31:46 UTC
Unfortunately, the problem still exists. The quickest way to reproduce:
1. Launch Kdenlive
2. Deselect View → Clip Monitor
3. Close Kdenlive
4. Start Kdenlive (it doesn't have the clip monitor any more)
5. Drag a video clip into the project bin WAIT until it is highlighted (loaded?)
6. Click on the white space in the project bin. Kdenlive is now frozen.

kdenlive-git v15.12.0-124-gc5962be master
catalyst-libgl 15.12-1
ffmpeg 1:2.8.4-1
ffmpeg-compat 1:0.10.16-4
frei0r-plugins 1.4-3
libx264 2:148.20150725-1
mlt-git r4154.v0.9.2.376.g9e04d46-1
mlt-python-bindings 0.9.8-4
movit-git r722.4cf76ac-1
qt5-base 5.5.1-6
x264 2:148.20150725-1
xorg-server 1.16.4-1
Comment 5 qubodup 2016-01-06 04:29:09 UTC
PS: I possibly incorrectly assumed the fix would be in master, so I tested:
kdenlive-git v15.12.0-67-gf64f7c9 Applications/15.12

The problem persists there as well I'm afraid.
Comment 6 Jean-Baptiste Mardelle 2016-01-08 17:47:44 UTC
Git commit c547b82146c55683ae69f1aecee437a6f4d8057f by Jean-Baptiste Mardelle.
Committed on 08/01/2016 at 17:46.
Pushed by mardelle into branch 'master'.

Attempt to fix freeze when clip monitor is disabled

M  +4    -1    src/monitor/monitor.cpp
M  +4    -0    src/renderer.cpp

http://commits.kde.org/kdenlive/c547b82146c55683ae69f1aecee437a6f4d8057f
Comment 7 qubodup 2016-01-09 04:34:57 UTC
This appears to resolve it on my end, thank you very much!
Video: https://youtu.be/gJAWKKFiby4

kdenlive-git 15.13.0.r6879.886b778-1
mlt-git r4154.v0.9.2.376.g9e04d46-1
Comment 8 farid 2016-06-22 04:40:15 UTC
Can't reproduce in 16.04.2. Please mark as solved.