DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

In RTL text, the caret appears to the left of period (.) and comma (,) characters at the end of words when it should appear to their right

Open WiseFerret opened this issue 1 year ago • 2 comments

This issue is unique.

  • [x] I have used the search tool and did not find an issue describing my bug.

Operating System

Linux (DEB package)

Version information

9.0.0.0-172

Expected Behavior

In RTL text, when I move the caret (with the arrow keys or with the mouse) directly to the right hand side of a period or a comma at the end of a word, the cursor should appear at the right hand side of that period or comma.

Actual Behavior

In RTL text, the cursor always appears at the left hand side of the period or the comma at the end of a word, no matter if it is really to its right or to its left. This is confusing when editing RTL text, because you cannot tell where the caret is and what is going to happen when you type next

Reproduction Steps

  1. Type RTL text in an RTL language which includes commas and/or periods at the end of words.. Example: אני חושב, משמע אני קיים.
  2. ‎Try to put the caret directly to the right of the comma or period (i.e., between the period/comma and the word).

Additional information

This may happen because OnlyOffice is not smart enough to understand that here the period or comma are not decimal point signs. It should be smarter, and understand when periods and commas should be treated as numerals and when they should be treated as letters.

WiseFerret avatar Jun 24 '25 00:06 WiseFerret

This happens also with the : sign, which is also erranously interpreted as a mathematical sign by OnlyOffice.

WiseFerret avatar Jul 09 '25 21:07 WiseFerret

Hello @WiseFerret ! Thank you for report! This is a known bug 74499. Problem reproduces in Document Server.

ElenaMaaya avatar Jul 12 '25 09:07 ElenaMaaya