Inkscape always opens new blank doc at 35% zoom - why?

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed below into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek: :tool_selector: :tool_node: :tool_tweak: :tool_zoom: :tool_rectangle: :tool_3dbox: :tool_ellipse: :tool_star: :tool_spiral: :tool_pencil: :tool_pen: :tool_calligraphic: :tool_paintbucket: :tool_text: :tool_connector: :tool_gradient: :tool_dropper:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Inkscape always opens new blank doc at 35% zoom - why?

Re: Inkscape always opens new blank doc at 35% zoom - why?

Post by brynn » Thu Mar 11, 2010 1:00 pm

Wow, thanks ~suv.
I will dive into that tomorrow (getting late here).
Thanks again :D

Re: Inkscape always opens new blank doc at 35% zoom - why?

Post by ~suv » Thu Mar 11, 2010 12:31 pm

Initial zoom factor (and the center point of the zoomed document) is stored within each SVG file, not in the global preferences:

The default template for example has these values:
Code: Select all
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.35"
     inkscape:cx="375"
     inkscape:cy="520"
     inkscape:document-units="px"
     inkscape:current-layer="layer1" />


If you want your default new document to use a different initial zoom level, you can either
  • edit the default template stored system-wide as 'Inkscape\share\templates\default.svg' (in the install directory of inkscape), or
  • create your personal default template with custom settings and save it as 'default.svg' in '%APPDATA%\Inkscape\templates\' ('templates' is a sub-folder in the Inkscape profile folder - the location of 'preferences-xml')
    ('%APPDATA%' is 'C:\Documents and Settings\[USERNAME]\Application Data' on XP)

somewhat related request on Launchpad (allow custom values based on default template):
Bug #314569 “File->New->Custom
Blueprint “'New from template' dialog
Blueprint specification "NewFromTemplateSpec"

Re: Inkscape always opens new blank doc at 35% zoom - why?

Post by brynn » Thu Mar 11, 2010 12:28 pm

Hhm?...I tried that....but I've been having some trouble with version 0.47 Inkscape Prefs where I have to restart before a change I've made takes effect. I started a topic about it, because a couple of members that I've helped with their issues had noticed the same thing. But the topic didn't result in a solution, or even enough support that I felt good about reporting at Launchpad.

I'll do some more tinkering and see if I can get it to stick.
Thanks micro :D

Re: Inkscape always opens new blank doc at 35% zoom - why?

Post by microUgly » Thu Mar 11, 2010 7:47 am

In the Inkscape Preferences, under Windows, there's a setting that controls how the window size and geometry is restored. By default, Inkscape saves this information into each document and then loads it from the document. So your zoom factor is actually stored in the default template. So all you need to do change the zoom then save the template again.

Inkscape always opens new blank doc at 35% zoom - why?

Post by brynn » Thu Mar 11, 2010 6:52 am

Hi Friends,
This is something that has annoyed me since I opened Inkscape for the very first time. New blank documents always open at 35% zoom. I don't know why in the world a new blank doc should be anything but 100% for the default. I assume it happens like this because 35% allows the whole image border to fit in one window. But I rarely...no, I never have, and never would expect to try and start creating an image at 35%. Now I wouldn't mind if saved docs opened this way, however it seems that saved docs open at whatever was the zoom when last saved.

Is this the same for everyone? Or is it some byproduct of my screen resolution (800 x 600) or something else about my system (Windows XP Home sp3) or other?

Or is there some either system setting or Inkscape setting that I can change? I've tried changing the Window Geometry setting in Inkscape Preferences, even though I don't think window geometry should affect the new document zoom or size.

Would this solution work to get 100% zoom on new docs? I'm thinking not, since the zoom isn't controlled by Doc Prop.
https://answers.launchpad.net/inkscape/+question/44047

I haven't found any requests for a change in this respect, at Launchpad (although my searches aren't often successful there). But I may submit one, if there isn't a solution.

Thanks for your help :D

Top