Bug 81810 - Forward delete (Del) at the end of a Writer page behaves incorrectly when the start of the following page is a table
Summary: Forward delete (Del) at the end of a Writer page behaves incorrectly when the...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: Other All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables Writer-Page-Break
  Show dependency treegraph
 
Reported: 2014-07-27 14:43 UTC by Matthew Francis
Modified: 2019-02-06 16:15 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 Matthew Francis 2014-07-27 14:43:41 UTC
A forward delete (Del) at the very end of a page should always delete the following page break, but this does not occur when the following page begins with a table.

Steps to reproduce
1. Create a Writer document with the text "a<newline>" on the first page, and a table at the very start of the second page (with no blank paragraph before it)
2. Position the cursor on the newline at the end of the first page
3. Forward delete (Del)

Result
The newline on the first page is deleted as though a backward delete (Backspace) had been performed. The page break is not deleted


The forward delete (Del) should delete the following page break, rather than behave as backward delete (Backspace) and delete the newline at the end of the first page. If the second page begins with text, rather than a table, the page break is deleted as expected

If there is no newline on the first page, the forward delete doesn't delete anything, but moves the cursor forward into the table in the following page
Comment 1 Algot Runeman 2014-07-27 17:05:44 UTC
Test Setup:
Kubuntu 4.13.2
LibreOffice 4.2.4.2

The behavior occurs as described on my setup and is consistent.

Thank you for reporting the issue.
Comment 2 Matthew Francis 2014-07-30 14:17:19 UTC
Issue is still present in 4.3.0.4 release
Comment 3 QA Administrators 2015-09-04 02:48:53 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2016-09-20 10:28:30 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2019-02-06 16:15:15 UTC
still repro in

Version: 6.1.4.2
Build ID: 1:6.1.4-0ubuntu0.18.10.1
CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: ru-RU (ru_RU.UTF-8); Calc: group threaded