Bug 71252 - Other: the arrow of vector doesn't appear only in draw application
Summary: Other: the arrow of vector doesn't appear only in draw application
Status: RESOLVED DUPLICATE of bug 62355
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 10:17 UTC by lucien
Modified: 2014-03-01 14:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Formula (ODF/ODTs) and screenshots of display under v3304 and v4132. (67.90 KB, application/zip)
2013-12-09 07:42 UTC, Owen Genat (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucien 2013-11-05 10:17:02 UTC
Problem description: 
when i insert a formula the arrow of the vector doesn't appear

only in draw component with writer all works find.
Operating System: Ubuntu
Version: 4.0.2.2 release
Comment 1 Owen Genat (retired) 2013-12-09 07:42:28 UTC
Created attachment 90494 [details]
Formula (ODF/ODTs) and screenshots of display under v3304 and v4132.

It is possible this bug relates to the arrow glyphs being cropped by the formula frame, as this behaviour appears to have changed in the v4.0 series. The position of the vector arrow is dependent on the underlying characters, thus an arrow over "a" will be set lower than an arrow over "A" or "f". I used this formula for testing:

vec a vec f vec A widevec {ace} widevec {bfh} widevec {ACE}

I created a formula (ODF) in Math v3.3.0.4 and a Writer v3.3.0.4 document (ODT) with the same formula as an embedded object. I then opened these two documents under Ubuntu 10.04 x86_64 running:

- v3.3.0.4 OOO330m19 Build: 6
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

In all v3.x the arrows display as expected. In both listed v4.x the arrows initially display as expected when opening the ODT created in v3304, but after editing (entering the embedded object and exiting) the frame appears reduced in size. For new files / formulas in the listed v4.x the frames are initially reduced to such an extent that the arrows over the taller characters are cropped. This seems permanent once a ODT is edited and saved under v4.x. The code in Object\ 1/settings.xml in the three included ODTs reveals:

v3.3.0.4:
> <config:config-item config:name="ViewAreaWidth" config:type="long">3282</config:config-item>
> <config:config-item config:name="ViewAreaHeight" config:type="long">533</config:config-item>

v4.0.6.2:
> <config:config-item config:name="" config:type="long">3297</config:config-item>
> <config:config-item config:name="ViewAreaHeight" config:type="long">468</config:config-item>

v4.1.3.2:
> <config:config-item config:name="ViewAreaWidth" config:type="long">3297</config:config-item>
> <config:config-item config:name="ViewAreaHeight" config:type="long">468</config:config-item>

The problem with the missing ViewAreaWidth name label (for v4.0) is described in bug 66047. The reduced ViewAreaHeight would seem to be at least the cause of what I am seeing. It would be good if the reporter could confirm if this is what is being seen.
Comment 2 Owen Genat (retired) 2013-12-09 07:43:46 UTC
As a result of comment #1, status set to NEEDINFO.
Comment 3 errtee 2014-01-06 19:40:22 UTC
Faced the same problem after upgrading my home system (gentoo linux) to gnome3 three weeks ago (including libreoffice version: 4.1.4.2).

The first thing I did at my office system (at work - also gentoo linux - but the 64bit version, still running gnome 2.x) was upgrading to libreoffice version: 4.1.4.2 - result: no problems with arrows in formulas, no matter if one writes them in writer, draw, presentation or what ever.

Conclusion: this is ***not*** a libreoffice problem. It must have something to do with the upgrade to gnome3. Going to upgrade my system (at work) to gnome3 during the next days and see what happens there.
Comment 4 errtee 2014-01-06 19:58:01 UTC
Forgot to mention: workaraound for now is: enclose the formulas with {<your formula}^{}
Comment 5 errtee 2014-01-22 05:59:27 UTC
Sorry, have to backpedal:
installed debian (Wheezy) providing good old LibreOffice 3.5.4.2 
Build ID: 350m1(Build:2): no problems with the vector arrows
then installed libreoffice Version: 4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72

et voilà there it is, the above mentioned misbehaviour
Comment 6 Jean-Baptiste Faure 2014-03-01 14:26:06 UTC
Probably a duplicate of bug 62355.

Please feel free to reopen if I am wrong. In such a case, don't forget to attach a screen copy of what you see on your screen.

Best regards. JBF

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