Created attachment 156786 [details] tdf129522_changedBordersC.rtf: border's lost due to direct formatting color change. The second paragraph ought to have a green border around it. This used to work until LO 5.3 commit a9e029ace41562e28e9242d63230ad1ca275f5d3 by Miklos Vajna on 2017-01-03 11:56:29 +0100 tdf#104744 RTF import: fix unexpected zero para left margin wrt style dedup I made this test document because I expected it to fail based on my code reading. The solution is probably the same as for bug 129605.
Created attachment 156787 [details] tdf129522_changedBordersC.pdf: as seen by MS Word 2003
Reproduced in Version: 6.5.0.0.alpha0+ Build ID: 1abfc8e2f677024ea058e96f3133e503ba89ea02 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded Adding Cc: to Miklos Vajna
OK to close this as a duplicate of bug 129605? The fix's commit message explicitly says that the commit fixes this bug as well.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/eca3ce35fe9a346965a32f42d02cb6d3f5a3982f tdf#129631 writerfilter,sw: RTF import of invalid border... It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Miklos Vajna from comment #3) > OK to close this as a duplicate of bug 129605? The fix's commit message > explicitly says that the commit fixes this bug as well. Just verified that the green border in attachment 156786 [details] appears correctly since the commit https://git.libreoffice.org/core/commit/83832ea3890d9418f17b480ececa204ae54cee18 tdf#129605 rtfimport: deduplicating borders loses information *** This bug has been marked as a duplicate of bug 129605 ***
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/221c5cfebf7c027ebb656860f2b12d60faa86b89 tdf#129631 writerfilter,sw: RTF import of invalid border... It will be available in 7.4.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.