Severe Lag When Selecting or Editing Mixed RTL/LTR Text in LibreOffice Writer

Selecting or editing text in documents containing mixed RTL (e.g., Arabic, Hebrew) and LTR (e.g., English) text in LibreOffice Writer causes significant lag, making the application nearly unusable. I’ve tried different fonts (also popular ones like Arial), enabled Complex text layout for Arabic, but nothing worked. I was using LibreOffice Version: 24.2.7.2 and upgrade it to 25.2.2.2 and the problem still exist.

My device information:
OS: Ubuntu 24.04.2 LTS (Codename: noble)
Kernal: Linux 6.11.0-21-generic
GPU: Nvidia GeForce RTX 4060 Max-Q / Mobile

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

Maybe someone faced this weird situation?

I assume that you assign appropriate paragraph styles to your RTL/LTR texts and do not use any other direct formatting.

Then you should use a sample document in which the problem exists to write an error report on bugzilla.

Please post the number of the error report here. Thank you.