Save again after one save has failed is not done

Bug #211735 reported by micool
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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 )

Tags: saving
micool (flightsim)
description: updated
nightrow (jb-benoit)
tags: added: win32
Changed in inkscape:
status: New → Incomplete
Revision history for this message
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)
tags: added: saving
removed: save
su_v (suv-lp)
tags: removed: win32
theAdib (theadib)
Changed in inkscape:
status: Incomplete → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
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...”

Revision history for this message
Beluga (buovjaga) wrote :

Any suggestion on how to make the saving fail?

Revision history for this message
David Jones (drj) wrote :

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

Revision history for this message
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)

Changed in inkscape:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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