https://bugs.documentfoundation.org/show_bug.cgi?id=141391
László Németh <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Assignee|[email protected] |[email protected] | |desktop.org Status|ASSIGNED |RESOLVED --- Comment #6 from László Németh <[email protected]> --- The committed patch fixes the original problem for the typical UX regression: positioning text cursor not exactly at beginning of the cell content resulted not intended nested table insertion (which has also a printing problem, too). If it needs to solve the secondary problem, the printing difference at nesting extreme long table, I suggest to file that again. Commit description: tdf#141391 sw: don't paste as nested table in first cell paragraph Paste table content overwrote cells of the row(s) only if the text cursor was at the beginning of the table cell, otherwise the table cells on the clipboard were inserted as a nested table. This was a UX regression from commit 7600a2942ce2b9dac66836105bed6620d55abec2 "fdo#37156 insert table copy as nested table in non-starting cell position" especially when the user clicked not exactly at the beginning of a cell, which containing a 1-line text or data. Since commit 1e278d1d0cfb1d5375195aa764739f00633f21e8 "tdf#37156 Writer menu: Paste as Nested table" it's possible to force nesting (but not overwriting yet), this commit revert partially commit 7600a2942ce2b9dac66836105bed6620d55abec2: if the text cursor is there in the first paragraph of the cell, Paste table content overwrites the row, not embedding a nested table in the cell at the cursor position. This change results also better interoperability with the existing document editors. Note: table and text selection were checked with the change, too. Details: Heuristics to allow copying table rows or nesting tables without using Edit -> Paste Special -> Paste as Nested Table: At "table selection" (i.e. when cell(s) completely selected), or if the text selection starts in the first paragraph, or if there is no selection and the text cursor is there in the first paragraph, overwrite content of the cell(s). Otherwise insert a nested table, i.e. if nothing selected and the cursor is not in the first paragraph, or the selected text doesn't contain the first paragraph of the cell. -- You are receiving this mail because: You are the assignee for the bug.
