Bug 473036 - Linking KDENLIVE Glaxnimate
Summary: Linking KDENLIVE Glaxnimate
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 23.07.80
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: sherkhan30452
URL:
Keywords:
: 499632 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-05 11:50 UTC by y.ruel
Modified: 2025-03-28 11:23 UTC (History)
5 users (show)

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


Attachments
attachment-1742495-0.html (4.08 KB, text/html)
2025-03-26 09:54 UTC, y.ruel
Details
Nightly build test (9951) (1.86 MB, video/mp4)
2025-03-27 12:04 UTC, sherkhan30452
Details

Note You need to log in before you can comment on or make changes to this bug.
Description y.ruel 2023-08-05 11:50:46 UTC
SUMMARY
Liaison KDENLIVE Glaxnimate
 je ne sais pas si c'est  un bug ou une mauvaise procédure de ma part !
" I don't know if it's a bug or a bad procedure on my part ! Sorry"

STEPS TO REPRODUCE
1.  charger kden, charger une vidéo sur la timeline , créer une animation et la placer sur la timeline
2. double clic sur l'animation : Glaxnimate s'ouvre et le fond correspondant  AUSSI. Création d'un objet puis sauver et quitter Glaxnimate par "quit". Tout est correct dans KDEN
3. Redouble cliquer sur l'animation , Glaxnimate s'ouvre MAIS on a perdu le fond  (image de la timeline) 

 " 1. load kden, load a video on the timeline, create an animation and place it on the timeline
2. double-click on the animation: Glaxnimate opens and the corresponding background ALSO. Create an object then save and quit Glaxnimate with "quit". All is now correct in KDEN
3. Double-click on the animation, Glaxnimate opens BUT the background (timeline image) is lost. "

OBSERVED RESULT
Il n'est plus possible d'avoir un fond de vidéo dans Glaxnimate après une première ouverture 
Pour pouvoir retrouver le fond je suis obligé de fermer Kden puis de le réouvrir.
encore une fois c'est peut être une erreur de ma part ! 
merci pour votre aide

"It is no longer possible to have a video background in Glaxnimate after opening it for the first time. 
To find the background I have to close Kden and then reopen it.
once again, this may be a mistake on my part! 
thanks for your help "

EXPECTED RESULT
que le fond vidéo s'affiche a nouveau pour modifier etc. sans avoir a relancer Kden

"the video background is displayed again for editing etc. without having to restart Kden"

SOFTWARE/OS VERSIONS
Windows:  w10
 
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Ilya 2023-10-22 12:56:29 UTC
Second this. Tried all sorts of manipulations to avoid needing to restart kdenlive, nothing seems to work. Save file -> close Glaxnimate. Don't save -> close. Save -> quit with quit option, etc etc etc, nothing. Opening another file in "working" instance of glaxnimate doesnt help either.
Comment 2 Bernd 2024-06-12 14:50:09 UTC
This is also the case with appimage 24.05: Once Glaxnimate is closed while the project is still open in Kdenlive, editing the animation is possible but without the background showing in Glaxnimate. Both applications have to be closed and opened again (Glaxnimate from within Kdenlive) to show the background.

One more observation: The first time Glaxnimate is opened, there is no background. It shows only after the playhead in Glaxnimate is moved along the timeline.
Comment 3 y.ruel 2024-06-12 17:04:29 UTC
OK that's really what's happening with me: 
1- quit Kdenlive AND glaxnimate
2-when you return to Kden, launch the clip modification to go to Glaxnimate
3- in Glaxnimate, you also have to launch the animation so that the background appears. 
it's not every day i use ! but I'm hoping for a change in ergonomics, so thanks to the development team.
Comment 4 y.ruel 2024-06-12 17:06:09 UTC
OK that's really what's happening with me: 
1- quit Kdenlive AND glaxnimate
2-when you return to Kden, launch the clip modification to go to Glaxnimate
3- in Glaxnimate, you also have to launch the animation so that the background appears. 
it's not every day i use ! but I'm hoping for a change in ergonomics, so thanks to the development team.
Comment 5 sherkhan30452 2025-02-15 07:46:57 UTC
Bernd

Update:
Test AppImage of Kdenlive and Glaxnimate; tldr - now works for linux but not for windows OS

