Bug 159757

Summary: Complex script word-by-word navigation and selection does not work at all
Product: LibreOffice Reporter: stoomkracht
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 24.2.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description stoomkracht 2024-02-18 03:36:29 UTC
Description:
In build-in Windows programs like even notepad you can navigate a sentence with CTRL+LEFT/RIGHT cursor keys. In LibreOffice programs this ONLY works for languages with spaces as word separator.

Example (Thai)
คนไทยที่นับถือศาสนาพุทธเกินห้าสิบเปอร์เซ็นต์
Transliteration: kon tai têe náp tĕu sàat-sà-năa pút gern hâa sìp bper-sen

As you can see, you can select individual words or navigate word by word through the sentence in any webbrowser using the standard ways (double click, ctrl+cursor keys).

In LibreOffice this does not work at all,


Steps to Reproduce:
1. copy paste คนไทยที่นับถือศาสนาพุทธเกินห้าสิบเปอร์เซ็นต์
2. try to select random word (ie double click on บ


Actual Results:
บ is selected

Expected Results:
นับถือ should be selected
All words: คน  ไทย  ที่  นับถือ  ศาสนา  พุทธ  เกิน  ห้า  สิบ  เปอร์เซ็นต์  


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 stoomkracht 2024-02-18 09:18:26 UTC
Ok, it works when Tools/Language is set to Thai.

In Calc it is messy.
Tools/Language/For All Text/More...
Set default for Complex text layout to Thai. Doesn't seem to recognize it by default. And by default it seems set to Hindi.
Comment 2 Dieter 2024-03-08 10:31:35 UTC
(In reply to stoomkracht from comment #1)
> Ok, it works when Tools/Language is set to Thai.

So I think that is the expected behaviour
=> RESOLVED NOTABUG

> 
> In Calc it is messy.
> Tools/Language/For All Text/More...
> Set default for Complex text layout to Thai. Doesn't seem to recognize it by
> default. And by default it seems set to Hindi.
So it would make sense to open a new bug fpor this problem. Thank you