After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677613 - document viewer search problem in reverse in right to left languages
document viewer search problem in reverse in right to left languages
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.4.x
Other All
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-07 09:58 UTC by Mohammad
Modified: 2018-05-22 14:38 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4


Attachments
pdf file containing one arabic word. you can see the problem by copying the word and pasting in the search box. (7.77 KB, application/pdf)
2012-06-07 09:58 UTC, Mohammad
Details

Description Mohammad 2012-06-07 09:58:00 UTC
Created attachment 215829 [details]
pdf file containing one arabic word. you can see the problem by copying the word and pasting in the search box.

Hi
when I use the search functionality in document viewer, it searches the letters as if they are written left to right. That is not a problem in english or any left to right language. However, this is a problem in right to left languages.
I used it particularly with arabic in pdf file using Ubuntu but I guess it is the same for any other right to left language in any OS.
In order for the program to detect a right to left word, the word needs to be written in reverse in the search box.
I will give an english example since the words are easier to understand by everyone but the problem actually only occurs with right to left languages.
if I want to search for the word 'hello', I need to type it in reverse as 'olleh' in the search box.
What is expected is that the search detects the word when written in normal order and not in reverse.

I have attached a pdf file with one arabic word :
مرحبا
If you search for the word it is not detected unless you write it in reverse as :
ابحرم

Thank you in advance
Comment 1 Germán Poo-Caamaño 2013-02-27 06:51:11 UTC
I can reproduce it with evince 3.7.90.
Comment 2 amirimobile 2014-09-14 09:42:24 UTC
Still an issue in version 3.12.2.
Can also be reproduced with Hebrew (no real surprise there).
Comment 3 GNOME Infrastructure Team 2018-05-22 14:38:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/285.