Bug Hunting Session
Bug 36999 - DOCX import: For hidden ActiveX control, the replacement wmf is always shown
Summary: DOCX import: For hidden ActiveX control, the replacement wmf is always shown
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX
  Show dependency treegraph
 
Reported: 2011-05-09 02:57 UTC by Tobias Burnus
Modified: 2019-08-05 10:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot_MS_Office2010.png (29.42 KB, image/png)
2012-08-14 14:26 UTC, Tobias Burnus
Details
Screenshot of LibreOffice 3.6.0.4 under Linux (42.54 KB, image/png)
2012-08-15 17:20 UTC, Tobias Burnus
Details
DOCX in LO 6.1.0.2 (45.52 KB, image/png)
2018-07-28 19:33 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2011-05-09 02:57:40 UTC
Follow up to bug 34305 comment 2.

The DOCX file at https://bugzilla.novell.com/attachment.cgi?id=394228
(https://bugzilla.novell.com/show_bug.cgi?id=645557) contains ActiveX controls. 

Both LibreOffice and Word(Viewer) 2003 with OOX compatibility extension render the ActiveX controls - or rather the replacement WMFs. Screen shot, see attachment 43703 [details].

However, as Noel Power wrote in bug 34305 comment 2:

"the display of the wmf images, after looking a little deeper these images
 should not be shown at all. These are replacement graphics for activex
 controls. But of course these controls are unsupported and infact are controls
 that are hidden. Unfortunately we since we don't import these controls we don't
 release they are hidden :-/"

Expected: By default the replacement images are not shown, though they probably should be shown if hidden elements are shown (cf. bug 34620).
Comment 1 Björn Michaelsen 2011-12-23 12:03:00 UTC Comment hidden (obsolete)
Comment 2 Roman Eisele 2012-05-05 08:59:52 UTC
Talking about DOCX import, this issue is (at least at the surface) a Writer issue, therefore changed the 'Component' field accordingly.
Comment 3 Florian Reisinger 2012-08-14 13:58:09 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 4 Florian Reisinger 2012-08-14 13:59:27 UTC Comment hidden (obsolete)
Comment 5 Florian Reisinger 2012-08-14 14:04:02 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:06:15 UTC Comment hidden (obsolete)
Comment 7 Tobias Burnus 2012-08-14 14:26:25 UTC
Created attachment 65551 [details]
Screenshot_MS_Office2010.png

Still occurs with Libre Office 3.6.0.4.

Test case:
  https://bugzilla.novell.com/attachment.cgi?id=394228

Screen shot with LO:
  attachment 43703 [details]

Screenshot with MS Office 2010: See just attached file.

Currently: The ActiveX controls (or rather the replacement WMFs) are shown.

Expected: By default the replacement images are not shown, though they probably
should be shown if hidden elements are shown (cf. bug 34620).


Quoting from comment 0: Noel Power wrote in bug 34305 comment 2:

"the display of the wmf images, after looking a little deeper these images
 should not be shown at all. These are replacement graphics for activex
 controls. But of course these controls are unsupported and infact are controls
 that are hidden. Unfortunately we since we don't import these controls we
 don't release they are hidden :-/"
Comment 8 Florian Reisinger 2012-08-15 17:05:05 UTC
Okay, maybe I am stupid,but for me LO 3.6 and Word 2010 look absolutly ident...
Comment 9 Tobias Burnus 2012-08-15 17:20:05 UTC
Created attachment 65607 [details]
Screenshot of LibreOffice 3.6.0.4 under Linux
Comment 10 Tobias Burnus 2012-08-15 18:03:55 UTC
(In reply to comment #8)
> Okay, maybe I am stupid,but for me LO 3.6 and Word 2010 look absolutly ident...

For me, MS Office 2010/Windows looks like in attachment 65551 [details] – and in LO 3.6/Linux I get the result of attachment 65607 [details]: Namely, the replacement rendering of the ActiveX controls (red encircled in the screenshot).

That's also with View|{hidden paragraphs,fields,control characters,markings} disabled.

On MS Office 2010/Windows, those are hidden, i.e. they are only shown after doing the following: "On the Home tab, in the Paragraph group, click Show/Hide." (Namely, clicking on the pilcrow ("¶") icon.)

In MS Office 2010, when the pilcrow is pressed and the controls are shown: If one selects the controls and then opens the "Font" dialog, one sees that "Hidden" is enabled.
Comment 11 Cédric Bosdonnat 2014-01-20 08:57:15 UTC
Restricted my LibreOffice hacking area
Comment 12 Joel Madero 2014-11-04 03:28:42 UTC
Never confirmed by QA team, moving back to UNCONFIRMED.
Comment 13 Buovjaga 2014-11-15 18:24:18 UTC
(In reply to Tobias Burnus from comment #10)
> For me, MS Office 2010/Windows looks like in attachment 65551 [details] –
> and in LO 3.6/Linux I get the result of attachment 65607 [details]: Namely,
> the replacement rendering of the ActiveX controls (red encircled in the
> screenshot).

Reproduced.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 14 QA Administrators 2015-12-20 16:10:07 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2017-01-03 19:47:24 UTC Comment hidden (obsolete)
Comment 16 Telesto 2017-05-30 08:59:36 UTC
Repro with:
Version: 5.5.0.0.alpha0+
Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-28_23:21:44
Locale: nl-NL (nl_NL); Calc: CL
Comment 17 QA Administrators 2018-05-31 02:51:59 UTC Comment hidden (obsolete)
Comment 18 Roman Kuznetsov 2018-07-28 19:33:06 UTC
Created attachment 143807 [details]
DOCX in LO 6.1.0.2

bug still present in 6.1.0.2

and became worse (see attach)
Comment 19 QA Administrators 2019-07-30 03:12:43 UTC Comment hidden (obsolete)
Comment 20 Tobias Burnus 2019-08-05 10:00:49 UTC
Still the same issue in LO 6.2.2.2