Bug 492292

Summary: krecorder doesn't save format chosen by user
Product: [Applications] krecorder Reporter: José Rafael <joserafaeltic>
Component: generalAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: major CC: nathan
Priority: NOR    
Version First Reported In: 24.08.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.08.0
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 501920    
Attachments: krecoder demo

Description José Rafael 2024-08-28 02:02:48 UTC
SUMMARY
I'm taking the opportunity to report this Krecorder bug (I believe it is a bug): no matter what format or codec you choose, the application only records audio in .wmv format.
Even if you choose other file formats and codecs, when you close and open the app your settings are reset!

STEPS TO REPRODUCE
1. Open krecorder
2. choose a codec and a suitable format
3. record your audio

OBSERVED RESULT
Krecorder doesn't change the chosen format and codec, always recording in .wmv.

EXPECTED RESULT
krecorder records in any format and codec of the user's choice!

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400
Comment 1 José Rafael 2024-08-28 02:25:54 UTC
Created attachment 173018 [details]
krecoder demo
Comment 2 Nathan Upchurch 2025-04-29 15:57:57 UTC
I am experiencing the same issue. None of the settings appear to change upon selection, including audio input.
Comment 3 Nathan Upchurch 2025-04-29 16:03:43 UTC
(In reply to nathan from comment #2)
> I am experiencing the same issue. None of the settings appear to change upon
> selection, including audio input.

Scratch that: 

audioQuality is updated in ~/.config/kde.org/krecorder.conf
containerFormat is updated in ~/.config/kde.org/krecorder.conf

Codec and input are nowhere to be found, and entering values manually into the config seems to do nothing.
Comment 4 Bug Janitor Service 2025-07-23 14:16:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/krecorder/-/merge_requests/53
Comment 5 Devin Lin 2025-07-23 15:55:55 UTC
Git commit eeb0ede89ccadca8691ccc449b082abee5ce637f by Devin Lin, on behalf of Balló György.
Committed on 23/07/2025 at 15:54.
Pushed by devinlin into branch 'master'.

Fix saving and loading format settings

This ensures that the container format, audio codec and audio quality
settings are loaded, saved and monitored properly.
Related: bug 489903, bug 501920

M  +61   -13   src/audiorecorder.cpp
M  +9    -6    src/audiorecorder.h
M  +5    -1    src/contents/ui/settings/SettingsComponent.qml
M  +3    -3    src/settingsmodel.cpp

https://invent.kde.org/utilities/krecorder/-/commit/eeb0ede89ccadca8691ccc449b082abee5ce637f
Comment 6 Devin Lin 2025-07-23 16:00:39 UTC
Git commit 68a5379a7a6a4421db11ab16404f6617da666cf4 by Devin Lin, on behalf of Balló György.
Committed on 23/07/2025 at 15:59.
Pushed by devinlin into branch 'release/25.08'.

Fix saving and loading format settings

This ensures that the container format, audio codec and audio quality
settings are loaded, saved and monitored properly.
Related: bug 489903, bug 501920

M  +61   -13   src/audiorecorder.cpp
M  +9    -6    src/audiorecorder.h
M  +5    -1    src/contents/ui/settings/SettingsComponent.qml
M  +3    -3    src/settingsmodel.cpp

https://invent.kde.org/utilities/krecorder/-/commit/68a5379a7a6a4421db11ab16404f6617da666cf4