Bug 421174

Summary: Preset default quality settings are not being saved
Product: [Applications] kdenlive Reporter: Ben M. <bmarwell>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: major CC: bmarwell, julius.kuenzel
Priority: NOR    
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 21.04.1
Sentry Crash Report:
Attachments: Reproduced (step 01)
Reproduced (step 02)

Description Ben M. 2020-05-08 06:06:31 UTC
SUMMARY


STEPS TO REPRODUCE
1. Create your own preset, e.g. by copying mp4
2. (optionally) add more quality values to video and audio, e.g. 22,31 and 256,192,164,128,64.
3. Set the defaults to e.g. 22 and 192.
4. Click ok

The default values were not saved.

OBSERVED RESULT

The default values are 15 and 256


EXPECTED RESULT

The default values are 22 and 192.


SOFTWARE/OS VERSIONS
Windows: 20.04.0

ADDITIONAL INFORMATION
Comment 1 Julius Künzel 2021-03-23 21:54:09 UTC
Thanks for your report! Do you talk about render "presets" (profiles)?
Comment 2 Ben M. 2021-03-24 09:23:52 UTC
Created attachment 137016 [details]
Reproduced (step 01)

(In reply to Julius Künzel from comment #1)
> Thanks for your report! Do you talk about render "presets" (profiles)?

Yes. See attached screenshots from my kubuntu 20.04 box (also affected).
I copied the mp4 preset to "mp4 HQ", added some bitrates and did set the default bitrate (1st screenshot).
Then I press "save" and reopen the dialog, then the default is not set again.
Comment 3 Ben M. 2021-03-24 09:24:07 UTC
Created attachment 137017 [details]
Reproduced (step 02)

Reopened window – default preset gone.
Comment 4 Julius Künzel 2021-04-26 10:37:42 UTC
Git commit 4c668d8ccc0f407485deff813b63caefb68f33ff by Julius Künzel.
Committed on 26/04/2021 at 10:37.
Pushed by jlskuz into branch 'release/21.04'.

Render presets: load default values properly to ui

M  +8    -0    src/dialogs/renderwidget.cpp

https://invent.kde.org/multimedia/kdenlive/commit/4c668d8ccc0f407485deff813b63caefb68f33ff