Imported a .DOCX file with Insert>File into an existing .odt file. Expected result: Text, Tables , Formatting to be included in existing file. .ODT file was english-US, Letter page, lang. english Docx file was german-switzerland, A4 page, lang. german. Result: DOCX was imported (Text, Tables etc.) bur overwrote all global parameter Language, Page Format, Author, Dictonary. It was only a small document, problem fixed in a few minutes, but consider a large document!!!!
Please attach the docx file if possible, much easier for us to test (otherwise we have to make a docx file with language settings and what not) Marking as NEEDINFO - once you attach the docx mark as UNCONFIRMED and I'll take a look at confirming it. Thanks!
Created attachment 91089 [details] imported file File was created with Word.
Reproducible, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+ Build ID: 5be7ec4193b892e5643ff5f3f2e6755319569190 TinderBox: Win-x86@39, Branch:master, Time: 2013-12-27_23:55:02 Kind regards, Joren
** 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 on a currently supported version of LibreOffice (4.4.1 or later) https://www.libreoffice.org/download/ *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
Still reproducible. Windows Vista 64 Version: 4.4.2.2 Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
** 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 on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
Created attachment 129679 [details] recipe_template.odt: starter file containing some properties. confirmed some parts in 5.3beta by starting with recipe_template.odt and "Insert - Document..." recipe_chessecake.docx. --- original template --- Default Para font and Language: Liberation English US Created date: 12/16/2016, 08:26:40 Default Page Size: A6 landscape --- with inserted document --- Default Para Font and Language: Calibri German Created date: 11/29/2013, 20:55:00, Nicole Gschwind Default Page Size: still A6 landscape
probably inherited from OOo - used bibisect43all to confirm as far back as 3.5. The biggest difference since then is that now the default page style is not over-written. The current status of replacing char/paragraph styles/font/language seems logical to me. Inserting a document should include most of that document's state. If you don't want all of that stuff, then do a copy/paste instead. (The opposite is not true AFAIK - there is probably no other way to replace character/paragraph styles than by importing.) I would suggest marking this bug as fixed (because of the page style) unless there is are very specific items that ought not to be over-written (and in that case give a clear rational).
with bug 112025 fixed, confirm this works, and default page style is no longer overwritten.
Tested it with the attached files. 1) Page style is ok /not overwritten. 2) Default Style Font still overwritten with Calibri 11 instead of Arial 13 3) Document language is set to German (Switzerland) overwriting English(USA) Only one out of 3 bugs fixed. Resetting status to NEW.
Serge Krot committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=deaa16bd24fba4a3a6b072ab2b94542a7dbd41c6 tdf#72942 Do not overwrite styles from the inserted doc It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.