Bug 483710 - Title Clip Letter Spacing cannot be changed back to 0
Summary: Title Clip Letter Spacing cannot be changed back to 0
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 24.02.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-15 23:32 UTC by SMERKIN 5000
Modified: 2024-03-16 08:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMERKIN 5000 2024-03-15 23:32:36 UTC
SUMMARY
When the letter spacing of the title clip is changed, re-editing the title clip and changing it back to 0 does not apply. This seems to also affect new title clips that inherit the setting last used for a title clip.


STEPS TO REPRODUCE
1. In the project bin - Add Title Clip
2. Click the Add Text button and then click on the title clip to add text (pre-populated with "Text")
3. Change the letter spacing to any - or + number, in this case 5
4. Click Create Title
5. Edit the clip
6. Change the value to 0 and click Update Title
7. Edit the clip and you will see it is still set to 5

OBSERVED RESULT
* When using the mouse to change the letter spacing value you can visually see the text change as it steps through the values 4,3,2,1. However when you reach 0 the text visually changes back to what it was when you started, in this case 5 even though the value is displaying 0.
* Any title clips created at this point inherit the letter spacing from the last time and hence it's not possible to get back to a letter spacing of 0.

EXPECTED RESULT
To be able to set the letter spacing to 0.


SOFTWARE/OS VERSIONS
Windows: 10 19045.4170
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2 (built against 6.6.2)
Comment 1 Jean-Baptiste Mardelle 2024-03-16 06:56:42 UTC
Thanks for your report, I can confirm the issue
Comment 2 Jean-Baptiste Mardelle 2024-03-16 08:21:18 UTC
Git commit a2b7c225f79ac3381aa42d15b4f499b8a88d4de4 by Jean-Baptiste Mardelle.
Committed on 16/03/2024 at 08:20.
Pushed by mardelle into branch 'master'.

fix: cannot revert letter spacing to 0 in title clips

M  +2    -3    src/titler/titlewidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/a2b7c225f79ac3381aa42d15b4f499b8a88d4de4
Comment 3 Jean-Baptiste Mardelle 2024-03-16 08:21:52 UTC
Git commit fd04a86f5e6e84cbd846f1590870d47184ab51fd by Jean-Baptiste Mardelle.
Committed on 16/03/2024 at 08:21.
Pushed by mardelle into branch 'release/24.02'.

fix: cannot revert letter spacing to 0 in title clips

M  +2    -3    src/titler/titlewidget.cpp

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