Created attachment 155174 [details] the problem SUMMARY *** when you set Line Height Multiplier > 1 and have 2 lines or more in Arabic the highlight of selection is broken, please see the screen recording to visualize the problem *** STEPS TO REPRODUCE 1. set Line Height Multiplier to more than 1 2. select 1 or more line 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Operating System: KDE neon 5.26 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 5.15.0-56-generic (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/529
Git commit d2056b786e343b0232e9fb44f77d885e9850aca4 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 29/03/2023 at 15:23. Pushed by cullmann into branch 'master'. Fix selection highlight for RTL text with custom line height M +17 -3 src/render/katerenderer.cpp https://invent.kde.org/frameworks/ktexteditor/commit/d2056b786e343b0232e9fb44f77d885e9850aca4
Git commit 8e6440b60ba09029f39f419b608ae9f22dc00f78 by Waqar Ahmed. Committed on 04/04/2023 at 18:56. Pushed by cullmann into branch 'kf5'. Fix selection highlight for RTL text with custom line height M +17 -3 src/render/katerenderer.cpp https://invent.kde.org/frameworks/ktexteditor/commit/8e6440b60ba09029f39f419b608ae9f22dc00f78