Bug 396519

Summary: Kdenlive is still rendering on exit
Product: [Applications] kdenlive Reporter: alex285 <alexis.diavatis>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby, helloimakhil, julius.kuenzel
Priority: NOR Keywords: junior-jobs
Version First Reported In: 21.03.80Flags: fritzibaby: Brainstorm+
fritzibaby: low_hanging+
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.08.0
Sentry Crash Report:
Attachments: Notification confirming Rendering completion

Description alex285 2018-07-15 00:14:17 UTC
This is similar to https://bugs.kde.org/show_bug.cgi?id=380854

Reproduce [Kdenlive 18.04.2 from Flathub]
1. Open Kdenlive
2. Add something on timeline
3. Export and rendering
4. Exit Kdenlive from close button before rendering is done

Outcome: kdenlive_rendering and melt process still work. Moreover when they finish it doesn't show a notification

Expected: When we press close button Kdenlive should warn us that rendering is running, and ask us if we want to cancel it, and kill the processes on exit
Comment 1 alex285 2018-07-15 00:39:13 UTC
Corresponding bug on Flatpak
https://github.com/flatpak/flatpak/issues/1903
Comment 2 Akhil 2019-01-16 12:35:18 UTC
Created attachment 117487 [details]
Notification confirming Rendering completion

On my Kdenlive (refactoring_timeline), as described, exiting during a rendering process does not raise any warnings from Kdenlive and the processes in the background continue BUT a notification is shown after the rendering is completed contrary to what is reported (see attachment) 

I still think giving a warning is a good idea, in case the notification is missed and the user somehow forgets.
Comment 3 Julius Künzel 2021-03-24 15:04:09 UTC
Confirmed with 21.03.80
Comment 4 Jean-Baptiste Mardelle 2025-03-17 18:44:09 UTC
Git commit 99dd34e1e5c98b11a879d22f0182680c31592fa3 by Jean-Baptiste Mardelle.
Committed on 17/03/2025 at 18:43.
Pushed by mardelle into branch 'master'.

Warn when exiting Kdenlive when render jobs are running, allow to terminate all jobs
FIXED-IN: 25.08.0

M  +27   -7    src/mainwindow.cpp
M  +1    -0    src/mainwindow.h
M  +11   -0    src/render/renderserver.cpp
M  +1    -0    src/render/renderserver.h

https://invent.kde.org/multimedia/kdenlive/-/commit/99dd34e1e5c98b11a879d22f0182680c31592fa3