Bug 106475 - FILEOPEN PDF: Javascript commands imported as text
Summary: FILEOPEN PDF: Javascript commands imported as text
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-10 12:53 UTC by miksi
Modified: 2023-11-13 06:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description miksi 2017-03-10 12:53:20 UTC
Some PDF files have Javascript-objects like this:
<</S /JavaScript /JS (_FindWord\(0, "HELLLO"\);)>>

LibreOffice Draw creates visible text-objects (f.e. "HELLLO") for those items on import instead of ignoring them. The resulting document is a mess because of all those additional pseudo text-objects.

Please do not convert Javascript command tags into text objects, or at least group them all together so users can simply delete them all at once after import.

Thank you.
Comment 1 V Stuart Foote 2017-03-10 14:23:30 UTC
Please post a sample multi page PDF document containing embedded JavaScript, along with a screen clip as opened into LibreOffice Draw.

Also, does inserting the PDF page as image (Insert -> Image) in Draw or Writer result in same rendering of the script's text? Inserting uses a different PDF import filter.
Comment 2 QA Administrators 2017-09-29 08:57:36 UTC Comment hidden (obsolete)
Comment 3 Xisco Faulí 2017-10-30 10:51:15 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20171030