Bug 124383 - Slow and laggy interface when typing in mixed RTL and LTR languages.
Summary: Slow and laggy interface when typing in mixed RTL and LTR languages.
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-28 07:14 UTC by Homayoon Vafamehr
Modified: 2020-08-14 05:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
An ODT document for testing bug. (10.60 KB, application/vnd.oasis.opendocument.text)
2019-03-28 07:29 UTC, Homayoon Vafamehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Homayoon Vafamehr 2019-03-28 07:14:57 UTC
Description:
Most languages are Left To Right like English
Some languages are Right To Left like Persian, Arabic
Numbers are Left To Right in English as well as Persian and Arabic.
Trying to write/editing a sentence witch is mixed of 2 different direction like Persian and English, Persian and Persian Numbers or ...  makes UI laggy and unresponsive.

There is no problem if a sentence is in one direction (for example LTR) and the next one witch is separated by Enter is in other direction (in this example RTL).

Steps to Reproduce:
1.Open any LibreOffice component
2.Make a new text Line
3.Write mixed of English and Persian witch is in different direction.

Actual Results:
Laggy and unresponsive UI

Expected Results:
Normal responsive UI


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.2.1.2
Build ID: 6.2.1-1
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Homayoon Vafamehr 2019-03-28 07:29:40 UTC
Created attachment 150338 [details]
An ODT document for testing bug.

there are 4 sentence in this document.
First sentence pure Persian with no problem and lag when I wrote it.
Second one is in Persian with Persian numbers so was laggy as I was writing.
Third one is mixed of English and Persian (فارسی) and was laggy.
Last one pure English so no problem as expected.
Comment 2 Xisco Faulí 2019-05-09 09:33:15 UTC
Does it work if you disable OpenGl ? -> https://wiki.documentfoundation.org/OpenGL

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 3 Homayoon Vafamehr 2019-05-12 04:16:46 UTC
Unfortunately no. even with OpenGL disabled problem is still there.
Comment 4 Buovjaga 2019-08-17 14:49:45 UTC
Homayoon did not actually have OpenGL enabled as seen from the Help - About text. I think we should remove the question as people many times do not understand what it means.

Homayoon: how does the lagginess manifest? I did not experience anything weird with your file and doing some inputting of text.

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: b9a776837462eeb6d50d0decc42604c0c3008eb1
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 11 August 2019
Comment 5 Buovjaga 2020-04-17 16:50:24 UTC
(In reply to Buovjaga from comment #4)
> Homayoon: how does the lagginess manifest? I did not experience anything
> weird with your file and doing some inputting of text.

Still waiting for an answer.
Comment 6 Hamza 2020-08-13 20:31:54 UTC
(In reply to Homayoon Vafamehr from comment #0)
> Description:
> Most languages are Left To Right like English
> Some languages are Right To Left like Persian, Arabic
> Numbers are Left To Right in English as well as Persian and Arabic.
> Trying to write/editing a sentence witch is mixed of 2 different direction
> like Persian and English, Persian and Persian Numbers or ...  makes UI laggy
> and unresponsive.
> 
> There is no problem if a sentence is in one direction (for example LTR) and
> the next one witch is separated by Enter is in other direction (in this
> example RTL).
> 
> Steps to Reproduce:
> 1.Open any LibreOffice component
> 2.Make a new text Line
> 3.Write mixed of English and Persian witch is in different direction.
> 
> Actual Results:
> Laggy and unresponsive UI
> 
> Expected Results:
> Normal responsive UI
> 
> 
> Reproducible: Always
> 
> 
> User Profile Reset: Yes
> 
> 
> OpenGL enabled: Yes
> 
> Additional Info:
> Version: 6.2.1.2
> Build ID: 6.2.1-1
> CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; 
> Locale: en-US (en_US.UTF-8); UI-Language: en-US
> Calc: threaded
Comment 7 Buovjaga 2020-08-14 05:24:31 UTC
You quoted your own comment instead of answering my question. Please try harder.

Is the lagginess manifesting in a way that makes your typing appear on the screen slower? No? Then how?