Save as dialog regression with filename

Bug #530957 reported by uwestoehr on 2010-03-02
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Johan Engelen

Bug Description

- open Inkscape 0.47 and create a new file
- save it under the name "test.svg"

Now you want to have a copy of your file as PDF. You therefore use the file Save As dialog and swithch there to PDF as output format.
The bug is that this dialog does not propose a filename.

In more than 90% of all cases you save a file with a similar name as the origianl file, e.g.
test.svg as test-2.svg
and the like. When saving as another format you even want to have the same filename, e.g.
test.svg as test.pdf

It is very annoying, especially when you have long filenames, that the Save As dialog does not propose the current filename as in all other applications I know.

This bug is a regression to Inkscape 0.46 and might be a duplicate of bug 171932 (the status of this is not clear to me) #171932

I'm using Windows XP.

dopelover (dopelover) on 2010-03-03
Changed in inkscape:
status: New → Confirmed
jazzynico (jazzynico) on 2010-03-03
tags: added: saving ui win32
Changed in inkscape:
importance: Undecided → Medium
Stuart P. Bentley (stuart) wrote :

Does this not affect other operating systems?

su_v (suv-lp) wrote :

Stuart P. Bentley wrote:
> Does this not affect other operating systems?

No, the Windows port uses its own version of native dialogs in 0.47 (afaik based on user requests).

uwestoehr (uwestoehr) wrote :

This bug is still present in Inkscape 0.48.

uwestoehr (uwestoehr) wrote :

This bug is so annoying!!!

Isn't this really that complicated to fix?

Johan Engelen (johanengelen) wrote :

The file saving code is super obfuscated.
But I "fixed" it, after a lot of hair pulling. It now enters the current filename as default. It removes the extension, that is, it removes all text after the last dot in the filename string. I hope that works for 99% of the cases.

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
status: Confirmed → Fix Committed
su_v (suv-lp) wrote :

@Johan - would you consider it safe to backport the fix (r10107) to the 0.48.x branch for 0.48.2?

Sure, just copy the patch. Or you want me to do it?

su_v (suv-lp) wrote :

> Or you want me to do it?

Yes :)

(… else I'll ping JazzyNico or ScislaC. I know I have to tackle making such commits myself some day ;) )

jazzynico (jazzynico) on 2011-03-17
Changed in inkscape:
milestone: none → 0.49
tags: added: backport-proposed
Johan Engelen (johanengelen) wrote :

committed to 0.48.x

su_v (suv-lp) wrote :

Inkscape 0.48.x: revision 9768

Changed in inkscape:
milestone: 0.49 → 0.48.2
jazzynico (jazzynico) on 2011-06-13
tags: removed: backport-proposed
Ted Gould (ted) on 2011-09-07
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers