Bug 166221 - Severe Lag When Selecting or Editing Mixed RTL/LTR Text in LibreOffice Writer
Summary: Severe Lag When Selecting or Editing Mixed RTL/LTR Text in LibreOffice Writer
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 09:52 UTC by mdgu
Modified: 2025-06-04 16:59 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mdgu 2025-04-17 09:52:29 UTC
Description:
I wrote a short paragraph in English using the default paragraph style, left-to-right text direction and left alignment. I tried several fonts, but to simplify the problem, I chose the popular Arial font, which also supports Arabic. Then, I wrote a new short paragraph, after the previous one, in Arabic using the same style, changing the text direction and alignment from right to left. Then, I wrote a new third paragraph in English using the style of the first paragraph. I didn't face any problems with the program's performance when trying to select or edit text, whether it was a part of a paragraph, a full paragraph, or even overlapping paragraphs (of course, when selecting the text). However, when trying to write in a language like English, which is LTR, and writing in a language like Arabic, which is RTL, in a single paragraph (Or typing inside Arabic text with English text), the text in this paragraph is very slow in terms of writing, editing, or even selecting text.

I was using old version of LibreOffice (24.2.7.2 (X86_64)) and tried to update to latest stable one (25.2.2.2), but nothing is fixed.

Steps to Reproduce:
1.Write any English or Arabic paragraph.
2.Try to write inside the same paragraph in another language that the paragraph was written.
3.Try selecting or editing this paragraph.

Actual Results:
Writing, editing, or selecting the text is so laggy.

Expected Results:
Writing, editing, or selecting the text must be smooth.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.2.2-0ubuntu0.24.04.1~lo1
Calc: threaded

OS: Linux Ubuntu 24.04.1 LTS
CPU: Intel(R) Core(TM) i9-14900HX
GPU: Nvidia GeForce RTX 4060 Max-Q / Mobile
Comment 1 Tasneem 2025-05-14 14:15:27 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 mdgu 2025-05-15 13:10:23 UTC
(In reply to Tasneem from comment #1)
> Thank you for reporting the bug. I can not reproduce the bug in
> 
> Version: 25.2.3.2 (X86_64) / LibreOffice Community
> Build ID: bbb074479178df812d175f709636b368952c2ce3
> CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
> Skia/Vulkan; VCL: win
> Locale: en-US (en_US); UI: en-US
> Calc: CL threaded

Why that happens only to me? Now I'm working on Version: 25.2.3.2 (X86_64) / LibreOffice Community, and I still have the same issue!
Comment 3 mdgu 2025-06-04 16:59:29 UTC
Update: I tried it in Windows 11 without issues. Also updated Libreoffice to latest stable version in Ubuntu and still have the same issue!