Bug 144519 - EDITING: writer: deleting a formula leaves the cursor at the wrong place
Summary: EDITING: writer: deleting a formula leaves the cursor at the wrong place
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Formula
  Show dependency treegraph
Reported: 2021-09-15 15:51 UTC by palmierivinc.ent
Modified: 2021-09-30 06:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description palmierivinc.ent 2021-09-15 15:51:15 UTC
With Writer, after i deleted an in-text formula, the cursor is placed one caracter at the right of the expected position.

It might to be seen as a bug, but it also happens when i want to replace a formula by another one: assuming that the new formula is in the paperboard, if i select the old one and paste the new one, it replaces the old formula as expected, but its position in the text is no longer correct. This implies an additional operation, hence a loss of productivity.

Steps to Reproduce:
1. Fill a line with the text "1234567890",
2. Put the text cursor between "1" and "2",
3. Insert a formula with Insert > Object > Formula,
4. Get out of the formula editor with ESC,
4. Delete this formula with DEL.

Actual Results:
The cursor is between "2" and "3".

Expected Results:
The cursor is between "1" and "2".

Reproducible: Always

User Profile Reset: No

Additional Info:
This comportment was already present with LO 6.4.6.
Comment 1 Dieter 2021-09-30 06:55:13 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL