Bug 459338 (Nicolas)

Summary: Fails to integrate Glaxnimate | 'Create Animation' menu item remains desperately greyed out
Product: [Applications] kdenlive Reporter: Nicolas Kokel <nicolas.kokel>
Component: User Interface & MiscellaneousAssignee: Scarlett Moore <sgmoore>
Status: RESOLVED FIXED    
Severity: normal CC: julius.kuenzel, nicolas.kokel, sgmoore
Priority: NOR    
Version: 22.08.1   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed In: 22.08.2
Sentry Crash Report:
Attachments: Kdenlive interface
Search results for 'Glaxnimate' in local folders

Description Nicolas Kokel 2022-09-18 17:15:43 UTC
Created attachment 152189 [details]
Kdenlive interface

SUMMARY

After installing Kdenlive I tried glaxnimate from Store, from deb package, and from snap. After every install I changed the path in the 'Default Apps' configuration in 'Configure - Kdenlive'. The 'create animation' clip menu item remains greyed out. 
At this stage I have the snap install of Glaxnimate, with three possible different paths I selected (closing and restarting Kdenlive after each path selection change), but to not avail. 

STEPS TO REPRODUCE
1. Install kdenlive
2. Install Glaxnimate, start application. 
3. Select the various paths showing a program with a wheel icon. 
4. Closing and restarting kdenlive, reopen recent project.  
5. Trying to 'create animation'; 

OBSERVED RESULT

Clip menu item 'create animation' remains greyed out. 

EXPECTED RESULT

Clip menu item 'create animation' should be active. 

SOFTWARE/OS VERSIONS
Linux Ubuntu 22.04.1 LTS | Gnome Version 42.4 | Windowing System X11  

ADDITIONAL INFORMATION
Paths tested where the Glaxnimate app with a wheel icon is seen:
/snap/bin/glaxnimate
/snap/glaxnimate/579/bin/glaxnimate
/snap/glaxnimate/579/usr/local/bin/glaxnimate
Comment 1 Nicolas Kokel 2022-09-18 17:21:09 UTC
Created attachment 152190 [details]
Search results for 'Glaxnimate' in local folders

Paths for Glaxnimate app selected in Kdenlive settings for Defaults Apps
Comment 2 Nicolas Kokel 2022-09-18 18:53:50 UTC
By the way the Glaxnimate snap install crashed repeatedly, so that I reverted to the deb package install that is stable.
This version has only one app with the wheel icon in usr/bin, which is the path I set in Kdenlive, but no effect.
Comment 3 Nicolas Kokel 2022-09-18 18:54:48 UTC
(In reply to Nicolas Kokel from comment #2)
> By the way the Glaxnimate snap install crashed repeatedly, so that I
> reverted to the deb package install that is stable.
> This version has only one app with the wheel icon in usr/bin, which is the
> path I set in Kdenlive, but with no effect.
Comment 4 Julius Künzel 2022-09-18 18:55:16 UTC
Thanks for your report!

It seems you are using the Snap version of Kdenlive. This is a packing issue with Snap. You need to have a MLT version that includes the Glaxnimate module [MLT is a dependency of Kdenlive providing the media backend]. Whether you set the path to glaxnimate or not is unrelated in this case.

You can work around this issue by using the Kdenlive Appimage or Flatpak from www.kdenlive.org/download, for both it is guaranteed that they contain a MLT with all features enabled.

Technical info: mlt needs to get build with the cmake flag -DMOD_GLAXNIMATE=ON
Comment 5 Nicolas Kokel 2022-09-19 05:23:58 UTC
Indeed, this works. Thank you. 
I am not used to an appimage or flatpack, which are actually not installed on the system. 
It is not straightforward how to make it work and I am not the least knowledgeable person in such system and software matters and it took me many hours to figure out with your help. 
It may be a good think to stress how to 'install' Kdenlive on Ubuntu in order to make it fully functional and working.
I don't get it about this instruction, did not need it as well: 'Technical info: mlt needs to get build with the cmake flag -DMOD_GLAXNIMATE=ON'.
Comment 6 Julius Künzel 2022-09-19 18:20:41 UTC
In general you are good to go if you use one of the install methods from the offical download page at www.kdenlive.org/downloads. All other install methods are not maintained by the Kdenlive team, but someone else (usually the packagers of your OS). The snap version (which you used first) is maintained by the KDE Neon team.

The technical info is for whoever will fix this bug to have everything right at hand.
Comment 7 Scarlett Moore 2022-10-23 11:41:37 UTC
I am working on the snap.
Comment 8 Scarlett Moore 2022-10-31 16:03:23 UTC
Glaximate animations MLT module is now fixed in the latest snap. Please install 22.08.2 from the snap store. ( Will take a few minutes to show up )