Bug 51953 - Non-breaking space disappears if a punctuation mark is directly followed by a bracket
Summary: Non-breaking space disappears if a punctuation mark is directly followed by a...
Status: RESOLVED DUPLICATE of bug 57981
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
3.5.6.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 15:56 UTC by darkdadaah
Modified: 2013-12-08 23:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darkdadaah 2012-07-10 15:56:04 UTC
In languages like French Libreoffice correctly inputs a non-breaking space in front of some punctuation marks (? ! ; :). However, if this mark is followed by a character that is not a space nor a punctuation mark, the non-breaking space disappears. This happens in Writer as well as Calc.

Steps to reproduce :
* In a French text, write « (d'où? ». Libreoffice automatically adds a non-breaking space so that we get « (d'où ? ».
* Add a closing parenthesis to write « (d'où ?) » and the space disappears; we get « (d'où?) ».

Notes :
* The non-breaking space remains if it is written manually afterwards
* The effect is the same if several punctuation marks (that require a space) are repeted : « (d'où?!?) »
Comment 1 Milan Bouchet-Valat 2012-09-09 10:22:44 UTC
Confirmed with LO 3.5.6.2 on Fedora 17. This is an old behaviour.

It's particularly annoying with percent signs, because they are often between brackets (like 10%). In that case, you need to re-add the non-break space by hand, which is fastidious...
Comment 2 bfoman (inactive) 2013-01-28 12:35:07 UTC
Confirmed with:
LO 4.0.0.2
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit
Comment 3 Brenda Granados 2013-01-28 18:17:30 UTC
Confirmed with LO 3.6.0.2 (Build ID: 360m1(Build:102))
using Writer on Ubuntu 12.0.4, 64 bit
Comment 4 libreoffice 2013-12-08 23:20:58 UTC
Confirmed and still annoying in LibreOffice 4.1.3.2, Debian GNU/Linux jessie.


CTRL+Z permit to cancel the last action that suppress the non breaking space but it is not a satisfying behavior.

JP
Comment 5 libreoffice 2013-12-08 23:25:24 UTC

*** This bug has been marked as a duplicate of bug 57981 ***