Bug 489985 - I found a Bug in Kdenlive 24.05.2 and possible solution too.
Summary: I found a Bug in Kdenlive 24.05.2 and possible solution too.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 24.05.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-07-09 16:55 UTC by kumar
Modified: 2024-07-11 05:41 UTC (History)
0 users

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


Attachments
Kdenlive Master Mute bug comparison (75.15 KB, image/png)
2024-07-09 16:55 UTC, kumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kumar 2024-07-09 16:55:52 UTC
Created attachment 171505 [details]
Kdenlive Master Mute bug comparison

***
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
***

SUMMARY
As I had to multitask on one system, I have to mute kdenlive while editing sometimes. so that... it wont interfere with Audio recording done by my friend on the 2nd Monitor. In this process I found a Bug in 23.04.3. But after finding the latest version (24.05.2) I wanted to check before reporting here. I can confirm even 24.05.2 too is having this same bug. Looks like it went unnoticed for some reason, maybe no one never mute master while editing. Below are the details.

By the way I am using Standalone version of the software on Windows 11 Pro.

If we mute Master in Audio Mixer and save the project without unmuting and close the Kdenlive, There is noway to unmute Master after reopening the project.

I had to open .kdenlive in a different editor and delete the Mute state of the master and save it back, to unmute it. please check the image i posted in the kde discussion or the attachment.
https://discuss.kde.org/t/i-found-a-bug-in-kdenlive-24-05-2/18427

STEPS TO REPRODUCE
1. Just open any project and click on the mute for Master in Audio mixer.
2. Save the file and close Kdenlive.
3. Start Kdenlive and open the .kdenlive file.
4. In the Audio Mixer it doesn’t show as muted and there is no way to unmute it.

OBSERVED RESULT
After reopening the project, Possibly Kdenlive is unable to read the value and  In the Audio Mixer it doesn’t show as "Muted" and there is no way to unmute it, in the GUI. When I opened it in a Winmerge editor I found that default unmute state is <property name="disable">1<property> . But if we save .kdenlive file has this value changed to "0" <property name="disable">0<property>.

EXPECTED RESULT
Kdenlive should read the value "0" and update Master Mute in the GUI to "Muted."

SOFTWARE/OS VERSIONS
Windows: 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version:  6.3.0
Qt Version: 6.7.1 (built against 6.7.1)

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2024-07-10 07:15:57 UTC
Thanks for your report, I can confirm the issue and ready to fix it. As a workaround, when opening the project, you can also simply rise the master volume to restore audio.
Comment 2 Jean-Baptiste Mardelle 2024-07-10 07:17:12 UTC
Git commit 63ca3f5010fa2bb8e005bd77166df49f5f18fd2e by Jean-Baptiste Mardelle.
Committed on 10/07/2024 at 07:16.
Pushed by mardelle into branch 'master'.

Fix cannot restore audio after saving project with master muted

M  +12   -3    src/audiomixer/mixerwidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/63ca3f5010fa2bb8e005bd77166df49f5f18fd2e
Comment 3 kumar 2024-07-11 05:41:50 UTC
(In reply to Jean-Baptiste Mardelle from comment #2)
> Git commit 63ca3f5010fa2bb8e005bd77166df49f5f18fd2e by Jean-Baptiste
> Mardelle.
> Committed on 10/07/2024 at 07:16.
> Pushed by mardelle into branch 'master'.
> 
> Fix cannot restore audio after saving project with master muted
> 
> M  +12   -3    src/audiomixer/mixerwidget.cpp
> 
> https://invent.kde.org/multimedia/kdenlive/-/commit/
> 63ca3f5010fa2bb8e005bd77166df49f5f18fd2e

Wow! it was a very fast fix. Thank you Kdenlive dev team.