Bug 162390 - Formula elements inserted from tool pallet get inserted at start of formula instead of cursor location.
Summary: Formula elements inserted from tool pallet get inserted at start of formula i...
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) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-07 19:08 UTC by Dave Cigna
Modified: 2024-08-18 22:24 UTC (History)
2 users (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 Dave Cigna 2024-08-07 19:08:06 UTC
Description:
When editing formula objects in any of Writer, Calc, or Math, if I attempt to insert a formula element from a tool pallet (for example brackets or an integral symbol) the element does not get inserted at the cursor position. Instead, it gets inserted at the beginning of the formula and a shitload of curly braces gets added all over the existing formula.

It results in a mess. 

Steps to Reproduce:
1.Open the formula editor in any LibreOffice application.
2.Create a formula: B = 1 over {4 %pi %epsilon_0}
3.With the cursor at the end of the line of text, insert an integral symbol from the Operators tool pallet.

Actual Results:
{ int to { <?> } from { <?> } <?> { B = { 1 over { 4 %pi %epsilon _ 0 } } } }

Expected Results:
B = 1 over { 4 %pi %epsilon _ 0 }  int to { <?> } from { <?> } <?> {}


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.4-0ubuntu0.24.04.2
Calc: threaded
Comment 1 V Stuart Foote 2024-08-08 00:04:22 UTC
switch from Visual edit mode

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

*** This bug has been marked as a duplicate of bug 159600 ***
Comment 2 Dave Cigna 2024-08-08 00:08:40 UTC
Thank you, Stuart.
Comment 3 V Stuart Foote 2024-08-08 00:09:35 UTC
Sorry, let's dupe that to bug 160226 instead...
Comment 4 V Stuart Foote 2024-08-08 00:09:49 UTC

*** This bug has been marked as a duplicate of bug 160226 ***
Comment 5 Regina Henschel 2024-08-18 22:24:33 UTC
*** Bug 162515 has been marked as a duplicate of this bug. ***