Comment 1 for bug 1474710

Revision history for this message
su_v (suv-lp) wrote : Re: canvas too big

Please clarify what is actually "too big" specifically when opening PDF files in Inkscape 0.91.

1) The Canvas: the canvas area is always the same, independent of the source of the drawing/document - it generally refers to the entire drawing area (while 'Page' refer to a specified region of the Canvas corresponding to a defined output area). This has not changed in Inkscape 0.91.

2) The Page area of a PDF document opened in Inkscape is taken from the PDF document - this has not changed in Inkscape 0.91, and is not in control of Inkscape - it's how the PDF file was created. This has not changed in Inskcape 0.91.

3) The document Window: the initial size of the Inkscape document window when opening file formats other than Inkscape SVG is taken from the template stored in the preferences (initial default document window width: 640, default document window height: 480 [1]). There is no GUI to edit this default template skeleton, but you could edit the preferences file in a plain-text editor and change it if a different document window size is preferred. This has not changed in Inkscape 0.91.

4) The document window size may also be influenced by the user's settings in 'Edit > Preferences > Interface > Windows' (in earlier versions of Inkscape, this would have been in 'File > Inkscape preferences > Windows').

5) The document window size for new (empty) Inkscape documents: a noticeable change in 0.91 (compared to 0.48) is that the default size of a _new_ (empty Inkscape SVG) document is now 'maximized' (on popular demand, as tracked in bug #830663) - the user can change this behavior in 'Preferences > Interface > Windows > Default window size' ('Small' will restore the behavior of 0.48, 'Medium' will use a window size of 75% relative to the screen size as reported by Gtk+ to Inkscape [2]).

Tip: Note that Inkscape comes with predefined view / zoom shortcuts, and that typing '5' will always zoom to the page area, '4' will zoom to the extents of the drawing content, and '3' to the current selection if one exists. These presets (also available menu 'View > Zoom', and on the controls bar of the Zoom tool) may help in case you got lost and scrolled the canvas area far off from any visible drawing content).

On 2015-07-15 09:18 (+0200), Ryo Furue wrote:
> (...) Mac OS 10.10.4 .

Just curious - do you use a multi-screen setup? There is a known incompatibility of XQuartz with OS X Mavericks and later (tracked for Inkscape in bug #1244397) which may affect window position (and possibly also screen sizes as reported by Gtk+ from XQuartz) - according to the main XQuartz developer, turning off "Displays have separate spaces" in Mission Control can help if you need to use X11 across multiple displays.

--
[1] http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/view/head:/src/preferences-skeleton.h#L60
[2] http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/view/head:/src/sp-namedview.cpp#L759
   http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/view/head:/src/sp-namedview.cpp#L828