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

--- Comment #29 from Christian Lehmann <christianw_lehm...@arcor.de> ---
I hereby file a proposal to UX for the revision of a design decision which
apparently dates back to the times of OO. If I am not entitled to file such a
proposal, I ask someone entitled to file it, or an improved version of it.

Preconditions:
A Writer document contains 
    1. a paragraph formatted with a custom style defined by the user, for
instance with indentation of the first line or as a numbered list item
    2. and a table whose cells are formatted with
        a. the predefined style Table Contents or a predefined Heading style
        b. the predefined Numbered List style (F12) or any user-defined
paragraph or list style.

Action:
User copies a substring properly included in paragraph #1 and pastes it into an
empty cell of table #2.

Current behavior:
The target table cell assumes the attributes of paragraph #1, specifically
in case 2.a: instead of the style pre-applied to the table cell
in case 2.b: in addition to the properties the table cell already had.

Desired behavior:
The target table cell keeps the style it had intact; i.o.w., the copy operation
leaves the paragraph style attributes of the source behind.

Arguments:
1) The current behavior is inconsistent in the following respects:
a) Attributes of a custom-styled paragraph or list are transferred on copy and
paste. Attributes of a predefined paragraph or list style are not so preserved.
b) Attributes of one subset of sources replace the target properties, but
attributes of another subset of sources are added to the target properties.
c) Paragraph properties stemming from the source are pasted into the target
cell if this is empty. They are ignored if the cell has any content.

There is no basis on which the user could expect this behavior.

2) The current behavior is a hindrance to the editing of a document:
a) When the user transfers a substring of a source paragraph into a target
paragraph, he expects the character attributes of the substring to be
preserved. He does not expect the attributes of the source paragraph to be
preserved. For his paste operation, they are of no interest. Instead, he wants
to preserve the format properties of the target paragraph.

b) In the particular case of a table, the default is for all of its cells to
have the same paragraph style. The user does not want them to have different
paragraph styles stemming from whatever he copied the cell contents from.

The user has to undo, every time, the changes applied by LO to the table cells.

Proposal:
On copying a proper substring of a paragraph, ignore paragraph attributes.
This is both simpler than current behavior and expected by the user.

-- 
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