DesktopEditors
DesktopEditors copied to clipboard
Auto-correction does not properly insert non-breaking spaces inside French quotes
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my bug.
Operating System
Linux (RPM package)
Version information
7.1.0.215
Expected Behavior
In the French version, when typing «
followed by some characters, or »
preceded by some characters, a non-breaking space should be automatically added, similar to how "
is correctly replaced by the French quotes and non-breaking spaces.
Actual Behavior
No automatic correction is made.
Reproduction Steps
- Set interface to French
- Type
«
followed by some text - No non-breaking space is added after the
«
- Type some text, followed by
»
- No non-breaking space is added before the
»
Additional information
Expands on #406
Hello, @Silejonu. I didn't reproduce your problem. I used Desktop Editors version 7.1.0.215 on Windows 11. Could you describe how you enter quotes (with which key)?
@Rita-Bubnova I enter the quotes with the «
and »
keys present on the bépo layout. Not with the "
key.
I just tested on a Windows 10 machine with the latest ONLYOFFICE version available, and the same issue occurs.
I installed the bépo layout and repeated the problem with it. But the same behavior in MS Word with this layout. Unfortunately, I don't know French and I don't know why non-printable characters depend on the layout. If you use the French (France) layout, then non-breaking spaces are added.
If you use the French (France) layout, then non-breaking spaces are added.
Do you mean French AZERTY? If so, it doesn't have «
and »
keys.
I tried with the newest AZERTY following the AFNOR norm (not yet integrated into Windows, downloadable on this repo), which has both keys, with the exact same behaviour as in bépo.
But the same behavior in MS Word with this layout.
I don't have MS Word to test this on, but I tried on LibreOffice as well as Google Docs, which both behave the same (no non-breaking space gets inserted).
I could swear LibreOffice inserted non-breaking spaces automatically, but this seems to be the case of me misremembering things. At this point, I don't know whether this behaviour should be changed or not. On one hand, «
and »
should always be followed/precede by non-breaking spaces in French typography; on the other hand, if all the other text editors have kept the same behaviour, it may be for a reason. I fail to see the reasoning, but maybe there is one.
Hi @Silejonu! I checked the behavior of the new keyboard (as you indicated above) on four editors:
- ONLYOFFICE Desktop Editor 7.1.0.215
- Microsoft 365 (desktop)
- MS Office 2013
- Libre Office 7.2.7.2.
My OS: Windows 10 Pro 21H2 x64
On all editors, the behavior is the same with the specified keyboard and the non-breaking space is not added automatically. I will note your appeal in a similar issue 45791 of our private tracker. Maybe this will be resolved in the future. Thank you for contacting us.