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

            Bug ID: 99663
           Summary: TABLE FORMATTING: Copy table cells into text produces
                    new table with too-wide width
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jim.av...@gmail.com

Created attachment 124829
  --> https://bugs.documentfoundation.org/attachment.cgi?id=124829&action=edit
test.odt - example tables

If some cells (one vertically over another) are selected and copied, and then
pasted into text somewhere, a new table is created containing the copied cells.

However, the width of the new table seems to always be the width of the *entire
tabl* from which the cells were copied, not the width of the group of cells
actually copied and pasted.  This produces some strange results which are
probably not intended.

Here's a suggestion: Make the new table have a width equal to the width of the
copied cells only; or alternatively, the width of the text object into which
the cells are pasted -- which, in the case of pasting into another cell, would
be the width of the receiving cell.  OTOH, auto-adjusting column widths could
make this complicated.   But pasting a table which is so wide that it hangs
over the right margin can't be right.

A secondary problem is that text inside the copied cells is unpredictably lost
or truncated when pasting into another cell (see screenshot).

STEPS TO REPRODUCE:

1. Load the attached test.odt
2. Select the two yellow cells at once; control-C to copy
3. Click once in the bottom cell; control-V to paste
4. Clice once in the "regular text not in a table" and Control-V.
5-8: Repeat 2-4 but with the blue table, which is narrower.

RESULTS: The pasted cells produce a new table which is the same width as the
entire table from which the cells were copied (see screen shot).

EXPECTED RESULTS: The new table should be only as wide as the cells copied, or
as wide as the object containing the text area being pasted into (for example,
as wide as the receiving cell when pasting into text inside a cell).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to