Under linux (working)
Kdenlive: 24.12.1
MLT: 7.28.0
FFmpeg
KDE Frameworks: 6.9.0
Qt: Using 6.8.0 and built against 6.8.0
Linux Mint 22.1 (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.8.0-52-generic

Glaxnimate: 0.5.4+appimage-dc26f367
Comment 6 Jean-Baptiste Mardelle 2025-03-26 08:55:17 UTC
I just tested the latest Glaxnimate and Kdenlive versions on Windows and it worked for me. When double clicking an animation clip in timeline, Glaxnimate opens but doesn't at first display the background. You need to scroll in glaxnimate timeline to make the background appear. This first frame refresh issue is now fixed in the upcoming 25.04.0 release
Comment 7 Jean-Baptiste Mardelle 2025-03-26 08:55:33 UTC
*** Bug 499632 has been marked as a duplicate of this bug. ***
Comment 8 y.ruel 2025-03-26 09:54:06 UTC
Created attachment 179748 [details]
attachment-1742495-0.html

Bonjour,
Merci pour votre retour,
J'avais effectivement constaté cette amélioration depuis quelques nouvelles "releases"
ça marche comme évoqué également chez moi.
Bravo pour votre travail, Kdenlive est vraiment, pour moi, un logiciel extraordinaire !
Merci pour tout ce travail.
Yves Ruel

From: Jean-Baptiste Mardelle
Date: 2025-03-26 09:55
To: y.ruel
Subject: [kdenlive] [Bug 473036] Linking KDENLIVE Glaxnimate
https://bugs.kde.org/show_bug.cgi?id=473036

Jean-Baptiste Mardelle <jb@kdenlive.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #6 from Jean-Baptiste Mardelle <jb@kdenlive.org> ---
I just tested the latest Glaxnimate and Kdenlive versions on Windows and it
worked for me. When double clicking an animation clip in timeline, Glaxnimate
opens but doesn't at first display the background. You need to scroll in
glaxnimate timeline to make the background appear. This first frame refresh
issue is now fixed in the upcoming 25.04.0 release
Comment 9 sherkhan30452 2025-03-27 10:59:36 UTC
(In reply to Jean-Baptiste Mardelle from comment #6)
> I just tested the latest Glaxnimate and Kdenlive versions on Windows and it
> worked for me. When double clicking an animation clip in timeline,
> Glaxnimate opens but doesn't at first display the background. You need to
> scroll in glaxnimate timeline to make the background appear. This first
> frame refresh issue is now fixed in the upcoming 25.04.0 release

I checked again, still has not fixed. And I noticed you haven't tested completely, missing the crucial detail. I will share all steps but in detail to reproduce it.

Test case:
Kdenlive -
Kdenlive: 24.12.3
MLT: 7.30.0
FFmpeg
KDE Frameworks: 6.11.0
Qt: Using 6.8.1 and built against 6.8.1
Windows 10 Version 22H2
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.19045

Glaxnimate - version - 0.5.4+win-dc26f367

FULL STEPS TO REPRODUCE:
1. Start kdenlive.
2. Import any video clip, and then create animation clip in project bin.
3. Insert video clip at V1 in kdenlive timeline and animation clip in V2 above video clip.
4. Double click on animation clip, then glaxnimate will open.
5. Background is blank - scroll in glaxnimate timeline will preview kdenlive background.
Note: This is the step you have missed.
6. Now close glaxnimate, and try clicking on animation clip in kdenlive.
You will notice, background will remain blank, even if you scroll in glaxnimate timeline.
Which is the actual problem window users are facing. This does not occur in linux (as test setup mentioned in Comment #5).

Unless both are closed (that is kdenlive and glaxnimate) kdenlive background will not be shown in glaxnimate (even after scrolling in glaxnimate's timeline)
Comment 10 farid 2025-03-27 11:18:56 UTC
(In reply to sherkhan30452 from comment #9)
> (In reply to Jean-Baptiste Mardelle from comment #6)
> > I just tested the latest Glaxnimate and Kdenlive versions on Windows and it
> > worked for me. When double clicking an animation clip in timeline,
> > Glaxnimate opens but doesn't at first display the background. You need to
> > scroll in glaxnimate timeline to make the background appear. This first
> > frame refresh issue is now fixed in the upcoming 25.04.0 release
> 
> I checked again, still has not fixed. And I noticed you haven't tested
> completely, missing the crucial detail. I will share all steps but in detail
> to reproduce it.
> 
> Test case:
> Kdenlive -
> Kdenlive: 24.12.3
> MLT: 7.30.0
> FFmpeg
> KDE Frameworks: 6.11.0
> Qt: Using 6.8.1 and built against 6.8.1
> Windows 10 Version 22H2
> Build ABI: x86_64-little_endian-llp64
> Kernel: winnt 10.0.19045
> 
> Glaxnimate - version - 0.5.4+win-dc26f367
> 
> FULL STEPS TO REPRODUCE:
> 1. Start kdenlive.
> 2. Import any video clip, and then create animation clip in project bin.
> 3. Insert video clip at V1 in kdenlive timeline and animation clip in V2
> above video clip.
> 4. Double click on animation clip, then glaxnimate will open.
> 5. Background is blank - scroll in glaxnimate timeline will preview kdenlive
> background.
> Note: This is the step you have missed.
> 6. Now close glaxnimate, and try clicking on animation clip in kdenlive.
> You will notice, background will remain blank, even if you scroll in
> glaxnimate timeline.
> Which is the actual problem window users are facing. This does not occur in
> linux (as test setup mentioned in Comment #5).
> 
> Unless both are closed (that is kdenlive and glaxnimate) kdenlive background
> will not be shown in glaxnimate (even after scrolling in glaxnimate's
> timeline)

The fix will be applied in the next version...
Comment 11 sherkhan30452 2025-03-27 11:59:30 UTC
(In reply to farid from comment #10)

> The fix will be applied in the next version...

SUMMARY:
Kdenlive timeline is not previewed as background in glaxnimate, if trying re-opened animation clip multiples after 1st attempt.

STEPS TO REPRODUCE:
1. Start kdenlive.
2. Import any video clip, and then create animation clip in project bin.
3. Insert video clip at V1 in kdenlive timeline and animation clip in V2 above video clip.
4. Double click on animation clip, then glaxnimate will open.
5. Background is blank - scroll in glaxnimate timeline will preview kdenlive background.
Note: This is the step you have missed.
6. Now close glaxnimate, and try clicking on the same animation clip in kdenlive.

OBSERVED RESULT
Glaxnimate (after re-opening by clicking animation clip again), kdenlive background is not visible in glaxnimate timeline (even after scrolling in timeline)

EXPECTED RESULT
Glaxnimate should preview kdenlive background in timeline.

SOFTWARE/OS VERSIONS
Windows -
Edition	Windows 10 Home Single Language
Version	22H2
Installed on	‎04/‎08/‎23
OS build	19045.5608
Experience	Windows Feature Experience Pack 1000.19061.1000.0

Kdenlive -
Kdenlive: 25.07.70
MLT: 7.30.0
FFmpeg
KDE Frameworks: 6.12.0
Qt: Using 6.8.1 and built against 6.8.1
Windows 10 Version 22H2
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.19045

Glaxnimate -
Glanimate: 0.5.4+win-dc26f367

ADDITIONAL INFORMATION
I have been trying to figure out an alternative to overcome this problem, I discovered this technique but can't be used for large or complex project.

The technique.
That if you double click animation (glanimate) clip in kdenlive time, glaxnimate program start and shows kdenlive timeline as background. But once you close glaxnimate and reopen it, background will not be updated. Unless both kdenlive and glaxnimate are closed and reopened again.

What I discovered that I don't need to close glaxnimate always. Once I add animation in glaxnimate, save it but minimize the program. Kdenlive will reload the animation clip. Now I can move animation clip anywhere, background will be updated in glaxnimate program.

Only drawback is only one animation clip is possible.
If you try opening another animation clip, the background will not show in 2nd instance of glaxnimate program.

So I thought make a dedicated video layer for animation in kdenlive timeline, where animation clip will be size of the total video duration required for the project.

Other notes:
Please note in the Attachment (Kdenlive nightly build 9951.gif), the splash screen for both kdenlive and glaxnimate are not showing because of two monitor setup I have. Therefore splashscreen was showing in my main monitor
Comment 12 sherkhan30452 2025-03-27 12:04:36 UTC
Created attachment 179780 [details]
Nightly build test (9951)

Note: Shared .mp4 screenrecording instead of gif as mentioned in comment #11 due to file size issue.
Comment 13 Jean-Baptiste Mardelle 2025-03-28 11:23:36 UTC
Git commit 4e9619b1d0152d912d5cecf2a091b678235ca93d by Jean-Baptiste Mardelle.
Committed on 28/03/2025 at 11:23.
Pushed by mardelle into branch 'release/25.04'.

Fix glaxnimate connection not terminated on app close on Windows
FIXED-IN: 25.04.0

M  +9    -0    src/glaxnimatelauncher.cpp
M  +1    -0    src/glaxnimatelauncher.h

https://invent.kde.org/multimedia/kdenlive/-/commit/4e9619b1d0152d912d5cecf2a091b678235ca93d