evince. Delete a folder while saving a file

Bug #180065 reported by Id2ndR
256
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

The summary should be change to another more precise.
The example bellow is just what happened to me. It should be the same with every "save as" dialog window (gnome).

Step to reproduce :
- open firefox, chose an hyperlink with a pdf file. Chose open with evince
- use File -> Save a copy.
- In the dialog, click on document folder
- chose . as filename

Result : folder is deleted, without been moved to trash, and the pdf file is save with the folder rame

Expected result :
- An error should be displayed : filename required. Or you should be able to save the file.
- The folder SHOULDN'T be destroyed by such a mistake

(If someone knows how to recover my Documents folder, please tell me)

Revision history for this message
Id2ndR (id2ndr) wrote :

Fixed in hardy (evince 2.21.90)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the update, closing the bug

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Fix Released
Revision history for this message
Id2ndR (id2ndr) wrote :

There is an other issue : now evince crash with alpha 4.

Step to reproduce :
- open a file
- chose File>Save a copy
- chose "all file" as file type. Select a existing folder, and use "." as filename.
- chose save and there evince will crash :

$ evince '/tmp/BE10.pdf'

(evince:16262): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(evince:16262): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Error opening file '/tmp/untitled folder': Is a directory
Segmentation fault (core dumped)

Changed in evince:
status: Fix Released → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

That's a different bug than the one that you reported. Please follow these instuctions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.

Changed in evince:
status: New → Invalid
Revision history for this message
Id2ndR (id2ndr) wrote :

Ok, I've created bug #192458

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.