Bug 162947 - Element is incorrectly inserted at the beginning in formula editor.
Summary: Element is incorrectly inserted at the beginning in formula editor.
Status: RESOLVED DUPLICATE of bug 160226
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: x86-64 (AMD64) FreeBSD
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-13 11:07 UTC by Taka
Modified: 2024-09-14 11:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taka 2024-09-13 11:07:52 UTC
Description:
When we insert some element in formula editor, it is always inserted at the beginning, regardless of the position of the caret.


Steps to Reproduce:
1. Open a new document of Math or Impress.
2. Open the formula editor.
3. Type some formulas and then insert some elements.

Actual Results:
The element is inserted at the beginning.

Expected Results:
The element should be inserted at the caret position. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: FreeBSD 14.1; UI render: default; VCL: qt5 (cairo+xcb)
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2024-09-13 13:16:03 UTC
switch from Visual edit mode

Tools -> Options -> LibreOffice Math -> Settings 'Miscellaneous Options' and uncheck 'Enable visual editing', OK out and restart LibreOffice.

And visual mode has been removed as default at 24.8.1 release, and patched should there be a 24.2.7 final release.

*** This bug has been marked as a duplicate of bug 160226 ***
Comment 2 Taka 2024-09-14 05:15:48 UTC
Thanks. I did.
However, I don't understand why "Tools -> Options -> LibreOffice Math" exists only in the LibreOffice Math application. It is not present in the Impress, despite it is indispensable.
Comment 3 V Stuart Foote 2024-09-14 11:23:02 UTC
(In reply to Taka from comment #2)
> Thanks. I did.
> However, I don't understand why "Tools -> Options -> LibreOffice Math"
> exists only in the LibreOffice Math application. It is not present in the
> Impress, despite it is indispensable.

Just the way the modules were organized back in StarOffice era. That is, any sm formula manipulation is done as OLE and so will call the sm module. But configurations unique to a module are placed into that module's specific configuration panel only. Configuration only available when the module is active.
 
It is the same for the other LibreOffice modules when OLE of their product is accessed. E.g. insert a ODF spreadsheet as OLE into a Draw or Impress canvas and check the Options menu while the inserted object is active. Or insert an ODF drawing into a Writer document.