It would be great to have a possibility to open a PDF document immediately after creation by PDF export in the default PDF viewer, so that user can check immediately and without much work whether export is correct (for example because of "Bug 31606 - Exporting a selection of pages to PDF has pagerange wrong because of blank pages", but there are many other reasons)
Different possible solutions might be
A.: Export Option "Open after export in default viewer"
B.: Toolbar with button "open latest PDF export"
C.: or Toolbar with pulldown (latest 10 exports, may be incl html, ...)
D.: Additional item in file menu
E.: Export Option "Open after export in default viewer" in 'Tools > Options'
F.: may be other possibilities
A completely different approach shows
Bug 37219 - Add exported PDF files to recent documents
May be you want to vote for this enhancement request on the nonofficial Voting Page?
I'd like to suggest two more solutions:
- In the export dialog, add another button next to "Export" labeled "Export and open". The drawback is that it doesn't work when using direct export from the toolbar.
- Add a pulldown to the "Direct export to PDF" toolbar button, with one item "Open exported PDF" when an export of the current document was done. I don't think it makes sense showing latest 5 exports or so, because they wouldn't be related to the current document, and thus to your current task.
Adding a new toolbar button would be too much IMHO, the general UI is already complex enough.
WRT bug 37219 - Add exported PDF files to recent documents:
As I explained on that report, these two bugs have much in common, but are not completely redundant. As I see it, bug 37219 would make the problem addressed in the present report easier to circumvent, but it wouldn't completely fix the very common use case "Export a PDF, check the result". We need a correct solution *within LO* that doesn't require the user to go and find the exported file by hand.
I have two more suggestions:
Some desktop environments (like KDE) allow showing notifications with buttons in it. LibO could show such a notification saying "xy.pdf saved to /whereever" and provide an "Show in Folder" button. This kind of notification is also used when a download has finished.
Alternatively, a notification system somilar to IE9 could be implemented. So when a document has been exported, a notification is shown above the status bar. The notification should disappear automatically after a few seconds and this kind of notification might also be used for some other purposes.
There are already mockups of a possible information bar: http://wiki.services.openoffice.org/wiki/File:DiMaS_Document_HiddenNotesPane.png
This should not be too difficult
This is inherited from OOo
anuragkanungo committed a patch related to this issue.
It has been pushed to "master":
fdo#37222 and possibly fdo#37219
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
(In reply to comment #7)
> anuragkanungo committed a patch related to this issue.
> It has been pushed to "master":
Tested using Mac OSX 10.8.3 with LibreOffice Version: 220.127.116.11.beta2
Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6; I get an error after I File > Export as PDF and check "View PDF after Export".
Error saving the document <document name>:
The file could not be written.
@Anurag: Can you reproduce this behavior?
Kind regards and thanks in advance,
I did it on Open Suse and it was working fine there , as i don't have Mac OS X , so if some one else can verify the bug , that would be great .
Have you tried saving with some other name and was it working fine without checking the " View PDF after export " box ?
(In reply to comment #9)
> I did it on Open Suse and it was working fine there , as i don't have Mac OS
> X , so if some one else can verify the bug , that would be great .
@Thomas: you mind test this? Please see Comment 8 :-).
> Have you tried saving with some other name and was it working fine without
> checking the " View PDF after export " box ?
I did. It worked without checking that box. I tried several names and folder. All with that warning.
Thanks for your time,
@joren: Yes I get that error wen I want to export a file.
Running LibreOffice Version: 18.104.22.168.beta2
Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6 on Mac osx 10.8.3.
Should it be reopenend?
I mark this enhancement request as "Resolved -> Fixed", because this features actually is implemented. It also works nicely on Ubuntu 13.03 with LibreOffice 22.214.171.124.
If you still encounter a bug related to this enhancement, I suggest that you file a new bug for it and add a note in this bug, too.
(In reply to comment #8)
> Tested using Mac OSX 10.8.3 with LibreOffice Version: 126.96.36.199.beta2
> Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6; I get an error after I
> File > Export as PDF and check "View PDF after Export".
> Error saving the document <document name>:
> Write Error.
> The file could not be written.
@Jorendc: Could you please test with the latest dev builds? I think it should be fixed with http://cgit.freedesktop.org/libreoffice/core/commit/?id=7722a5906d8f6765395205f5074f480ad365aa19, but I don't own a Mac so I can't test it.
(In reply to comment #13)
> (In reply to comment #8)
> > Tested using Mac OSX 10.8.3 with LibreOffice Version: 188.8.131.52.beta2
> > Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6; I get an error after I
> > File > Export as PDF and check "View PDF after Export".
> > Error saving the document <document name>:
> > Write Error.
> > The file could not be written.
> @Jorendc: Could you please test with the latest dev builds? I think it
> should be fixed with
> ?id=7722a5906d8f6765395205f5074f480ad365aa19, but I don't own a Mac so I
> can't test it.
Still reproducible, I'll file a separate bug report for it.
Thanks for testing and pointing out it works Maxim/Gerry!
(In reply to comment #14)
> Still reproducible, I'll file a separate bug report for it.
No need to report another bug anymore :) :
Not reproducible anymore using Mac OSX 10.9 with LibreOffice Version: 184.108.40.206.alpha1+
Build ID: d93433ba1181f5d8f6ded0ed0c103df10ebb1f22
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2013-11-20_13:04:00
So probably fixed by Bug 68099.
Migrating Whiteboard tags to Keywords: (ProposedEasyHack -> needsDevEval)