Created attachment 143839 [details] A minimized sample with distorted table The attachment opens in Impress with the table in wrong position (at the top of the slide instead of in the middle), and its second cell has blue background and no text (must be "A3" without background). It opens fine in MS PowerPoint. Tested with Version: 6.1.0.2 (x64) Build ID: b3972dcf1284967612d5ee04fea9d15bcf0cc106 CPU threads: 12; OS: Windows 10.0; UI render: GL; Locale: ru-RU (ru_RU); Calc: CL The problem is because of the table has one row and three cells, with two first cells merged. On import, CellCursor::merge() calls TableModel::optimize(), which removes the second column, and then the import code throws out of the method creating the table, leaving it uninitialized.
Created attachment 143841 [details] comparison MSO 2010 and LibreOffice 6.2
https://gerrit.libreoffice.org/58359
Reproduced in Version: 6.2.0.0.alpha0+ Build ID: 72b099d279e7096d41a04fe8c0dd493a5fc18a33 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded Version: 5.2.0.0.alpha0+ Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53 Threads 4; Ver: 4.10; Render: default; Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) in LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 the table is not even imported... I guess the table's position is another bug...
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d6f73641ff10286339562075e11c7cbb8e3d2b74 tdf#119015: don't call TableModel::optimize in CellCursor::merge() It will be available in 6.2.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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7a94069af971b9326e017d93b78118201291c48d&h=libreoffice-6-1 tdf#119015: don't call TableModel::optimize in CellCursor::merge() It will be available in 6.1.1. 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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0e6c891dba2cf4e0c105b6fc17679524dde78b26&h=libreoffice-6-0 tdf#119015: don't call TableModel::optimize in CellCursor::merge() It will be available in 6.0.7. 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.