[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Heiko Tietze changed: What|Removed |Added Keywords|needsUXEval |needsDevAdvice Status|UNCONFIRMED |NEW CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda |.freedesktop.org|tion.org, ||mikekagan...@hotmail.com Severity|minor |enhancement Ever confirmed|0 |1 See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||0018 --- Comment #22 from Heiko Tietze --- We discussed the topic in the design meeting. While the need is clear for footnotes and endnotes (bug 100018), we have a well-known workflow in general. What we can do is: a) Keep the source PS not only for empty target paragraphs but also ignore all white-space: when pasting somewhere in the middle of a paragraph it is very unlikely that the source PS should be applied, so just ignoring white-space might solve the actual problem b) Introduce a new paste special option (or a new UNO command in order to assign a shortcut) that pastes without paragraph style but not unformatted: with this option the user can decide whether the target PS is overridden or not; the current behavior of paste and paste special wouldn't change c) Enhance the PS attributes by a flag "[ ] Override style on paste" that allows to define individually whether or not pasting formatted clipboard content should change the target PS; this solution could be used for Footnotes as requested in bug 100018 -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Buovjaga changed: What|Removed |Added Ever confirmed|1 |0 Status|REOPENED|UNCONFIRMED --- Comment #21 from Buovjaga --- Reopened is the wrong status. Changing to unconfirmed as there is controversy. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 --- Comment #20 from William Friedman --- (In reply to Cor Nouws from comment #19) > (In reply to William Friedman from comment #18) > > 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). > Simply the other way round. > I do an Enter, paragraph style is unchanged (e.g. Text Body) and I copy > paste some text with a different style that I want to be retained. > Changing the behavior for your case, would break it in this case. > So I would not change it. Yeah, I hear that. That's why I suggested (on the other bug thread) allowing users to configure which default paste behavior they want, and to add a "paste special" option that would allow selecting each individual attribute to retain and which to override. Designing for flexibility rather than having the software second guess the user, or worse, impose some presumed use case on the user, seems like a better option to me. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Cor Nouws changed: What|Removed |Added OS|Windows (All) |All CC||c...@nouenoff.nl Version|5.0.5.2 release |Inherited From OOo --- Comment #19 from Cor Nouws --- (In reply to William Friedman from comment #18) > 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). Simply the other way round. I do an Enter, paragraph style is unchanged (e.g. Text Body) and I copy paste some text with a different style that I want to be retained. Changing the behavior for your case, would break it in this case. So I would not change it. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Cor Nouws changed: What|Removed |Added See Also|https://bugs.documentfounda | |tion.org/show_bug.cgi?id=10 | |0018| -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 William Friedman changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED|REOPENED --- Comment #18 from William Friedman --- (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 on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Heiko Tietze changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #17 from Heiko Tietze --- (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 *** -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 --- Comment #16 from William Friedman --- (In reply to Heiko Tietze from comment #15) > The current solution with applying the source style if the target paragraph > is not empty (unless it's a footnote, see bug 100018 comment 15) is correct. > Changing this leads to much more regression and confusion. Wait, that's not what happens. The source style (i.e., the style of the copied text) is applied only if the target paragraph *is* empty; if the target paragraph is *not* empty, then the source text is changed to the target paragraph's style. I agree that the latter behavior is correct; my argument has been that pasting source text into an empty paragraph in a different style should *also* be changed to the target style. (In particular with reference to footnotes, but also applicable to everything else.) It is crucial, however, that manually applied character attributes (bold, italics, etc.) be preserved when pasting changes the style of the source text. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 --- Comment #15 from Heiko Tietze --- The current solution with applying the source style if the target paragraph is not empty (unless it's a footnote, see bug 100018 comment 15) is correct. Changing this leads to much more regression and confusion. (In reply to William Friedman from comment #14) > One further issue regarding the "solution" to insert a single space: if the > pasted text has a hard return in it, then all the lines after the hard > return will be pasted in the original style rather than the new one. I agree here that users expect either source or target style but not a mixture. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-ux-advise] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
https://bugs.documentfoundation.org/show_bug.cgi?id=98381 Heiko Tietze changed: What|Removed |Added CC||libreoffice-ux-advise@lists ||.freedesktop.org -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise