Bug 97951 - Draw not registered with OS as a PDF editor
Summary: Draw not registered with OS as a PDF editor
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected) rc
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevEval, topicUI
Depends on:
Blocks: PDF-Import-Draw File-Association
  Show dependency treegraph
Reported: 2016-02-17 21:15 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-09-22 17:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-17 21:15:55 UTC
Draw has the ability to edit PDFs, but this feature is heavily unknown to users, and this feature could be more easily exposed if Draw was registered as a PDF opener/editor, so if a user right-clicked on a PDF file, they would have the option to open it with Draw.
Comment 1 Yousuf Philips (jay) (retired) 2016-02-17 21:37:50 UTC
I would assume that this feature should be easy to implement on other platforms, as i've sent in a patch to fix it on linux.

Comment 2 steve 2016-02-17 22:32:00 UTC
Confirmed on OS X.
Comment 3 V Stuart Foote 2016-02-18 00:22:49 UTC
@Jay, *

Yes file association can be made, but I would strongly caution against claims positioning LibreOffice as a PDF editor.

In reality, Draw does not and cannot "edit" PDF -- rather, we filter import the PDF and then render the import results as Draw objects.  We can not save back to the original PDF, rather we must complete an export filter writing output to PDF.

And, simply put, filters in both directions have fidelity issues.

As you know, numerous occasions where folks have also asked for a more prominent "Save as PDF". Because that would have suggested that LibreOffice can do something that it could not it was been down played--instead categorizing our handling PDF clearly (and safely) as an Export capability. Some of the devs have pretty strong opinions that we not pursue this association. 

In addition, while Draw is the "default" target for filter import of PDF--Writer and Impress do just fine with the existing pdf import filter.

Also, the "Save as Hybrid PDF" of embedding ODF into PDF is kind of useful--extending it for LibreOffice users, but is hardly standard PDF and has other negative ramifications as there is no effective way to identify a LibreOffice Hybrid PDF from any other PDF. (some ugly reading on that in bug 82509 and bug 79811).
Comment 4 V Stuart Foote 2016-02-18 00:24:44 UTC
@Jay, *

moving to filters and storage as this is NOT a Draw issue -- that just happens to be the default module assigned to receive the filter imported PDF on opening.
Comment 5 Yousuf Philips (jay) (retired) 2016-02-18 13:28:05 UTC
Hey Stuart,

Yes i would never claim it is a full-fledged pdf editor like Adobe Acrobat, Nitro Pro, or PhantomPDF, but it does have sufficient pdf editing capabilities for the novice user who may want to move a picture around or edit some text in it and then save it back as a pdf.
Comment 6 Yousuf Philips (jay) (retired) 2016-03-03 03:06:02 UTC
So the patch went in but i forgot to include the bug report number, so it would be CCed here. :D