Bug 138147 - [EMF] Shapes/Annotations on DOCX files drawn with Microsoft Surface Pen are lighter due to missing SETPOLYFILLMODE implementation
Summary: [EMF] Shapes/Annotations on DOCX files drawn with Microsoft Surface Pen are l...
Status: RESOLVED DUPLICATE of bug 84199
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://www.cairographics.org/samples...
Whiteboard:
Keywords:
Depends on: 84199 142021
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2020-11-11 22:42 UTC by jake.weilhammer
Modified: 2024-05-27 17:18 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Original Docx file with the annotations (3.83 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-11 22:43 UTC, jake.weilhammer
Details
Original Docx File comparison Word vs Libre vs Exported PDF (609.32 KB, image/png)
2020-11-11 22:44 UTC, jake.weilhammer
Details
Modified Docx File - Modified annotations appear in Libre (3.74 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-11 22:45 UTC, jake.weilhammer
Details
Modified Docx File comparison Word vs Libre vs Exported PDF (619.45 KB, image/png)
2020-11-11 22:46 UTC, jake.weilhammer
Details
Annotation comparison between Word and LibreOffice 7.2.0.4 Mac (537.10 KB, image/png)
2021-08-30 12:24 UTC, jake.weilhammer
Details
Minimal EMF image where issue is visible (needs to be zoomed in) (2.21 KB, image/emf)
2022-03-25 12:38 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jake.weilhammer 2020-11-11 22:42:58 UTC
This docx file was originally drawn on/annotated with a Microsoft Surface Pen in Microsoft Word (unknown version).  Upon opening the file with Libre, the annotations are invisible but still movable.  They are also not exported with the pdf.


I found that if I move any of the annotations on word and re-save, or copy and paste them, that the modified annotations will appear on Libre and are exported to PDF regularly.


Think that it is just not rendering these original annotations for some reason, but any duplicate or modification of them allows Libre to display them properly.
Comment 1 jake.weilhammer 2020-11-11 22:43:58 UTC
Created attachment 167218 [details]
Original Docx file with the annotations
Comment 2 jake.weilhammer 2020-11-11 22:44:48 UTC Comment hidden (obsolete)
Comment 3 jake.weilhammer 2020-11-11 22:45:42 UTC Comment hidden (obsolete)
Comment 4 jake.weilhammer 2020-11-11 22:46:11 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2021-08-28 10:44:55 UTC Comment hidden (obsolete)
Comment 6 jake.weilhammer 2021-08-30 12:24:07 UTC
Created attachment 174639 [details]
Annotation comparison between Word and LibreOffice 7.2.0.4 Mac

Annotations are now present, but they appear much lighter than on Word
Comment 7 jake.weilhammer 2021-08-30 12:25:49 UTC
Checking the new version, the annotations are appearing now!

But another problem persists with the transparency level of the annotations.

Seems on LibreOffice 7.2.0.4 on Mac, the annotations are much lighter than when viewing on Microsoft Word.

Attaching 7.2.0.4_comparison.png. Can this be re-reviewed?  Potentially is a new bug
Comment 8 QA Administrators 2021-08-31 03:56:05 UTC Comment hidden (obsolete)
Comment 9 Ezinne 2021-11-07 15:57:48 UTC
Reproducible in:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 86d11097cd4a2ae4a6b4e6b35e28a6075376d67a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 10 Timur 2022-03-25 11:36:49 UTC
Annotations appear from LO 7.0 source 1c399bb1dc9af8d591258e936508200d38d3bb5a
Bartosz, you fixed this, please see if you can why these are lighter than in MSO.
Comment 11 Bartosz 2022-03-25 12:38:56 UTC
Created attachment 179102 [details]
Minimal EMF image where issue is visible (needs to be zoomed in)
Comment 12 QA Administrators 2024-03-25 03:13:24 UTC Comment hidden (obsolete)
Comment 13 Bartosz 2024-03-26 11:54:55 UTC
Confirmed, it is still exists.
The initial implementation of different fill styles, was started at:
https://gerrit.libreoffice.org/c/core/+/120477

Unfortunately never able to correctly display EMF files.
Comment 14 Hossein 2024-05-27 17:18:47 UTC

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