Bug 440185 - Renaming tracks does not finish after pressing RETURN
Summary: Renaming tracks does not finish after pressing RETURN
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 21.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-23 11:09 UTC by Anders Lund
Modified: 2021-11-16 14:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Lund 2021-07-23 11:09:23 UTC
When changing the name of a track, I expect that pressing RETURN will finalize the editing. It even looks like that, the cursor dissapears - but it doesnt. Pressing another key - like a shortcut - does not work, and clicking outside the name widget will show that that character (or characters) were added to the name. This behavior is different from other similar actions, like renaming tracks or ediging track descriptions, both of which functions normal - RETURN will finalize editing. 

STEPS TO REPRODUCE
1. doubleclick in the track name area (hey, why not F2 here??)
2. Type a nice track name, press RETURN to finalize
3. type another character, like a shotcut for something

OBSERVED RESULT
The last character typed in step 3 above has no effect. There is no visual indication of why not, until you click somewhere outside the track name area, and realize that the last character was secretly added to the track name.

EXPECTED RESULT
RETURN finalizes the editing og the track name, and focus is back on track.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux, up to date
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Julius Künzel 2021-11-16 14:06:27 UTC
Git commit 816c93790d434909f31f615937f9ffaa0b7278e6 by Julius Künzel.
Committed on 16/11/2021 at 13:45.
Pushed by jlskuz into branch 'release/21.12'.

Track name edit: fix focus issue, enable F2 shortcut
FIXED-IN: 21.12.0

M  +10   -0    src/timeline2/view/qml/Timeline.js
M  +8    -5    src/timeline2/view/qml/TrackHead.qml
M  +7    -0    src/timeline2/view/qml/timeline.qml

https://invent.kde.org/multimedia/kdenlive/commit/816c93790d434909f31f615937f9ffaa0b7278e6