Bug 91235 - appending nowidth breaking character, corrupts searching in Persian
Summary: appending nowidth breaking character, corrupts searching in Persian
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.6.3 release
Hardware: x86-64 (AMD64) All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-Arabic-and-Farsi
  Show dependency treegraph
 
Reported: 2015-05-12 10:10 UTC by irancplusplus
Modified: 2023-05-12 21:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file for searching the word انسان in. (9.31 KB, application/vnd.oasis.opendocument.text)
2015-05-12 10:10 UTC, irancplusplus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description irancplusplus 2015-05-12 10:10:52 UTC
Created attachment 115515 [details]
sample file for searching the word انسان in.

In Persian and probably in Arabic when the nowidth breaking character ( 0x100200c) is inserted after a word the word no longer can be found in Search box of LibreOffice Writer.


In the sample file search the word 'انسان'. Nothing is found.
Comment 1 Urmas 2015-05-14 21:10:49 UTC
Confirmed in 5.0 master.
Comment 2 QA Administrators 2016-09-20 09:41:47 UTC Comment hidden (obsolete)
Comment 3 eisa01 2019-11-03 14:59:31 UTC
This is still present

Version: 6.4.0.0.alpha1+
Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 QA Administrators 2021-11-03 04:31:34 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2023-05-09 10:41:51 UTC
Hossein, could please retest this one?
Comment 6 irancplusplus 2023-05-12 07:25:16 UTC
Roman, currently I cannot test it. But there is an example file above. Open it and copy all of its contents. Then open a new doc and paste it. If the pasted version is the same as the original doc, the problem is solved.
regards.
Comment 7 irancplusplus 2023-05-12 07:31:03 UTC
Roman, sorry, to test it search a word with the nowidth character at the end....
Comment 8 Roman Kuznetsov 2023-05-12 13:51:37 UTC
I can't repro it in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 99a88c9e55872214ce01d89447d18708e47e956b
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

LO Writer found the word انسان in the file example

Khaled, just for double checking, if you have some free time, please check it too
Comment 9 ⁨خالد حسني⁩ 2023-05-12 21:16:15 UTC
I can’t reproduce either. Search works fine with or without U+200C appended to the text.