Created attachment 99595 [details] test case Problem description: On it's own adds tab positions to paragraph when saving in Office XP format Steps to reproduce: 1. Create presentation with a paragraph with no tab stops 2. Save it to format Microsoft PowerPoint 97/2000/XP/2003 (.ppt) 3. Close and open the presentation Current behavior: Tab stops appeared in the paragraphs where were absent Expected behavior: Tab stops shouldn't have appeared It changes the text appearance after the document is closed and opened again. Thanks Operating System: Windows 8 Version: 4.2.4.2 release
I have some additional info because I got (almost) the same problem. I use LibreOffice 4.3.1.2 on Mac OS X 10.6.8. I got the same problem when I had defined tab stops for a paragraph (see the attached Tabs.odp and the paragraph with the sample text. I set tanb stops at 0 4 and 10cm. My default tab stops were set at 1.25cm. The tab stops in the powerpoint file (Tabs.ppt) got set at multiples of 1.25cm, but with an offset (start at 0.3cm). Then when I changed the default tab stops to 2.0 cm and saved the file again as PPT (Tabs2.ppt) the stops changed to multiples of 2cm (again with an offset). And, by the way, when saving to PPTX, the tab stops just disappear (Tabs.pptx). All the example files in Tabs.zip.
Created attachment 106377 [details] Zip file with example files Tabs.odp, Tabs.ppt, Tabs2.ppt, Tabs.pptx
Hello Alexander, Thank you for submitting the bug. This isnt a bug because impress' default tabs spacing is 2 inches and in order to preserve this tab size in a .ppt file, it has to put them into the file, so that if you opened in up in powerpoint, the file would appear in the same way. Powerpoint on the other hand has a default tab spacing of 1 inch. Hello Piet, Thank you for contributing to the bug. Yes i can confirm that tabs are not being saved correctly in ppt and being lost when saving to pptx. Version: 4.4.0.0.alpha0+ Build ID: df73f4115cfe4d07e4159adf087571687eb173ec TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-09-25_23:36:54
I found the problem. I loaded the Tabs.ppt file in Powerpoint (the real one on Windows) and the tabs were there. So the problem appears to be on importing the PPT file in Impress. In libreoffice-4.3.2.2/filter/source/msfilter/svdfppt.cxx, line 6160 there is a line if ( mbTab ) // makes it sense to apply tabsettings which makes setting the tab stops in a paragraph conditional upon there being real tabs in the paragraph, supposedly as a kind of optimization. On a slide master the tabs are retained, however. This is bad for 3 reasons: 1. It is not a good idea to throw away information that a user has put deliberately in a file. 2. If the user intends to edit the imported PPT file, and add some tabs then (s)he has to recreate the tabs. 3. [This is the most serious one]. In Powerpoint 97-2003 a text frame can only have one sets of tab stops for all paragraphs. When a PPT file is saved in e.g. Powerpoint 2007 or 2010, the tab stops of the first paragraph of the text frame is used and the tab stops of the subsequent paragraphs in the same text frame disappear. The Impress PPT export code does the same as it has no choice. Now suppose the imported PPT file has the first paragraph without tabs in it but the next one does have them. Then when you make some change to the file and save it again as PPT, the tabs in the text frame will be replaced by the default tab stops because the tab stops of the first paragraph had been deleted on the import. So that test should be eliminated. As mbTab is only used for this purpose also the code to set it can be eliminated. There was also a second issue, that the default tabs that were in the imported presentation had an offset of 0.3 cm. This is caused by the fact that the default tab stops that the paragraph gets come from the slide master. The paragraph in the slide master has an indent of 0.3 cm (in this presentation), because it is bulleted. Now in PPT tab stops are relative to the left margin of the text frame, but in Impress they are relative to the text indent. So on import export this has to be compensated, which is just what happened.
Created attachment 108711 [details] Proposed patch I have tested this patch and it solves the problem for the PPT import
Please send the patch either to the developer mailing list or to gerrit (https://wiki.documentfoundation.org/Development/gerrit) as we are not monitoring bugzilla for patches. Additionally patches for import/export filters are easier to review if they include a test case.
For me not reproducible with LO 5.0.3.2, Win 8.1. Does this issue still persist?
Created attachment 120696 [details] Unwanted tabs
(In reply to A (Andy) from comment #7) Actually it is (LO 5.0.3.2, Win 8.0). Added another attachment.
I pushed Piet's patch in comment 5 into gerrit, though it is of importing of tabs, which isnt what is being addressed by this bug. https://gerrit.libreoffice.org/20207 @Piet: Can you please provide a license notice for your patch. Visit https://wiki.documentfoundation.org/Development/Developers to find out how to send it in.
I already submitted my license statement some time ago.
This bug report actually covers 3 different bugs. It would be better to split them up into separate bug reports.
The initial bug(In reply to Piet van Oostrum from comment #11) > I already submitted my license statement some time ago. Thanks. (In reply to Piet van Oostrum from comment #12) > This bug report actually covers 3 different bugs. It would be better to > split them up into separate bug reports. The bug description is about the tab saving issue, so other issues should be opened in separate bugs.
Migrating Whiteboard tags to Keywords: (filter:pptx, filter:ppt)
** 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.6 or 5.2.3 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-20170103
Have installed LO 5.2.4 in Win8 but couldn't start it. The start up screen was hanging for more than 5 min before I killed it.
Succeeded 32bit version: Version: 5.2.4.2 Build ID: 3d5603e1122f0f102b62521720ab13a38a4e0eb0 CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; Locale: ru-RU (ru_RU); Calc: group The bug is present, the behavior is the same, nothing changed.
** 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! Warm Regards, QA Team MassPing-UntouchedBug
Piet: patch https://gerrit.libreoffice.org/#/c/20207/ was abandoned in 2016. Would you like to submit it again under your own gerrit account?
Piet van Oostrum committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/070f44e3b2d7dcf26de68ee46c50dad5c0cf2170 tdf#79082 Correctly import PPT tabs It will be available in 7.0.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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f3fc0116ff5258bdee68518ae3ae53f59e8dbbd5 tdf#79082 Add test for correctly importing tab stops from ppt It will be available in 7.0.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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2c14bbd5820f854be3a4b1c0f49b9d9afa05b08c tdf#79082 Export paragraph tab stops to ooxml It will be available in 7.0.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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/3d0298bf54363b7887e62b86908b6768f4da4d71 tdf#79082 Export paragraph tab stops to ooxml It will be available in 6.4.5. 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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9c4048b1883f1dc9fdd621ffa2bb06ff9fe19d14 tdf#79082 Improve ppt tab import/export It will be available in 7.0.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.
So I did some fixes to ppt tab import/export (and added pptx tab export). Would appreciate some tests!
Verified, thanks! Arch Linux 64-bit Version: 7.0.0.0.alpha1+ Build ID: bdc8cd060dca8a97ef7970d1c0ab30694930beea CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; Locale: en-US (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 14 May 2020
Piet van Oostrum committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/fe99cb040ef087618973332802877fff45e9b7fc tdf#79082 Correctly import PPT tabs It will be available in 6.4.5. 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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/e990859780840f431a99c7da70084c22e740ac08 tdf#79082 Add test for correctly importing tab stops from ppt It will be available in 6.4.5. 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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/3aea3d2399983c1c366ca745a9b183435f155f23 tdf#79082 Improve ppt tab import/export It will be available in 6.4.5. 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.