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: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.6.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Object
  Show dependency treegraph
 
Reported: 2021-09-15 15:51 UTC by palmierivinc.ent
Modified: 2023-10-07 18:29 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 palmierivinc.ent 2021-09-15 15:51:15 UTC
Description:
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: 7.2.1.2 (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
Comment 2 Sophie Sipasseuth 2023-09-19 12:32:42 UTC
The bug seems to be resolved in the last version of LibreOffice:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: df3b95a39472e18ea8acdaae447b7176e37a9256
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 3 Buovjaga 2023-10-07 18:29:50 UTC
Indeed, repro in 7.1, but not with master.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b693d19884a09b5f841b30f2e8b586778584ed16
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 6 October 2023