Bug 70957 - (Windows only?) pdf show after export fails if the pdf file doesn't already exist (first export and so on)
Summary: (Windows only?) pdf show after export fails if the pdf file doesn't already e...
Status: RESOLVED DUPLICATE of bug 68099
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.1.3.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 12:41 UTC by Carlo Strata
Modified: 2013-10-28 16:00 UTC (History)
0 users

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 Carlo Strata 2013-10-28 12:41:43 UTC
Hi Everyone,

from italian user mailing list [users-it]
http://listarchives.libreoffice.org/it/users/msg01378.html

I want to file a perhaps new bug (I havent found nothing similar to the known open bugs).

My system:
----------
- Microsoft Windows 8.1, 64 bit, updated, ita guied;
- LibreOffice 4.1.3.2 (but the bug seem to be documentable since 4.1.1.2 release), from here:
http://dev-builds.libreoffice.org/pre-releases/win/x86/
but not from here yet, at the moment:
http://download.documentfoundation.org/libreoffice/testing/4.1.3/win/x86/
- Adobe Acrobat Reader XI, MUI, 11.0.5, win32, ita guied;
- pdfforge GmbH PDF Architect, 1.1.83.9982, win32, ita gui selected.

The Bug:
--------
The bug presents itself both on using Acrobat Reader or PDF Architect as Windows (System) pdf default viewer.

On Windows only systems (it seems) and on all LibreOffice's applications, if you enable "pdf show after export" in the File -> "Export in PDF format" windows, you get an error Window.

That Window, probably still from LibreOffice because it doesn't change from Acrobat or PDF Architect, says that was unable to open the pdf file and suggest to check the pdf file name and retry. In any case, the pdf export itself goes fine, but the default viewer doesn't open.

If the pdf file already exist on the export folder (next exports of the same file and so on), all goes fine (and the showed pdf is in the right version too)! The "already existing file" may also be an empty ".pdf renamed" txt file and all still goes fine!

It seems that the system call to the system default pdf viewer is somewhat performed before the real pdf creations and lock o something similar.

Finally , it seems that the bug affects Microsoft Windows only systems because in these first cases all seems to go well:
1.
- Kubuntu 13.04 / KDE 4.11.2
- LibreOffice 4.1.2.3
2.
- Debian Jesse
- libreoffice 4.1.1-1+b1


How to reproduce the bug
------------------------
- On Microsoft Windows systems;
- open LibreOffice Writer (for example);
- write on it some words or letters;
- go to the File -> "Export in PDF format" window;
- check the (default unchecked!!!) following option "Show the PDF after export" and click on "Export";
- choose an unexisting (!) pdf file name and click on "Save";
- enjoy the error alert window. ;-)


Hope giving you the right informations.

Have a sunny day,

Carlo

p.s. May somewhat related to the Bug 51347
https://bugs.freedesktop.org/show_bug.cgi?id=51347
Comment 1 Maxim Monastirsky 2013-10-28 16:00:17 UTC
Hi,
Thanks for reporting this bug. It's already reported as Bug 68099.

*** This bug has been marked as a duplicate of bug 68099 ***