How to let InkScape remember the last win position+size?

Post questions on how to use or achieve an effect in Inkscape.
pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

How to let InkScape remember the last win position+size?

Postby pstein » Sun Jul 01, 2012 8:02 pm

Assume I move the position and resize the main window of InkScape (under Win7).

Now when I exit+start InkScape the main window opens again with a pre-defined small size and odd position.

How can I tell InkScape to remember the last window position and size before exiting the last time?

How can I let InkScape remember it for other (sub)windows (e.g. preferences dialog) as well?

Peter

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to let InkScape remember the last win position+size?

Postby ~suv » Sun Jul 01, 2012 10:05 pm

pstein wrote:How can I tell InkScape to remember the last window position and size before exiting the last time?

Position and size of the document window are properties of 'Inkscape SVG' files (i.e. stored per document within the document itself). The default Inkscape preferences make Inkscape remember and restore those values for each opened document (see 'File > Inkscape preferences > Windows > Saving Window Geometry (Position and Size)').

If you open a new document, Inkscape takes position and size from the default template (either the shared one installed with Inkscape, or a custom default document in the user Inkscape profile). Recommended reading to learn how to work with templates in Inkscape:

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to let InkScape remember the last win position+size?

Postby brynn » Mon Jul 02, 2012 2:25 am

Hi Peter,
It doesn't work in Inkscape as well as in some other graphics programs. At least not yet. I have heard though, that this has been fixed and ready for a future release. I'm not sure if it will come with 0.48.3 (due this year) or with 0.49 (due next year).

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to let InkScape remember the last win position+size?

Postby ~suv » Mon Jul 02, 2012 2:57 am

brynn wrote:I have heard though, that this has been fixed and ready for a future release. I'm not sure if it will come with 0.48.3 (due this year) or with 0.49 (due next year).

You refer to the new feature in the current development branch to save and restore dialog states between sessions - that's a different feature from how the document window (aka main window) position and size is saved and restored between sessions (which works ok in current stable versions, be it 0.48.1, 0.48.2 or 0.48.3.1).

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to let InkScape remember the last win position+size?

Postby brynn » Mon Jul 02, 2012 1:30 pm

Thanks for clarification ~suv. I wasn't sure exactly how to describe it, which is why I used some rather vague language. But Peter did ask about remembering dialogs too.

pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

Re: How to let InkScape remember the last win position+size?

Postby pstein » Wed Jul 04, 2012 6:59 pm

~suv wrote: that's a different feature from how the document window (aka main window) position and size is saved and restored between sessions (which works ok in current stable versions, be it 0.48.1, 0.48.2 or 0.48.3.1).


Sorry - this is NOT true!

I tried out several times the following steps:

1. Start InkScape v0.48.2-1 portable
2. Resize and moved Main Window
3. Closed/exit InkScape
4. restart InkScape


...the main window appears always at the original ,initial, built-in and NOT at the last user customized position and size.

So again: How can I let IS remember position and size of main window?

Maybe this this feature not available in portable version?

I am using InkScape on 64bit Windows7

Peter

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to let InkScape remember the last win position+size?

Postby brynn » Wed Jul 04, 2012 7:15 pm

Oh, I'm sorry. I missed the part where you said you were using the portable version.

I'm afraid that I'm not familiar with that version. But I'm sure ~suv is, and will offer info related to that version.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to let InkScape remember the last win position+size?

Postby ~suv » Wed Jul 04, 2012 7:33 pm

brynn wrote: But I'm sure ~suv is, and will offer info related to that version.

I'm not going to repeat the information I already provided earlier (hint: Inkscape preferences for window position+size, templates).

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to let InkScape remember the last win position+size?

Postby ~suv » Wed Jul 04, 2012 7:42 pm

With regard to the portable version: maybe pstein ought to ask in the portableapps.com forum - I don't know how much Inkscape was tweaked for that special installer (nor can I test in any way since I don't have Windows installed)

My assumption based on pstein's other question is that the portable version saves the preferences for the current user on the system (not the stick), and loads resources (like templates) from the installation directory on the stick. Thus user preferences (and changes to them) and custom user resources (like templates) won't be available if the stick is plugged into a different computer, or Inkscape is launched by a different user on the same computer.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to let InkScape remember the last win position+size?

Postby ~suv » Wed Jul 04, 2012 8:08 pm

pstein wrote:
~suv wrote: that's a different feature from how the document window (aka main window) position and size is saved and restored between sessions (which works ok in current stable versions, be it 0.48.1, 0.48.2 or 0.48.3.1).


Sorry - this is NOT true!


Did you read my first reply here in this topic, and looked at the available preferences in Inkscape for Window position?

Unless you delete the prefs each time (because you think they are saved to the wrong location), changing the setting for 'Saving window geometry (size and position)' like in the screenshot below ought to work for you (it does for me):
remember-and-use-last-window's-geometry.png
remember-and-use-last-window's-geometry.png (57.41 KiB) Viewed 3523 times

Alternatively - as mentioned before - you can set a custom size and position via a user default template (and use the original setting for 'Saving window geometry (size and position)': Save and restore window geometry for each document.

pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

Re: How to let InkScape remember the last win position+size?

Postby pstein » Wed Jul 04, 2012 8:43 pm

@suv: You are right.

I must have missed that.
Thank you. It works :-)


Return to “Help with using Inkscape”