https://bugs.freedesktop.org/show_bug.cgi?id=44071

             Bug #: 44071
           Summary: Export to "bar.pdf" tries to access "bar" (without the
                    .pdf), and gives warning if "bar" does not exist.
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: PDF export
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Exporting to pdf erroneously tries to access a file with a name which is the
output file name without the .pdf suffix.   For example, if exporting to
"bar.pdf", then the file "bar" is accessed.   If it does not exist, a
nasty-looking GTK warning is printed.

I suspect this has something to do with how the GTK file chooser is invoked.

For example,

lowriter /home/jima/foo.odt
File->Export as PDF
(file chooser dialog appears)
(Optional: Type "bar" in the file-chooser filename window, overriding the
default)
Click Save
(Then get the warning:)

Gtk-WARNING **: Unable to retrieve the file info for `file:///home/jima/bar':
Error stating file '/home/jima/bar': No such file or directory

A similar warning appears if you leave the default output file set to
"foo"[.pdf]

NOTE: If a file /home/jima/bar DOES exist, the warning does not occur.  So the
file must be actually accessed.  That is a bug because such a file should not
be touched (it has nothing to do with the transaction).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to