ONLYOFFICE / appimage-desktopeditors

Portable version of ONLYOFFICE Desktop Editors
https://www.onlyoffice.com/apps.aspx
GNU Affero General Public License v3.0
56 stars 9 forks source link

Entering non-breaking space followed by some punctuation marks crashes the document when interface is in French #37

Closed Silejonu closed 2 years ago

Silejonu commented 2 years ago

ONLYOFFICE version 7.0.1.37 (bug present on the Flatpak version as well)

Steps to reproduce to encounter the bug:

  1. Set interface to French
  2. Open a new document
  3. Type a non-breaking space ( )
  4. Type a punctuation mark among ?, !, : and ;
  5. The document crashes

Additional context:

In French, a non-breaking space must be place before ?, !, : and ;.

When typing a non-breaking space, ONLYOFFICE actually prints a regular space followed by a non-breaking space.

When typing a punctuation mark that needs to be preceded by a non-breaking space, ONLYOFFICE replaces the space before the character by a non-breaking one. When it is preceded by a space + a non-breaking space, it crashes the document. If one types a non-breaking space, deletes the preceding regular space, then proceeds to type one of the problematic characters, the document will not crash.

Silejonu commented 2 years ago

Fixed in 7.1.0.215.