Save again after one save has failed is not done

Bug #211735 reported by micool on 2008-04-04
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned

Bug Description

When a save action is done after one save which failed ( for instance because the file was accessed by an other software ) inkscape doesn't see any changes and do not save.

We have to modifie a little the drawing so that inkscape sees a change then saving is allowed.

(tested in Inkscape 0.46 win32 )

micool (flightsim) on 2008-04-04
description: updated
nightrow (jb-benoit) on 2009-05-02
tags: added: win32
Changed in inkscape:
status: New → Incomplete
David Jones (drj) wrote :

I see this bug on OS X. I've not reason to suppose that it is either win32 specific (as the tag suggests) or Unix specific.

When "save" doesn't save, that's quite serious.

One way to reproduce this bug (on Unix):

Start a new Inkscape document, add something to it and save it.

From a separate command line window, chmod the file so that it is not writable: "chmod -w foo.svg" should do.

In Inkscape add some text that says "spong", thereby changing the document.

Save it. Note that the save fails because the file cannot be written.

In the separate command line window, chmod the file back so it is writable again: "chmod +w foo.svg"

In Inkscape, save the document (without making any changes to it). Note the suspicious lack of anything.

In the separate command line window, verify that the document has not changed. For example, grep it to see if contains the word "spong": grep spong foo.svg

In Inkscape make a trivial change to the document, and undo it. Now save.

Observe that the document really has been saved this time.

jazzynico (jazzynico) on 2009-09-23
tags: added: saving
removed: save
su_v (suv-lp) on 2009-09-23
tags: removed: win32
theAdib (theadib) on 2009-09-23
Changed in inkscape:
status: Incomplete → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
su_v (suv-lp) wrote :

> Start a new Inkscape document, add something to it and save it.
>
> From a separate command line window, chmod the file so that it
> is not writable: "chmod -w foo.svg" should do.
>
> In Inkscape add some text that says "spong", thereby changing the
> document.
>
> Save it. Note that the save fails because the file cannot be
> written.

This has been fixed: see bug #353847 “Save over a read only file doesn't turn into Save As...”

Beluga (buovjaga) wrote :

Any suggestion on how to make the saving fail?

David Jones (drj) wrote :

@buovjaga use chmod as per my comment #1 https://bugs.launchpad.net/inkscape/+bug/211735/comments/1

Beluga (buovjaga) wrote :

After chmod +w and saving, I do see "spong" in the file.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92+devel 15119 (GTK3)

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

Other bug subscribers