Comment 7 for bug 1190828

Revision history for this message
Patrick Storz (ede123) wrote :

In fact I'm seeing a very similar issue in Inkscape 0.91 on Windows 7.

At least for my platform I found the cause of the issue:
- If Inkscape's default window size is set to "large" it's size is set to about 75% of desktop width/height.
- However the width/height of the desktop is calculated as the total width/height of all displays attached!

For example if you have two displays connected and set-up with a side-by-side layout, Inkscape's window will be much too wide to fit on a single display on startup. Similarly if you have arranged the displays on top of each other the window will be much too high.

I think the best solution would be to detect the width/height of the display Inkscape is going to be displayed on initially and use those dimensions to calculate the initial window size.
If this is not (easily) possible it would probably be an alternative to detect the dimensions of the *smallest* attached display and use those for calculation.