Bug 364561

Summary: Opening a title in the title editor freezes KDEnlive for some seconds
Product: [Applications] kdenlive Reporter: Stefan Naumann <me>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash CC: wegwerf-1-2-3
Priority: NOR    
Version First Reported In: 16.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Naumann 2016-06-20 18:37:23 UTC
When opening a title with the title-editor (i.e. double-click on the title), KDEnlive will sometimes freeze for some seconds before showing the title-editor. This happens about once in 20 tries, so not all the time. I'm using an i7 3770, so with should not be an issue. One core of the CPU is used to 100% by KDEnlive when it happens, so maybe a spin-lock going on?

Reproducible: Sometimes

Steps to Reproduce:
1. Create titles
2. Open them often
3. Open them even more often.

Actual Results:  
About once in 20 tries KDEnlive will freeze, after 10 to 30 seconds it will resume its work

Expected Results:  
No freezing. Just show the title-editor
Comment 1 Jean-Baptiste Mardelle 2016-06-20 20:19:42 UTC
Git commit bb01c11d26536bb774f9b43aaab0aa5385078e2b by Jean-Baptiste Mardelle.
Committed on 20/06/2016 at 20:19.
Pushed by mardelle into branch 'master'.

Title Widget: don't try to paint shadow when there is none (caused temporary freeze)

M  +5    -4    src/effectstack/graphicsscenerectmove.cpp
M  +0    -1    src/effectstack/graphicsscenerectmove.h

http://commits.kde.org/kdenlive/bb01c11d26536bb774f9b43aaab0aa5385078e2b
Comment 2 Wegwerf 2016-06-22 19:08:52 UTC
Great to see that this bug has been fixed now! While not in the crash category, it was annoying nevertheless as I saw it in 1 out of 5 or so title edits and I used titling heavily in my previous projects (seemingly more often than the original reporter).