Error in selection (during adding annotation) of Arabic text that came after (from R to L) "؟"

Open
#348 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
desktop

Research direction

Reproduce the selection problem in Xreader 2.4.2 with the attached test.pdf, on page 9 and the third line of the first paragraph. Start by testing right-to-left selection around the Arabic question mark with several drag lengths. Done means the selection consistently covers the text under the cursor without escaping or selecting the wrong range.

Written by the indexing model from the issue text.

Description

BUG
 * Xreader version (2.4.2)
 * Distribution - (Fedora 30)

Issue
This is difficult to explain because text in Arabic & you do not understand Arabic, but I will tried my best.

Steps to reproduce

  1. open attached PDF on page 9 (nine).
  2. deal with 1st paragraph at top of page nine. This paragraph composed from 4 lines. The 3rd line (counting from above downward) contain "؟"
  3. please try to add annotation moving the mouse pointer (courser) from right to left after starting to the left of "؟"
    You should try multiple times each for different length, & you will see what I mean.

Expected behaviour
There should be no such mistakes. I mean user should be able to select what she/he move the courser over it (not to escape from it).
test.pdf

Other information

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/xreader

All issues in linuxmint/xreader

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.