Save As Dialog: defaults to wrong path + fails to remember

Bug #167776 reported by Bug Importer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

A.1.a) Go to the start menu. Edit the shortcut that
starts Inkscape. Have it start Inkscape in some
directory of your choice.
A.1.b) Set some environent "HOME" to some folder of
your choice.
A.2) Open Inkscape. File->Save As. In the dialog
«Select file to save to» the dropdown «Save in folder»
is greyed out. Neither of the above folders is
prefilled, but the directory where Inkscape.exe is
located. It does not crash, but the user is not
supposed to have any rights to write into that folder.

BUG.A: Sort of correct was folder A.1.a prefilled.
Expecable behaviour was to use the %HOME% environment
as a default. Usual behaviour for NT was to use
%HOMEDIR%%HOMEPATH% environment. Correct was to read
out
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\Personal or My Pictures.

---

B.1 Open Inkscape. File->Save As. Save the file to some
folder of your choice, e.g. HOME.

B.2 Again: File->Save As. HOME is prefilled. «Save in
folder» is still grayed out. Save to another folder of
your choice, e.g. "HOME\My Pictures".

B.3 Again: File->Save As. My Pictures is prefilled.
«Save in folder» is still grayed out.

B.4 Close (all instances of) Inkscape.

B.5 Check preferences.xml:
<group
id="save_as"
default="org.inkscape.output.svg.inkscape"
append_extension="1"
path="M:\HOME\My Pictures" />

B.6 Reopen Inkscape. File->Save As. Does not propose
the last used path ("M:\HOME\My Pictures") nor one of
the folders proposed in (A) above but the directory of
inkscape.exe again

B.7 Edit preferences.xml, remove the default line:
<group
id="save_as"
append_extension="1"
path="M:\HOME\My Pictures" />

B.7 Again (B.6).

B.8 Again (B.5), "path"-line remains unchanged. The
"default"-line that was removed in (B.7) was recreated.

BUG.B1: See (A) above. And it really looks like the
"path"-line should be used as the default.

BUG.B2: What is about this grayed out «Save in folder»
thingy?

---

Inkscape 0.44 WinNT5.1

Tags: ui win32
Revision history for this message
Kees Cook (kees) wrote :

This may be a duplicate of bug 1089414.

Revision history for this message
Bryce Harrington (bryce) wrote :

Originator: NO

Bug 1089414 is marked fixed - can someone confirm if that also fixed this
issue?

Bryce Harrington (bryce)
Changed in inkscape:
status: New → Incomplete
Changed in inkscape:
assignee: jon-joncruz → joel-airwebreathe
Revision history for this message
imigital (imigital) wrote :

STATUS CHANGED: from Incomplete to Invalid

CLOSED as out of date.
Bug Triage: older than 1 month with no reply

Changed in inkscape:
status: Incomplete → Invalid
Changed in inkscape:
assignee: joel-airwebreathe → nobody
status: Invalid → New
theAdib (theadib)
Changed in inkscape:
status: New → Triaged
Revision history for this message
Maximilian Albert (cilix) wrote :

Could someone working on Windows please report what the current behaviour is and if any of the described issues are fixed? I recently commited some changes to the Save dialogs but I cannot test the status on Windows and do not know if my changes relate to anything described here. Thanks.

(BTW, perhaps it would be cleaner to close this report and open a new one which describes any remaining issues in the current SVN version.)

Revision history for this message
theAdib (theadib) wrote :

Here is what I discovered using todays svn 22069:
as we have now win32 dialogs there is no "grey-out" edit field.
I removed my inkscape preferences before testing.
A2) lead me to a directory that I used recently. But not listed in home, homedir, homepath, nor the users document directory
B1) ok
B2) ok
B5) ok, gives correct path in preferences
B6) ok, it uses last proposed path

The only one question remains: where does inkscape takes the default path if there is no inkscape.preferences?

So the (first part of the) issue description is still present "Save As Dialog: defaults to wrong path ..."

HTH, Adib.

Revision history for this message
uwestoehr (uwestoehr) wrote :

I don't understand comment 5 and therefore describe the current situation of o.47 under Windows as I see it:

- open an SVG file that is e.e.g in the folder "C:\Download"
- press Save As

result: the appearing dialog is in the folder you used the last time, but not in C:\Download from where you opened the file. This is extremely annoying and not illogical. When Saving As you want (in more than 90% of the cases) to have the file saved in the same folder as the original such that this folder should be the default and not the last used one.
Inkscape is the only Windows application that I have installed where this is not the case, so that this is in my opinion a bug.

This is moreover a regression to Inkscape 0.46 if I remember correctly. if this bug is different from the initial bug report, please tell me and I'll report it separately.

Revision history for this message
uwestoehr (uwestoehr) wrote :

The bug is fixed for me (as described in comment #6) on Windows XP in Inkscape 0.48.

Revision history for this message
uwestoehr (uwestoehr) wrote :

change status to Fix Released

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.