Bug 475264

Summary: On GNOME platform, Flatpak application crashes on start, missing dependencies
Product: [Applications] kdenlive Reporter: triguy <caden>
Component: Setup & InstallationAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fritzibaby
Priority: NOR Keywords: triaged
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description triguy 2023-10-06 04:03:14 UTC
SUMMARY
On GNOME, the Flatpak application crashes on startup.

STEPS TO REPRODUCE
1. Use GNOME
2. Install Kdenlive via Flatpak
3. Run

OBSERVED RESULT
Application crashed

EXPECTED RESULT
Application runs

SOFTWARE/OS VERSIONS
Linux: Fedora Linux 39 (Workstation Edition) 
GNOME Version: 45

ADDITIONAL INFORMATION
Looks like your Flatpak has misconfigured dependencies. It appears to be missing video plugin libraries among other things.

CRASH LOG (23.08.1)
```
QSocketNotifier: Can only be used with threads started with QThread
profilePath from appDir/../share:  "/app/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  "/app/bin/melt"
Empty metadata for  "audiochannels"
Empty metadata for  "audioconvert"
Empty metadata for  "imageconvert"
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alphagrad"
plugin not available: "frei0r.alphaspot"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.facebl0r"
plugin not available: "frei0r.facedetect"
plugin not available: "frei0r.hqdn3d"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.pr0be"
plugin not available: "frei0r.pr0file"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "timewarp"
unsupported effect in group "frei0r.alpha0ps" : "/app/share/kdenlive/effect-templates/secondary_color_correction.xml"
Asset "mask_start-frei0r.alphaspot" has invalid dependency "frei0r.alphaspot" and is going to be removed
plugin not available: "region"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
==========
FOUND SUPPORTED CODECS:  ("h264_vaapi", "hevc_vaapi")
// FFMPEG ARGS:  ("-hide_banner", "-filters")
/// ++ SCALE_NPP NOT SUPPORTED
```

KDENLVE DEBUG ERRORS
First error after installing was:
```
error: app/org.kde.kdenlive.Devel/x86_64/master not installed
```
After installing dependency:
```
caden@fedora:~$ flatpak run --command=sh --devel org.kde.kdenlive
[๐Ÿ“ฆ org.kde.kdenlive ~]$ kdenlive
QSocketNotifier: Can only be used with threads started with QThread
 = = = =
GOT Deleted file:  "/home/caden/.var/app/org.kde.kdenlive/config/kdenlive-flatpakrc"
 = = = =
GOT Deleted file:  "/app/share/kxmlgui5/kdenlive/kdenliveui.rc"
QPaintDevice: Cannot destroy paint device that is being painted
[๐Ÿ“ฆ org.kde.kdenlive ~]$ 
```
Comment 1 emohr 2025-02-18 08:12:41 UTC
Do you have used the official Kdenlive flatpak from flathub https://flathub.org/apps/org.kde.kdenlive? If not please install Kdenlive from flathub and try again.
Comment 2 Bug Janitor Service 2025-03-05 03:47:17 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-03-20 03:47:17 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.