[Upstream] Writer Formula horizontal Spacing not honored

Bug #778979 reported by Darius Kulikauskas on 2011-05-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Low
libreoffice (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: libreoffice

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386
Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/778979/+attachment/2119391/+files/test.odt && lowriter -nologo test.odt

double click third icon down (theta with a superscript) -> click Format -> Spacing... -> change the Spacing combo box to 200% -> OK button and the spacing between the theta and the superscript should change.

4) What happens instead is it does not budge.

WORKAROUND: Add a space in the formula.

%itheta^{{" "}a}

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice-core 1:3.3.2-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat May 7 13:40:08 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: libreoffice
UpgradeStatus: Upgraded to natty on 2011-04-28 (8 days ago)

By the way, I am talking about mathematical formula tool in LibreOffice Writer.

Darius Kulikauskas, thank you for reporting this bug and helping make Ubuntu better. One is able to edit the spacing of the border and index respectively via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/778979/+attachment/2118088/+files/test.odt && lowriter -nologo test.odt

Double click first icon -> click Format -> Spacing... -> change Category drop down to Border -> change Top combo box to 1.00mm -> OK button

Double click third icon -> click Format -> Spacing... -> change Category drop down to Indexes -> change Spacing combo box to 50% -> OK button

Does that work for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386
Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: New → Incomplete

Thank you for the answer and useful tips. The solution works perfectly for circumflex, but the symbols in power still look awkward as they are only shifted in height but not in width. I've attached a screenshot of what the suggested settings helped me achieve with the test ODT file.

Is the settings causing circumflex invisible specific to my system or is it a default behavior? If it is default, I guess it should be altered so an average user would not have issues with iGreek symbols.

Symbols in power, in my opinion, still need some positioning fixing as they look awkward (and still even touches their base).

I also add the ODT file with altered settings.

Darius Kulikauskas, regarding the third icon down in test.odt, what is supposed to control the horizontal spacing between itheta and the superscript "a" is double click first icon -> click Format -> Spacing... -> change the Spacing combo box to 200% -> OK button. However, notice the two icons do not move apart at all from one another. Confirming this as a bug.

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386
Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: Incomplete → Confirmed

Created attachment 46484
test.odt

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/778979

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386
Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/778979/+attachment/2119391/+files/test.odt && lowriter -nologo test.odt

double click third icon down (theta with a superscript) -> click Format -> Spacing... -> change the Spacing combo box to 200% -> OK button and the spacing between the theta and the superscript should change.

4) What happens instead is it does not budge.

WORKAROUND: Add a space in the formula.

%itheta^{{" "}a}

description: updated
tags: added: lo33
summary: - Italic Greek letters have problems being rendered with elements in power
- and circumflex
+ Writer Formula horizontal Spacing not honored
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in df-libreoffice:
importance: Unknown → Low
status: Unknown → Confirmed
summary: - Writer Formula horizontal Spacing not honored
+ [Upstream] Writer Formula horizontal Spacing not honored

same in OOo3.4beta

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete

Reproducible in:
LOdev 3.5.0beta2
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Microsoft Windows Vista Business 6.0.6002 Service Pack 2 Build 6002

Changed in df-libreoffice:
status: Incomplete → Confirmed

This bug has not seen an update in a while. Re-confirming that this issue still exists under GNU/Linux with TDF/LO v4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539) using either the test document from the description or a newly created document.

Created attachment 95876
Screenshot in v4.1.4.2 showing correct (expected) rendering.

This bug now appears to be fixed. Under Debian 7 / Crunchbang 11 (both x86_64) using:

- v4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72
- v4.2.0.4 Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

... I see the formulas as in the attached (v4.2.0.4 renders the same a v4.1.4.2). This seems to correct the problem noted in the screenshot in the Launchpad bug (i.e., cropping and misplacement of the superscripts and diacritics):

https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/778979/+attachment/2118091/+files/Screenshot.png

Can someone please test the originally provided example using a more recent build? Thanks.

Summary edited for clarity.

Created attachment 95877
Original Launchpad testcase.

(In reply to comment #5)
> Created attachment 95876 [details]
> Screenshot in v4.1.4.2 showing correct (expected) rendering.
>
> This bug now appears to be fixed.

Please disregard my entire comment #5. It appears the original post in the freedesktop bugzilla has the edited (fixed) testcase attached and not the original (problematic) testcase. Creating the example formulas in a new document, exhibits the same issue i.e., diacritics above Greek characters being cropped, and superscript against Greek characters being misplaced. Similarly, opening the original Launchpad testcase in v4.1.4.2 and v4.2.0.4 still shows the problem.

I am attaching the original Launchpad testcase (and obsoleting the original freedesktop attachment) for clarity.

*** Bug 45461 has been marked as a duplicate of this bug. ***

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.