Autocorrect for non breaking spaces before question mark not applied to fr-CA

Bug #778667 reported by Benoit St-André
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: libreoffice

In LibreOffice on Natty 11.04, non breaking spaces before punctuation mark are not applied in fr-CA locale.

When I check in Format -> Autocorrect -> AutoCorrect options, there is a localized option tab with "Add non breaking spaces before specific punctuation marks in french text". Thing is, it does not apply on question marks, it evens remove any space between a word and the question mark automatically (which is the English language use of this rule).

I think it's because there is no existing autocorrect.dat for fr-CA in /usr/lib/libreoffice/basis3.3/share/autocorr/ (there is only a acor_fr-FR.dat). Nevertheless, other rules seem to apply (like replacing " " quotes for « » which works in French (Canada)).

It seems really to be a problem with the CA part, because if I turn the entire document in French (France) (fr-FR), then the autocorrect rule applies for question marks and works fine.

To be sure, I also tested with a brand new guest session on my machine so that no .libreoffice of mine would be on the way, and I get the exact same behaviour.

I can do more testing if needed.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice 1:3.3.2-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri May 6 14:05:39 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANGUAGE=fr:en
 LANG=fr_CA.UTF-8
 LC_MESSAGES=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to natty on 2011-05-03 (2 days ago)

Revision history for this message
Benoit St-André (benoit-st-andre) wrote :
Revision history for this message
Benoit St-André (benoit-st-andre) wrote :

Screenshot of the Autocorrect dialog, might help.

tags: added: lo33
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I was able to reproduce this using this command:
LANG=fr_CA.utf8 lowriter

Try typing "Pardon ?", the space is always removed.

Typing the same after invoking LibO using the fr_FR locale works as expected:
LANG=fr_FR.utf8 lowriter

As a workaround, LibreOffice can be invoked in the fr_FR locale as shown, or you can login using that locale (at the login screen).

Changed in libreoffice (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

To find out your current locale, from command line:
echo $LANG

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Thank you for reporting this bug to Ubuntu. This Ubuntu release has reached EOL for Desktops.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test. If the bug is still reproducible, please note that and set the status back to Confirmed.

Do feel free to report any other bugs you may find.

Changed in libreoffice (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libreoffice (Ubuntu) because there has been no activity for 60 days.]

Changed in libreoffice (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.