Comment 8 for bug 448728

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

Recently looked into this a bit:
Actually we have supposedly cleaver code to set a reasonable size request, see [1].

Unfortunately it does not seem to work (neither in master with gtk3 nor in 0.92.x with gtk2).

In "InkscapePreferences::SetMaxDialogSize()" the function "get_preferred_size()" returns zero (and therefore the size request of the preferences window will be zero).
Replacing some occurrences of "this->show_all_children();" with "this->show()" returns *some* preferred size, but it's still tiny and not anywhere close to reasonably usable...

[1] https://gitlab.com/inkscape/inkscape/blob/b2d879e23ef18ce97e71f95d784da4d672874b4b/src/ui/dialog/inkscape-preferences.cpp#L138-143
[2] https://gitlab.com/inkscape/inkscape/blob/b2d879e23ef18ce97e71f95d784da4d672874b4b/src/ui/dialog/inkscape-preferences.cpp#L2012-2025