Bug 415697 - UI freezes when clicking a second clip
Summary: UI freezes when clicking a second clip
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 19.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-30 00:01 UTC by Rui Zhao
Modified: 2020-01-05 17:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Zhao 2019-12-30 00:01:27 UTC
SUMMARY

The UI freezes when clicking a second clip. It doesn't matter what the clip is.

STEPS TO REPRODUCE
1. Open kdenlive
2. Import some clips or open an existing project
3. Click a clip
4. Click another clip

OBSERVED RESULT

UI freezes

EXPECTED RESULT

Nothing strange happen, only the second clip is selected


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

ADDITIONAL INFORMATION

Running kdenlive from terminal, and the log seems to indicate there are race conditions:

QPoint(0,1061)
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects: 
/// GOT AUDIO TRACKS:  (7)
QPoint(0,789)


Every QPoint(0,xxx) appears after a click with other lines following it.
Comment 1 Rui Zhao 2019-12-30 00:04:05 UTC
For clarity: the terminal outputs provided are the final outputs. Nothing more shows up, and the kdenlive UI freezes. However, Ctrl-C on terminal works as expected (so does kill command).
Comment 2 Rui Zhao 2019-12-31 14:34:22 UTC
After being pointed out from archlinux bbs, deleting ~/.config/kdenliverc makes this problem disappear.
https://bbs.archlinux.org/viewtopic.php?id=246411

So could this be a problem of changing config format / content?
Comment 3 emohr 2020-01-05 17:47:25 UTC
Deleting kdenliverc is not a problem. Sometimes the file gets "corrupt".

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