https://bugs.documentfoundation.org/show_bug.cgi?id=156492

            Bug ID: 156492
           Summary: Alt+Enter in last cell in a table doesn't add
                    paragraph below the table.
           Product: LibreOffice
           Version: 7.4.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 188592
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188592&action=edit
writer document with three tables, of which middle one shows the problem.

The Alt+Enter combination pressed when cursor is at the end of a text in a
right-bottom cell of a table is expected to add a paragraph below table.

This functionality is essential when there are two tables one after another,
there is a heading below a table and etc. In all those cases adding a paragraph
is critical.

There is however one case I know about in which it doesn't work.

Steps to reproduce:

Correct behavior:
1. Create a table 2x2.
2. Click in right-bottom cell.
3. Press Alt+Enter.
4. Observe that an empty paragraph is added.

Correct behavior:
1. Create a table 2x2.
2. Merge all cells in left most column into one cell.
3. Click in right-bottom cell.
4. Press Alt+Enter.
5. Observe that an empty paragraph is added.

Incorrect behavior:
1. Create a table 2x2.
2. Merge all cells in **right most** column into one cell.
3. Click in right-bottom cell (which is in fact the only cell in this column
now after merging)
4. Press Alt+Enter.
5. Observe that an empty paragraph is NOT added.

User level work-around:
1.Click on the right-bottom cell.
2.Right-click and insert a row below.
3.Now You can use Alt-Enter there.
4.Delete inserted row.

Code problems suggestion:
When I click around at cells I can see in the status bar the cell coordinate
like: "Table... B1" and "Table...B2".

In all cases when it works, I see "B2" what in this case represents
right-bottom coordinate of 2x2 table.

In case however of merged cell the coordinate reports **left-top** corner of
that merged cell, that is "Table B1". 

The code which recognizes the Alt+Enter should not base on cell coordinate
only, but on cell bottom-right boundary.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to