[Libreoffice-bugs] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 19 14:47:17 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=98381
William Friedman <will.friedman at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |---
Status|RESOLVED |REOPENED
--- Comment #18 from William Friedman <will.friedman at gmail.com> ---
(In reply to Heiko Tietze from comment #17)
> (In reply to William Friedman from comment #16)
> > my argument has been that pasting source text into an empty paragraph in a
> > different style should *also* be changed to the target style.
>
> That wont be accepted by users. Footnotes are an exception, so I suggest to
> continue on bug 100018 and to file a special ticket "paragraph break in
> clipboard content must not change the style when pasted" (or the like).
>
> Feel free to reopen if you disagree.
>
> *** This bug has been marked as a duplicate of bug 100018 ***
I don't understand on what basis you're asserting "that won't be accepted by
users." In the thread on bug 100018 there was agreement that the current
behavior -- changing the target style to the source style if the target style
is empty, but changing the source style to the target style if there is even
one character -- is unexpected and strange to the user. Consider the following
case: I write a paragraph, say in default style or text body style or whatever,
incorporating a quotation. I decide that I want to have the quotation be in
quotation style. I select and cut the text, create a new paragraph and set it
to quotation style. If I paste the text without typing any new character, it
will reset to default or text body or whatever style. If I type a space, then
it will paste as quotation style, exactly as the user expects. I cannot see any
circumstance under which a user would deliberately set a style and paste text
into it and *not* expect the text to be changed to the selected style (while
retaining character attributes like bold and italics and whatever).
Separately, I don't know how to "file a special ticket" -- do you mean add a
comment to this effect to that thread? I'm happy to do that. Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200219/ad91b965/attachment.htm>
More information about the Libreoffice-bugs
mailing list