Bug 498259 - Speech Editor multiple selection not working correctly for bookmark creation
Summary: Speech Editor multiple selection not working correctly for bookmark creation
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 24.12.0
Platform: Pop!_OS Linux
: HI normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-01-04 20:59 UTC by Bernd
Modified: 2025-03-28 11:23 UTC (History)
1 user (show)

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


Attachments
Speech Editor marker creation from selection (32.44 KB, image/png)
2025-01-04 20:59 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2025-01-04 20:59:01 UTC
Created attachment 177113 [details]
Speech Editor marker creation from selection

SUMMARY
According to the documentation it is possible to select multiple lines/segments using Shift and/or Ctrl while selecting. While the timestamps are highlighted and stay highlighted, the text at the timestamp is de-selected with every new selection. Creating a bookmark subsequently is only possible for the last selected text/timestamp. Inserting the selection into the timeline works correctly

STEPS TO REPRODUCE
1. Select a clip in the project bin, open the speech editor and click on Transcribe
2. Select several timestamps holding Shift or Ctrl
3. Click Add Marker

OBSERVED RESULT
A marker is created only for the last selected timestamp, all others are ignored

EXPECTED RESULT
Markers are created for all selected timestamps

SOFTWARE/OS VERSIONS
Linux: Pop!_OS 22.04 LTS
DE: Gnome
KDE Frameworks Version: 6.9.0
Qt Version: 6.7.3 (built against 6.7.3)
MLT Version: 7.28.0
FFmpeg Version: 4.4.2
Comment 1 emohr 2025-01-08 18:51:30 UTC
I can confirm the issue.
As you only can multi-select markers clicking on the time-stamp, only the marker with highlighted text gets created as guide.
Comment 2 Jean-Baptiste Mardelle 2025-03-28 11:23:34 UTC
Git commit cd59f097f62dc1d6ab93c56cb544ddbb11f7a23f by Jean-Baptiste Mardelle.
Committed on 28/03/2025 at 09:48.
Pushed by mardelle into branch 'release/25.04'.

Text based edit: with multiple text selection, create multiple markers
FIXED-IN: 25.04.0

M  +59   -19   src/dialogs/textbasededit.cpp
M  +3    -0    src/dialogs/textbasededit.h

https://invent.kde.org/multimedia/kdenlive/-/commit/cd59f097f62dc1d6ab93c56cb544ddbb11f7a23f