Save as dialog regression with filename

Bug #530957 reported by uwestoehr
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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)
Changed in inkscape:
status: New → Confirmed
jazzynico (jazzynico)
tags: added: saving ui win32
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
Stuart P. Bentley (stuart) wrote :

Does this not affect other operating systems?

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

Revision history for this message
uwestoehr (uwestoehr) wrote :

This bug is still present in Inkscape 0.48.

Revision history for this message
uwestoehr (uwestoehr) wrote :

This bug is so annoying!!!

Isn't this really that complicated to fix?

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

Revision history for this message
Johan Engelen (johanengelen) wrote : Re: [Bug 530957] Re: Save as dialog regression with filename

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

Revision history for this message
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)
Changed in inkscape:
milestone: none → 0.49
tags: added: backport-proposed
Revision history for this message
Johan Engelen (johanengelen) wrote :

committed to 0.48.x

Revision history for this message
su_v (suv-lp) wrote :

Inkscape 0.48.x: revision 9768

Changed in inkscape:
milestone: 0.49 → 0.48.2
jazzynico (jazzynico)
tags: removed: backport-proposed
Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → 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.