Bug 103560 - formula: vec or widevec does not work over nabla
Summary: formula: vec or widevec does not work over nabla
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 17:55 UTC by hardy
Modified: 2018-12-01 19:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
presentation with formula (20.44 KB, application/vnd.oasis.opendocument.presentation)
2016-10-28 17:55 UTC, hardy
Details
screenshot of formula in "Impress edit mode" (80.32 KB, image/png)
2016-10-31 19:41 UTC, hardy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hardy 2016-10-28 17:55:00 UTC
Created attachment 128328 [details]
presentation with formula

Here is how to reproduce this behavior:

* Create a new formula object in LibreOffice, e.g. in Impress.
* Put this string into the formula object: widevec nabla = vec nabla = vec a
* Watch the result.

With my LibreOffice (5.0.3.2 on Ubuntu Linux) the vector arrow over both nablas is not displayed at all. The arrow over a is fine. 

I will also attach a small odp file that shows the behavior for me.

(Sorry for not having a more recent LibreOffice release.)
Comment 1 MM 2016-10-28 18:58:37 UTC
The box seems a little too small for the two top arrows to appear, and there's no way to resize (hint..). To make it work, double click on the formula box. The formula should now apprear in math. Double click the box (in math) again and the box is now resized in impress, showing all the arrows.
Comment 2 hardy 2016-10-28 21:20:03 UTC
Sorry, but I cannot manage to anyhow resize the box such that the whole formula is visible, the top arrows are still clipped away. No double clicking in Impress or math does help here.

But I have just realized that in presentation mode, the formula is displayed fine, i.e. including those arrows. The problem seems to only be in the edit mode (or however this mode is called).
Comment 3 V Stuart Foote 2016-10-28 22:31:43 UTC
The summary is not correct, a Starmath vec or widevec "works" just fine composing formulas.

Rather, you can adjust the OLE formula in math from the Main menu Format -> Font Size. Also the formula can be repositioned (select and drag) in the OLE launched Math module.

To "refresh" the formula on the Presentation (or other module) canvas, while still open in the OLE Math session--use the Zoom bar on lower right.  The view formula will zoom in or out within the visible layout box on the Presentation canvas--and when you end the OLE session the formula should refresh and fit within the box on the Presentation canvas.

If that behaves for you please close as invalid--if still having resize issues on the Presentation canvas, provide more details (but change the summary to match the actual issue).
Comment 4 hardy 2016-10-31 19:41:10 UTC
Created attachment 128388 [details]
screenshot of formula in "Impress edit mode"

I have tried several more things:
* Opening the formula in the math module (by double clicking), and then zooming in and out makes the vector arrows appear in the math module. But once I leave the math module and return to impress, the arrows disappear again.
* Changing the font size for the math content (from inside the math module) does NOT help, the bouning box also resizes and the arrows are not displayed.
* Dragging the outside box from within the math module, does also not help. After returning to Impress the box is as small as before an the arrows are not displayed.

I have no objections to changing the bug report title to better account for the fact that this behavior is only present in the "edit mode" of impress, not in the "presentation mode". But I do not know how to do this title change, sorry. Feel free to do so yourself.

I will also attach a screenshot how this formula (of the attached odt file) looks like on my screen.

If you need more info and details, then please let me know in detail WHAT information you need.
Comment 5 Buovjaga 2016-11-16 10:58:40 UTC
I can't repro in 5.2 or 5.3.

hardy: please test with 5.2 and/or a fresh build of 5.3.
For 5.3: http://dev-builds.libreoffice.org/daily/master/?C=M;O=A
https://wiki.documentfoundation.org/Installing_in_parallel/Linux

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Win 7 Pro 64-bit, Version: 5.2.3.3 (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: CL

Version: 5.3.0.0.alpha1+
Build ID: c5f5b3e5334c52502c1de28828a44ad469c68850
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-11-14_06:24:21
Locale: fi-FI (fi_FI); Calc: group
Comment 6 QA Administrators 2017-05-31 10:51:09 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-06-28 12:34:16 UTC Comment hidden (obsolete)
Comment 8 hardy 2018-12-01 19:25:53 UTC
This now works fine for me, using a newer version of LibreOffice (6.0.6.2 under Linux).