Bug 156380

Summary: Wrong selection area by text-editor-like selection tool in RTL texts
Product: [Applications] okular Reporter: Emil Sedgh <emilsedgh>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: elcuco, jordonwii, kde-2011.08, sh.yaron
Priority: NOR Keywords: rtl
Version: 0.13.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on: 128609    
Bug Blocks:    
Attachments: Describing the bug

Description Emil Sedgh 2008-01-22 13:51:00 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Text-editor-like selection tool selects wrong text in RTL texts.I will attach an image to describe.
Comment 1 Emil Sedgh 2008-01-22 13:58:18 UTC
Created attachment 23198 [details]
Describing the bug

The red circle #1 shows the starting point of the selection and #2 is the
ending point.The red line is the area that should be selected.
Comment 2 Diego Iastrubni 2008-01-25 17:13:23 UTC
I am not sure this will be possible to fix this bug, as PDF and PS contain Arabic and Hebrew in visual mode.
Comment 3 Diego Iastrubni 2008-08-13 09:45:01 UTC

*** This bug has been marked as a duplicate of 128609 ***
Comment 4 Pino Toscano 2008-08-18 20:48:09 UTC
Diego, this is bug is different, as it involves also the direction of the text highlight tool; this is why I'm reopening it.
Although, this is related to that, and most probably it depends on the resolution of that one, thus that's why I'm adding #128609 as dependency.
Comment 5 Pino Toscano 2009-07-13 12:07:59 UTC
*** Bug 200005 has been marked as a duplicate of this bug. ***
Comment 6 Dotan Cohen 2009-09-18 02:36:16 UTC
Confirmed in KDE 4.3.1
Comment 7 jordonwii 2011-12-20 02:31:32 UTC
This appears to be a duplicate of bug 165001 , which has been fixed already.
Comment 8 jordonwii 2011-12-20 03:34:38 UTC
Correction: The above bug is for Kwrite and not Okular. Sorry. I am, however, able to reproduce on KDE 4.7.3.
Comment 9 Myriam Schweingruber 2011-12-23 11:26:10 UTC
Thank you for triaging.
Comment 10 Justin Zobel 2021-03-09 23:59:31 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 11 Yaron Shahrabani 2022-10-03 06:50:10 UTC
I'm still running into this issue with Okular 22.08.0 on Manjaro KDE 22.0.0.
Comment 12 Yaron Shahrabani 2022-10-09 06:36:45 UTC
Mozilla's PDF.js managed to handle it somehow, I remember there are some issues with printing but not with screen display and search.