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 681226 - LaTeXila: Save temporary files
LaTeXila: Save temporary files
Status: RESOLVED FIXED
Product: gnome-latex
Classification: Other
Component: general
2.4.x
Other Linux
: Normal enhancement
: unspecified
Assigned To: LaTeXila maintainer(s)
LaTeXila maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-05 11:25 UTC by Michael Holtermann
Modified: 2012-08-05 22:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Holtermann 2012-08-05 11:25:59 UTC
Hi,

if I write some LaTeX and click LaTeX->PDF (latexmk) before I saved the file, LaTeXila saves a temporary file below /tmp.

This is fine, unless you reboot and get lost of that file.

Suggestion:
- don't store the file automatically, ask the user to do so
- store it in /tmp, but ask for "real" storage at exit.

I'm using LaTeXila 2.4.0 from Ubuntu 12.04.

Regards,
Michael.
Comment 1 Sébastien Wilmet 2012-08-05 14:13:47 UTC
Yes, maybe the name "tmp.tex" [1] is not sufficient to warn users that the file can be lost.

Instead of creating dialog windows to ask/warn the user, an information message at the top of the file is more convenient I think. With a button to save the file in another location.

[1] And the fact that the user didn't choose the name and the location of the document.
Comment 2 Michael Holtermann 2012-08-05 17:26:02 UTC
Sounds nice. If the user is clearly made aware of the "issue", this would be a proper solution.

I think any document lost must be avoided. If the user "stumbles" upon the notice, it would be fine.

If there is a chance she oversees that notice, a more offensive solution should be preferred.

Regards, Michael
Comment 3 Sébastien Wilmet 2012-08-05 22:17:47 UTC
This is now fixed:
http://git.gnome.org/browse/latexila/commit/?id=b605aedd82edbf068a3322934eff5ebf50e2fa6d

It will be available in the next major version (2.6).

> If there is a chance she oversees that notice, a more offensive solution should
be preferred.

The warning is clearly visible, no problem anymore. Thanks for the suggestion!