After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 371975 - Temporary file for preview isn't deleted
Temporary file for preview isn't deleted
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Printing
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-07 12:41 UTC by Yevgen Muntyan
Modified: 2006-11-07 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yevgen Muntyan 2006-11-07 12:41:28 UTC
Print preview creates /tmp/preview-XXXX.pdf file and never deletes it.
Comment 1 Christian Persch 2006-11-07 13:11:41 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 365282 ***
Comment 2 Yevgen Muntyan 2006-11-07 16:08:42 UTC
I am sorry, but it's not evince bug, it's gtk bug. I am not using evince at all, and still get preview-XXXXXX.pdf files hanging in /tmp.
Comment 3 Behdad Esfahbod 2006-11-07 17:23:48 UTC
(In reply to comment #2)
> I am sorry, but it's not evince bug, it's gtk bug. I am not using evince at
> all, and still get preview-XXXXXX.pdf files hanging in /tmp.

There's no way that Gtk+ can now when to delete it.  That's documented:

     /**
       * GtkSettings:gtk-print-preview-command:
       *
       * A command to run for displaying the print preview. The command
       * should contain a %f placeholder, which will get replaced by
       * the path to the pdf file.
       *
       * The preview application is responsible for removing the pdf file
       * when it is done.
       *
       * Since: 2.10
       */

It's a NOTABUG then.