1. Open a docx file (A) saved by MS Word (must have theme colors set) 2. Make no changes 3. Save as docx file (B) 4. Reopen B Error: SAXException [word/document.xml line 20]: Attribute w:themeShade redefined From manual inspection of the XML, the <w:color> elements have a duplicated w:themeShade and w:themeColor attributes. This does not seem to be possible (from my experience) when creating the document in LibreOffice. It has to be a document from MS Word that has a color theme set. I have an example, but it contains proprietary / confidential information. I can dig out a copy of MS Word and try to create a minimal document if it is useful. This appears to be a regression of 123705. $ libreoffice --version LibreOffice 7.3.4.2 30(Build:2) $ head -7 /etc/os-release NAME="Fedora Linux" VERSION="36 (Thirty Six)" ID=fedora VERSION_ID=36 VERSION_CODENAME="" PLATFORM_ID="platform:f36" PRETTY_NAME="Fedora Linux 36 (Thirty Six)" $ rpm -q libreoffice-writer libreoffice-writer-7.3.4.2-4.fc36.x86_64
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
I'm having trouble producing a minimal example that reproduces this issue. From manual inspection of the XML, the duplicate is in a rPrChange element. The document does contain a lot of track changes annotations. However, I cannot reproduce it either with starting from a blank document, or by deleting everything but the offending section. My next approach will be to replace all characters in the original with "X" and see what happens. Thanks for your patience. If there's another way I can debug this (e.g. use libreoffice at the command line with some extra logging options to simulate load/save), or some code I can inspect, please let me know.
[Automated Action] NeedInfo-To-Unconfirmed
Created attachment 182372 [details] docx with theme color set
Created attachment 182373 [details] docx with color theme in ms word Not Reproduced Steps Followed: 1. Open a docx file (A) saved by MS Word (must have theme colors set) 2. Make no changes 3. Save as docx file (B) 4. Reopen B I did not get any issues while opening in libreoffice writer Test Environment: OS: Linux Mint 20.3 Cinnamon Processor: Intel© Core™ i7-7500U CPU @ 2.70GHz × 2 Software Version: LibreOfficeDev-7.4.0.0.alpha0_2022-01-23-x86_64.AppImage
Do you still repro with 7.4 or 7.5? Set to NEEDINFO. Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Dear mj.wilson.uk, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear mj.wilson.uk, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp