Skip to content

Fix incorrect recording saving

Dmitrii Fomchenkov requested to merge fomchenkovda/krecorder:master into master

When you click on the "Record" button, an empty file called clip_0001 (ex. clip_0002, clip_0003, etc.) is created in the default directory where the recording file is saved. When clicking on the "Stop recording" button, the user is prompted to save a file with a build number 1 greater than the build number specified in the name of the file created when recording starts. If the user saves a file under the suggested name, then when he tries to play the saved record from the list of available records, he receives an error. This problem occurs because the file is saved, e.g., with the name clip_0001, and the user was given a name to save clip_0002.

Merge request reports