Bug 163605 - Search Field (ctrl-f) doesn't handle Indic scripts properly (Writer)
Summary: Search Field (ctrl-f) doesn't handle Indic scripts properly (Writer)
Status: RESOLVED DUPLICATE of bug 163616
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-24 12:22 UTC by mahayogananda
Modified: 2024-11-10 09:27 UTC (History)
1 user (show)

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 mahayogananda 2024-10-24 12:22:07 UTC
Description:
In the search field which opens on ctrl-f, Writer doesn't handle Indic scripts properly. It finds the main consonants, but ignores vowels, so a search for नमो (namo) will return नमो, नमः, नम् etc. (namo, namaḥ, nam).

However, the "find and replace" feature *does* handle Indic scripts correctly.

Steps to Reproduce:
1.Open a document with Indic scripts
2.Search for a string using the ctrl-f
3.notice that vowels are ignored

Actual Results:
I already explained this. Vowel marks in Devanagari, Bengali (and I'm guessing, other Indic scripts) are ignored.

Expected Results:
Should differentiate 


Reproducible: Always


User Profile Reset: No

Additional Info:
Differentiate between words like namo and namaḥ (नमो, नमः)
Comment 1 Aryeh 2024-11-09 00:56:58 UTC
I was not able to reproduce this. When I search for नमो (namo) it only returns नमो (namo), not the others you mentioned. What version are you using?

Version: 24.8.2.1 (AARCH64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: macOS 14.5; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 mahayogananda 2024-11-09 03:56:00 UTC
Hi,

same, 24.8.2.1 (x86_64)

This has been an issue for me for several years.

It's only with the ctrl-f search, not with the search-and-replace function, which works correctly. 

Take the text

रामकृष्णाय नमो नमः

ctrl-f search for रमकष and रामकृष् is highlighted! Vowels are simply ignored.

But if you can't replicate it, then what could it be?
Comment 3 raal 2024-11-09 12:31:15 UTC
In Find and replace dialog is option "Diacritic-sensitive" and this makes the difference. Probably find toolbar use default settings of Find and replace, which are without "Diacritic-sensitive" on. Not a bug for me.
Comment 4 mahayogananda 2024-11-09 20:35:12 UTC
Ah, yes, with diacritic-sensitive unchecked, the Find and Replace (ctrl-h) also ignores all vowel marks in Devanagari.

However, vowel marks in Devanagari are not diacritical marks like ā or ṛ. They are integral parts of the words.

Is there a way to enable "diacritic sensitive" in the ctrl-f find box? 

If not, then I think this is still a bug. Unless it performs correctly for others, and there is some other issue with my machine. In which case what would it be?
Comment 5 raal 2024-11-10 09:27:03 UTC
(In reply to mahayogananda from comment #4)
> 
> Is there a way to enable "diacritic sensitive" in the ctrl-f find box? 
> 

Setting as duplicate.

*** This bug has been marked as a duplicate of bug 163616 ***