Bug 98502 - Insert->Document fails in writer with PDF (with -pdfimport installed), "open" works
Summary: Insert->Document fails in writer with PDF (with -pdfimport installed), "open"...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.5.1 rc
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-07 15:36 UTC by Stéphane Aulery
Modified: 2016-03-09 00:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the errror message (7.47 KB, image/png)
2016-03-07 15:36 UTC, Stéphane Aulery
Details
Screenshot of the errror message with 5.1.0.3 on Windows 7 (173.51 KB, image/png)
2016-03-08 00:04 UTC, Stéphane Aulery
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Aulery 2016-03-07 15:36:08 UTC
Created attachment 123387 [details]
Screenshot of the errror message

It is impossible to insert a PDF document in an ODT file. There is always a read error.

For writer to be a fully-fledged MS word replacement, this is pretty
important.
Comment 1 m_a_riosv 2016-03-07 23:29:01 UTC
Hi Stéphane, thanks for reporting.

I can't reproduce.
Win10x64
Version: 5.0.5.2 (x64) Build ID: 55b006a02d247b5f7215fc6ea0fde844b30035b3

For the title looks as if you have installed the PDF import extension, it's no needed because actually it is part of LibreOffice. If so please uninstall the extension and test again.

If the issue persist, please try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affects all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 2 Stéphane Aulery 2016-03-08 00:04:22 UTC
Created attachment 123393 [details]
Screenshot of the errror message with 5.1.0.3 on Windows 7
Comment 3 m_a_riosv 2016-03-08 00:08:34 UTC
Please what are the steps you follow to insert the file?
Comment 4 Stéphane Aulery 2016-03-08 00:19:27 UTC
I retested with LO 5.1.0.3 on Windows 7, this bug resists. I do not use any extension.

Initially this bug was reported by a Debian user and I retested.

Stpes to follow:

1. Open LO writer
2. Click on menu Insert->Document
3. Choose a PDF with the dialog and valid (I take my CV, I did with LO Writer)
Comment 5 Stéphane Aulery 2016-03-08 00:24:48 UTC
I have not forgotten to reset the configuration before!
Comment 6 MM 2016-03-08 23:51:32 UTC
I don't think insert>document was ever intended to open pdf files. So that's why there's an error. But it would be nice if the error was a bit more informative and not just a 'read-error'.
Comment 7 m_a_riosv 2016-03-09 00:09:31 UTC
@MM then I think would be better open a new bug as request for enhancement.

Close this one as 'notabug' looks fine, please if you are not agree reopen it.
Comment 8 Stéphane Aulery 2016-03-09 00:22:54 UTC
See https://bugs.documentfoundation.org/show_bug.cgi?id=98533 for enhancement.