Bug 505679 - Deleted recording playing if other recording saved with same name
Summary: Deleted recording playing if other recording saved with same name
Status: RESOLVED FIXED
Alias: None
Product: krecorder
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-17 06:19 UTC by Thea Baldewein
Modified: 2025-07-23 19:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thea Baldewein 2025-06-17 06:19:54 UTC
SUMMARY
KRecorder does not play a newly recorded recording if saved with the same name as a record deleted in the current session, instead plays the "deleted" recording

STEPS TO REPRODUCE
1. Record a recording
2. Save recording
3. Delete Recording
4. Record Another recording
5. Save recording under the name of previously deleted recording
6. Try playing the just saved recording

OBSERVED RESULT
Supposedly deleted recording plays.

EXPECTED RESULT
Second recording is played, deleted recording is actually deleted.

SOFTWARE/OS VERSIONS
Recorder: 25.04.2
Ubuntu Core 24
KDE Frameworks: 6.14.0
Qt: 6.9.0 wird verwendet und gebaut wurde mit 6.9.0
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.14.0-15-generic

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2025-07-23 18:53:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/krecorder/-/merge_requests/57
Comment 2 Devin Lin 2025-07-23 19:32:32 UTC
Git commit 6b05920628a773fb195c2ac25e1977040dcea33c by Devin Lin, on behalf of Balló György.
Committed on 23/07/2025 at 19:31.
Pushed by devinlin into branch 'master'.

Reset media path if no current recording

This ensures that the file is closed when not in use and is re-read when
opened again for audio playback.

M  +2    -0    src/contents/ui/main.qml

https://invent.kde.org/utilities/krecorder/-/commit/6b05920628a773fb195c2ac25e1977040dcea33c
Comment 3 Devin Lin 2025-07-23 19:38:21 UTC
Git commit b9c9a4c3bbbcad6c1c0487d16814f99c55c135ed by Devin Lin, on behalf of Balló György.
Committed on 23/07/2025 at 19:36.
Pushed by devinlin into branch 'release/25.08'.

Reset media path if no current recording

This ensures that the file is closed when not in use and is re-read when
opened again for audio playback.

M  +2    -0    src/contents/ui/main.qml

https://invent.kde.org/utilities/krecorder/-/commit/b9c9a4c3bbbcad6c1c0487d16814f99c55c135ed