Bug 407849 - In the title clip editor, text objects work as RTL even on LTR system
Summary: In the title clip editor, text objects work as RTL even on LTR system
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 19.04.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-23 00:31 UTC by lucky7tube
Modified: 2022-05-02 16:52 UTC (History)
4 users (show)

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


Attachments
In the title clip editor, text objects work as RTL even on LTR system (104.27 KB, image/png)
2019-05-23 00:31 UTC, lucky7tube
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucky7tube 2019-05-23 00:31:47 UTC
Created attachment 120260 [details]
In the title clip editor, text objects work as RTL even on LTR system

SUMMARY
In the title clip editor, when inserting new text object or modifying existing text object, typed characters are shifted to RTL direction even on LTR system.

STEPS TO REPRODUCE
1. Open the title clip editor
2. Click a point to start to create and input some text
3. Type some text

OBSERVED RESULT
Created text object is right-anchored, means that the text grows to left direction.

EXPECTED RESULT
Clicked point should be anchored left side of created text object on LTR system.

SOFTWARE/OS VERSIONS
Windows: both 7 and 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Andrej M. 2019-07-07 11:50:38 UTC
Dear developers,

I can confirm that this is still present in 19.04.2. The temporary fix is to switch "Align" to "Align right".

Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4

Best regards,
Andrej
Comment 2 emohr 2019-07-30 19:11:39 UTC
Thanks for reporting. New titler is in development. I mark it that the dev can see it.
Comment 3 Julius Künzel 2022-04-23 16:42:48 UTC
This should be fixed in master now for 22.08. Maybe the fix will be backported to 22.04.1. See https://invent.kde.org/multimedia/kdenlive/-/merge_requests/291

I am closing this report, feel free to reopen if there is still a problem!
Comment 4 Julius Künzel 2022-05-02 16:52:15 UTC
Git commit d8fd6be84853915d0e2df778ceda0a9d73836e38 by Julius Künzel, on behalf of Eric Jiang.
Committed on 02/05/2022 at 16:52.
Pushed by jlskuz into branch 'master'.

Add tests for title text alignment calculation

These test cases test that editing text objects should keeps the correct alignment.

Related to !291

M  +1    -0    tests/CMakeLists.txt
A  +57   -0    tests/titlertest.cpp  *

The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


https://invent.kde.org/multimedia/kdenlive/commit/d8fd6be84853915d0e2df778ceda0a9d73836e38