Ubuntu

Hyphenation doubles characters in Calc

Reported by Felix Möller on 2012-09-17
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice Productivity Suite
Fix Released
Medium
libreoffice (Ubuntu)
Medium
Unassigned

Bug Description

Hyphenation does not work correctly with words that contain a -. The letter in front of that is doubled.

Felix Möller (felix-derklecks) wrote :
Felix Möller (felix-derklecks) wrote :
Felix Möller (felix-derklecks) wrote :

I am using 3.6.1~rc2-1ubuntu5.

Felix Möller, thank you for reporting this and helping make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect BUGNUMBER
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

As well, could you please capture a recording of this problem via the package recordmydesktop?

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Felix Möller (felix-derklecks) wrote :

apport-collect 1051955 tells me there is nothing to collect.

I attach a video shortly. However, I think the screenshot shows the problem allready well.

Felix Möller (felix-derklecks) wrote :
Changed in libreoffice (Ubuntu):
status: Incomplete → New
description: updated
karl anliot (kanliot) wrote :

can't reproduce. also can't get the cell to wrap on the -
i turned on wrap text and hyphen support, can't get it to wrap like in the video

Robert Roth (evfool) on 2012-09-17
Changed in libreoffice (Ubuntu):
status: New → Confirmed
Robert Roth (evfool) wrote :

Marked as confirmed, as opening the attached ods file illustrates the problem: the cell contents editing textbox show IT-Consultant, while the cell content shows ITT-Consultant. (Using libreoffice Version 3.6.0.1 (Build ID: 360m1(Build:101)))

Felix Möller (felix-derklecks) wrote :

This bug is not present upstream. I just tested upstream Version 3.6.2.1 (Build ID: ba822cc).

The bug must be introduced by Ubuntu. It is in Ubuntu Version 3.6.2.2 (Build ID: 360m1(Build:2)) as well.

Calc doesn't handle all alternative hyphenation patterns of the recent hyphenation dictionaries. Catalan, Hungarian, maybe recent Dutch, Norwegian, Sweden.

Catalan „paral·lel” -> bad „parall=lel”, instead of „paral=lel”
Hungarian „asszonnyal” -> bad „az=szoy=nyal”, instead of „asz=szony=nyal”

This is the root of the following problem, too: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1051955 (depends from the version of the hyphenation patterns and LibreOffice).

IT-department -> ITT=department, instead of „IT=department”

Created attachment 78223
test file

Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=f1f7dfebb3d147471ed2aa6a5b50326688cb4007

fdo#63711 Calc: fix Catalan and Hungarian hyphenation

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Created attachment 78224
fixed hyphenation in Calc (screenshot)

Created attachment 78225
Test hyphenation patterns (replacement for the German hyph_de.dic)

Hyphenation pattern for the attached test file.

Testing: replace the hyph_de.dic hyphenation dictionary of an LibreOffice installation with this file.

Source of the file: hyphen-1.2.8/test/unicode.pat.

Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Fix Released

Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "libreoffice-4-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=377e95a33f77dcb7e76c4afc98f9d61465363d75&h=libreoffice-4-0

fdo#63711 Calc: fix Catalan and Hungarian hyphenation

It will be available in LibreOffice 4.0.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Hello Felix, or anyone else affected,

Accepted libreoffice into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/libreoffice/1:4.0.4-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed

Fixed in upstream 4.1.0, released with saucy.

Changed in libreoffice (Ubuntu):
status: Confirmed → Fix Released

Marking this as verification-failed as per upstream bug comment https://bugs.freedesktop.org/show_bug.cgi?id=71749#c8. This is not specific to this bugfix -- its the generic 4.0.2->4.0.4 update that is hit by this. So marking this as -failed to drop the SRU.

tags: added: verification-failed
removed: verification-needed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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