Created attachment 130705 [details]
Pasting text (ctrl-v) in an paragraph which has a modified style changes the paragraph style.
- Open the attached example document
- Select a few chars in the indented text
- Copy the chars (ctrl-c)
- Paste (ctrl-v) in the middle of the indented paragraph
The style of the paragraph changes which should not happen. It is not obvious which attributes are changed.
The "list bullet style" is custom-made. I was not able to reproduce this with a "bare example". I have no idea what happens.
The bug only happens when pasting, not when typing.
Reproduced it. Taking
Further investigation shows that this is a problem with an old LO document opened in a new LO release:
The attached document was created with a older LO release which had not yet separated the list styles from the "Styles and Formatting" list of styles. For this document the list format was modified in the paragraph styles with the old LO release.
When editing the old document in the current LO release the changing of the paragraph "auto-assigns" the list style to the paragraph and this style is different from the old modified list style.
When opening the attached document in the current LO release you see that the list styles are in both lists.
I cannot judge what would be the correct behaviour. IMHO it would be correct to copy the "old" list styles to the new ones when opening an old document to be backward compatible. Or is the current behaviour intended?
[Unfortunately I cannot determine which old LO release was the creator of the document, the document was changed several times with different LO releases]
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
This bug is still present
Build ID: 1:6.4.1~rc2-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: kf5;
Locale: de-DE (en_US.UTF-8); UI-Language: en-US
When you paste into an empty paragraph the source paragraph style will be used. If the target is not empty, for example when you add a single space, the target style will be used. That applies only to paragraph styles, of course. The discussion runs on bug 98381 and bug 100018.
*** This bug has been marked as a duplicate of bug 98381 ***
Thanks for looking into this. But this is IMHO not the same as #98381 and not handled there.
Take the test document, select a few character _inside_ of the paragraph, press Ctrl-C and then inside the same paragraph press Ctrl-V and the style changes.
This is text from the same paragraph pasted inside the same paragraph.
This behavior can IMHO never be correct, it is not what a user expects.
True, this one was wrong. But a bug like this has been reported before with high probability and I found some relevant issues. No idea what exactly goes wrong here.
*** This bug has been marked as a duplicate of bug 77651 ***