Bug 122873 - emf-import in writer shows missing text depending on the zoom level
Summary: emf-import in writer shows missing text depending on the zoom level
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2019-01-22 09:42 UTC by Carlo
Modified: 2019-04-29 12:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
this image shows the result in writer (19.64 KB, image/png)
2019-01-22 09:44 UTC, Carlo
Details
test file for emf import (178.77 KB, image/x-emf)
2019-01-22 09:46 UTC, Carlo
Details
image of how it should look like (26.18 KB, image/png)
2019-01-22 09:47 UTC, Carlo
Details
How it looks in LibreOffice 6.3 master (24.91 KB, application/pdf)
2019-04-29 12:23 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo 2019-01-22 09:42:01 UTC
Description:
When importing an emf-file that contains several text areas, not all text portions are displayed.

Steps to Reproduce:
1. Open a new writer document
2. Insert an emf.file containing several regions of text
3.

Actual Results:
There are missing portions of text.

Expected Results:
Every label is displayed at the expected region


Reproducible: Always


User Profile Reset: No



Additional Info:
Using "MetaFileExplorer" one could see how it should look like.
Comment 1 Carlo 2019-01-22 09:44:43 UTC
Created attachment 148504 [details]
this image shows the result in writer
Comment 2 Carlo 2019-01-22 09:46:32 UTC
Created attachment 148505 [details]
test file for emf import

The added image files are based on this emf-import.
Comment 3 Carlo 2019-01-22 09:47:55 UTC
Created attachment 148506 [details]
image of how it should look like

This image is taken from "MetaFileExplorer".
Comment 4 Xisco Faulí 2019-01-22 13:11:47 UTC
Something is off here. The text is displayed if I zoom in or out but not at 100%

Reproduced in

Version: 6.3.0.0.alpha0+
Build ID: 3fa4674615b747e219afe5bf0a9b689df3840439
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc:
Comment 5 Xisco Faulí 2019-01-22 13:13:24 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default; 


but not in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 raal 2019-01-23 06:24:23 UTC
repro Version: 4.4.0.0.alpha0+
Build ID: dea4a3b9d7182700abeb4dc756a24a9e8dea8474
Comment 7 Carlo 2019-04-18 19:18:15 UTC
I recognized the following:
Being an administrator importing the mentioned emf-file works fine and all text is where it should be.
Doing the same as a normal user leads to the missing text in the imported emf-file.
This holds for win 10 (LO version 6.2.3)  as well as ubuntu 18.04 (LO version 6.0.7.3).
Comment 8 Aron Budea 2019-04-27 06:34:08 UTC
Seems to work fine for me, and I could bibisect where it started working, using repo bibisect-win32-6.1. Before that it wasn't fine, even in version 3.3.0 (in Windows).

https://cgit.freedesktop.org/libreoffice/core/commit/?id=f69e2f739ca3c23c9de055c8600c867e864cd4ff
author		Caolán McNamara <caolanm@redhat.com>	2018-01-18 21:28:02 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2018-01-19 21:51:31 +0100

ofz#5475 Integer-overflow
Comment 9 raal 2019-04-27 15:23:13 UTC
Text is visible in Version: 6.3.0.0.alpha0+ (x64)
Build ID: 3083fe569f96bf0289da1e9d0ef7da15ab22e2f6
CPU threads: 1; OS: Windows 10.0; UI render: default; VCL: win; 
and Version: 6.3.0.0.alpha0+
Build ID: e913727c7ee3af0bb4031c6829abfb3373306492
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 10 Xisco Faulí 2019-04-29 12:23:57 UTC
Created attachment 151067 [details]
How it looks in LibreOffice 6.3 master

How it looks in

Version: 6.3.0.0.alpha0+
Build ID: 101eea01c778ad255d3c8467e06643b23ff6bd76
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
Comment 11 Xisco Faulí 2019-04-29 12:25:30 UTC
Removing keywords based on comment 8