Bug 146451 - Textbox doesn't move up from second line to the first (but gets deleted), if pressing backspace and the first line being empty
Summary: Textbox doesn't move up from second line to the first (but gets deleted), if ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
Depends on:
Blocks: Anchor-and-Text-Wrap Textbox
  Show dependency treegraph
 
Reported: 2021-12-28 12:24 UTC by Telesto
Modified: 2023-07-19 20:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.14 KB, application/vnd.oasis.opendocument.text)
2021-12-28 12:24 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-12-28 12:24:37 UTC
Description:
Textbox doesn't move up from second line to the first (but gets deleted), if pressing backspace and the first line being empty

Steps to Reproduce:
1. Open Writer
2. insert a textbox and add some text into it
3. Place the cursor outside the textbox
4. Press Enter
5. Press backspace (textbox gone, expected move up)
6. CTRL+Z
7. Add a character on first paragraph/line
8. Go back to second paragraph
9. Press backspace (now it's as expected)

Actual Results:
Textbox deleted

Expected Results:
Textbox moves up a line


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c95415de877af1430ab5b7123e11dedd0ea622c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-12-28 12:24:54 UTC
Created attachment 177173 [details]
Example file
Comment 2 Telesto 2021-12-28 12:31:21 UTC
Also in
4.4.7.2

fine in
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

I likely reported this before, but me and search..
Comment 3 Dieter 2022-01-13 06:38:16 UTC
I confirm it with

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Problem only occurs, if you try to delete first aragraph of a document. That's not possible AFAIK. Current solution of LO: Delete second paragraph (with anchor inside).

Expected result:
Anchor should jump to first paragraph

The whole topic is discussed in bug 132279 (and you're right, it is one of your bugs). So I propose to treat this a duplicate.

*** This bug has been marked as a duplicate of bug 132279 ***