Created attachment 178765 [details] The Power Management applet opened alongside a Job Queue list *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY When there's an active rendering job, automatic screen locking & sleep are not blocked. This can cause the computer to go to sleep while a project is still being rendered. STEPS TO REPRODUCE 1. Open a new project in Kdenlive 2. Add some footage and start rendering the project 3. Open the Power Management applet on the Plasma panel OBSERVED RESULT Sleep and Screen Locking after Inactivity: Automatic [Manually Block] EXPECTED RESULT Sleep and Screen Locking after Inactivity: Blocked by kdenlive (rendering project) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux 6.13.2-zen1-1-zen KDE Plasma Version: 6.3.0 (Wayland) KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/607
I wanted to add myself as an interested party for this feature. I have a workaround I use which is possible because kdenlive nicely allows the user to configure the path to the melt binary. On my Debian box I use a wrapper shell script that invokes melt with the arguments passed to the script and executes the installed melt using systemd-inhibit which gets a sleep inhibit token from logind. It works well for me but obviously this is not portable to even all Linux distros let alone everywhere that kdenlive can be used.
Git commit e08f673ebf13426319230dabfa5d0ea4a505ab5d by Jean-Baptiste Mardelle. Committed on 08/07/2025 at 14:43. Pushed by mardelle into branch 'master'. Add powermanagement to disable sleep while rendering and playing Add powermanagement to disable sleep while rendering FIXED-IN: 25.08.0 M +1 -1 renderer/kdenlive_render.cpp M +3 -2 renderer/renderjob.cpp M +1 -0 src/CMakeLists.txt M +1 -1 src/abstractmodel/abstracttreemodel.cpp M +0 -1 src/bin/model/subtitlemodel.cpp M +31 -2 src/dialogs/renderwidget.cpp M +6 -0 src/dialogs/renderwidget.h M +34 -0 src/dialogs/settings/kdenlivesettingsdialog.cpp M +7 -5 src/doc/documentvalidator.cpp M +4 -8 src/effects/effectstack/view/effectstackview.cpp M +6 -1 src/kdenlivesettings.kcfg M +11 -2 src/mainwindow.cpp M +10 -0 src/mainwindow.h M +24 -0 src/monitor/monitor.cpp M +3 -0 src/monitor/monitor.h A +411 -0 src/powermanagementinterface.cpp [License: LGPL(v3.0+)] A +92 -0 src/powermanagementinterface.h [License: LGPL(v3.0+)] M +3 -0 src/timeline2/view/timelinewidget.cpp M +8 -1 src/ui/configenv_ui.ui https://invent.kde.org/multimedia/kdenlive/-/commit/e08f673ebf13426319230dabfa5d0ea4a505ab5d
Git commit 326dd275f14f5e0773de1db9b3c1a8a358dc7f2f by Jean-Baptiste Mardelle. Committed on 09/07/2025 at 06:35. Pushed by mardelle into branch 'release/25.08'. Add powermanagement to disable sleep while rendering and playing Add powermanagement to disable sleep while rendering FIXED-IN: 25.08.0 M +1 -1 renderer/kdenlive_render.cpp M +3 -2 renderer/renderjob.cpp M +1 -0 src/CMakeLists.txt M +1 -1 src/abstractmodel/abstracttreemodel.cpp M +0 -1 src/bin/model/subtitlemodel.cpp M +31 -2 src/dialogs/renderwidget.cpp M +6 -0 src/dialogs/renderwidget.h M +34 -0 src/dialogs/settings/kdenlivesettingsdialog.cpp M +7 -5 src/doc/documentvalidator.cpp M +4 -8 src/effects/effectstack/view/effectstackview.cpp M +6 -1 src/kdenlivesettings.kcfg M +11 -2 src/mainwindow.cpp M +10 -0 src/mainwindow.h M +24 -0 src/monitor/monitor.cpp M +3 -0 src/monitor/monitor.h A +411 -0 src/powermanagementinterface.cpp [License: LGPL(v3.0+)] A +92 -0 src/powermanagementinterface.h [License: LGPL(v3.0+)] M +3 -0 src/timeline2/view/timelinewidget.cpp M +8 -1 src/ui/configenv_ui.ui https://invent.kde.org/multimedia/kdenlive/-/commit/326dd275f14f5e0773de1db9b3c1a8a358dc7f2f