Comment 4 for bug 1659256

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

@jazzynico:
Is this issue actually still present in revisions >= r15507 [1] (which fixed all issues for me on Windows 10 x64)?
Changing the code in this way might cause regressions as it bypasses the check at [2] (effectively rendering that conditional useless as w/h will always be > 0).

However setting w = h = 1 should in principle (it's also equivalent to setting w = h = 0), see [3], but we should check if we have to remove the conditional.

Also we should check if there is an underlying issue we'd only be working around here, as I assumed the initial Window width would be the Windows natural width (which should be what we're ending up with when setting w = h = 1).

[1] http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15507
[2] http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/sp-namedview.cpp#L821
[3] https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-default-size