Bug 130498 - FILESAVE: highlighted text positions in shapes are not saved
Summary: FILESAVE: highlighted text positions in shapes are not saved
Status: RESOLVED DUPLICATE of bug 96061
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-07 03:43 UTC by hellwoodfire
Modified: 2020-10-09 10:30 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (20.60 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-02-10 15:12 UTC, Xisco Faulí
Details
underline color (12.42 KB, application/vnd.oasis.opendocument.presentation)
2020-02-19 12:38 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hellwoodfire 2020-02-07 03:43:15 UTC
Description:
Description:
When saving an Impress document in Microsoft PowerPoint 2019 format, the text highlighting is not at the same position when reopened. 


Steps to Reproduce:
1. I create a new Impress document. 
2. I type "hello all my friends".
3. I select the "hello". 
4. On the Formatting bar, I click the Highlighting icon.
5. The word "hello" is highlighted yellow (correct).
6. I select the "my". 
7. On the Formatting bar, I click the Highlighting icon choose another color (green).
8. The word "my" is highlighted green (correct).
9. Please note that the words "all" and "friend" are NOT colored (correct). 
10. I save the document in Microsoft PowerPoint 2007-365 format (pptx). 
11. I close LibreOffice. 
12. I re-open the document in Libre-Office. 
13. The words "all" and "friend" are also colored. (not correct)



Actual Results:
13. The words "all" and "friend" are also colored. (not correct)

Expected Results:
13. The words "all" and "friend" should not be colored.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco Faulí 2020-02-10 15:08:35 UTC
Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: c161478ed50f6ee8878335db113f8850a136615b
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 Xisco Faulí 2020-02-10 15:12:28 UTC
Created attachment 157772 [details]
sample file
Comment 3 Xisco Faulí 2020-02-10 15:13:58 UTC
text highlight support was introduced in 
https://git.libreoffice.org/core/commit/57cfbc6830c3d8dc64107aed4a5555613415f069
Comment 4 Xisco Faulí 2020-02-19 12:38:50 UTC
Created attachment 158004 [details]
underline color

Same problem happening with underline color when it's automatic

Steps:
1. Open attached document
2. Save it to PPTX
3. Open the PPTX document

-> purple underline colour applied to the second word
Comment 5 Xisco Faulí 2020-02-19 12:42:16 UTC
Problem with the underline colour goes back to https://cgit.freedesktop.org/libreoffice/core/commit/?id=8129ad7b22dceeb2fef13741aa509c2229cf03de
I do believe this might be the same problem as bug 119649
Comment 6 Xisco Faulí 2020-02-24 11:14:23 UTC
Unassigning for now. I might take a look later on but I don't want to block on it. I believe the root cause is the same as in bug 119649
Comment 7 Xisco Faulí 2020-03-03 11:11:39 UTC
Hi László,
I thought you might be interested in this issue, it seems similar to bug 130690 that you just fixed.
Comment 8 László Németh 2020-03-03 12:25:45 UTC
It seems, this is not a PPTX problem. Shape text doesn't support highlighting in the default OpenDocument export.

Workaround: using text box instead of shapes for highlighted text
Comment 9 Xisco Faulí 2020-06-18 16:00:15 UTC
*** Bug 134117 has been marked as a duplicate of this bug. ***
Comment 10 Xisco Faulí 2020-07-20 14:53:48 UTC
*** Bug 134950 has been marked as a duplicate of this bug. ***
Comment 11 Timur 2020-10-09 10:07:15 UTC
Looks like a duplicate.

*** This bug has been marked as a duplicate of bug 96061 ***