Preferences dialog has too small default size (regression)

Bug #448728 reported by Petteri Aimonen on 2009-10-11
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Eduard Braun

Bug Description

Steps to reproduce:
1. Remove inkscape settings folder (~/.inkscape)
2. Start r18905 or newer version of inkscape
3. Open preferences dialog
4. The dialog opens too small and has to be manually resized in order to be usable.

SVN revision 18905 [*] broke the automatic sizing support for the preferences dialog while adding scrolling support to the dialog. The scrolling has to be disabled while calculating the minimum size, but simply doing that will break the scrolling support.

I guess it should set the default size of the dialog window instead of the minimum size. However, the dockable panels -thing makes it complex code-wise.

[*] old SVN repository (

Same revision in current bazaar repository (

su_v (suv-lp) wrote :

related bugs:
Bug #281554 “Controls in Preferences Dialogue Initialise Too Short (min height shld be taller)”
Bug #359411 “preferences dialog not drawing properly when opened for first time” (duplicate)
maybe related:
Bug #357631 “preference window gets smaller over time”

tags: added: ui
Changed in inkscape:
status: New → Confirmed
xpeed (xpeed-rc) wrote :

Tested and confirmed for OpenSuse 11.2 x64 bits
Inkscape 0.47 r22583 Compiled from sources.
Window Manager: fluxbox 1.0

Fluxbox Workaround here ->

su_v (suv-lp) on 2013-04-14
Changed in inkscape:
importance: Undecided → Low
Jiabao Wu (jiabaowu) wrote :

Tried to give a reasonable minimum size to the preference dialog. The attached is the minor change of the codes, and the screenshot of first running Inkscape. Please have review.

Jiabao Wu (jiabaowu) wrote :

And here is the screenshot.

su_v (suv-lp) on 2013-04-14
description: updated
description: updated
su_v (suv-lp) on 2013-04-30
Changed in inkscape:
assignee: nobody → Jiabao Wu (jiabaowu)
status: Confirmed → In Progress
Jon A. Cruz (jon-joncruz) wrote :

Although this does give a better initial size, it also prevents the window from being manually changed to be smaller.

On smaller screens this is a definite problem, and one we'll need to address properly.

su_v (suv-lp) wrote :

@Jiabao Wu - do you plan to continue working on fix for this bug?

su_v (suv-lp) wrote :

Unassigned - please revert if done in error.

tags: added: preferences
Changed in inkscape:
assignee: Jiabao Wu (jiabaowu) → nobody
status: In Progress → Triaged
Eduard Braun (eduard-braun2) 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...


Eduard Braun (eduard-braun2) wrote :

Fix committed in

The dialog should always have a usable (dynamically calculated) size now while also still being shrinkable down to the minimum size.

I'll also investigate if this can be back-ported to 0.92.x

Changed in inkscape:
status: Triaged → Fix Committed
assignee: nobody → Eduard Braun (eduard-braun2)
tags: added: backport-proposed
Changed in inkscape:
milestone: none → 0.93
Petteri Aimonen (jpa-lp) wrote :

Nice, thanks for the fix :)

Eduard Braun (eduard-braun2) wrote :

Backported a modified version to 0.92.x in

It's not as nice as the version committed to master but it should work well enough.
Please let me know if this causes any issues so I can have another look before the 0.92.3 release if necessary.

Changed in inkscape:
milestone: 0.93 → 0.92.3
tags: removed: backport-proposed
Hachmann (marenhachmann) wrote :

Just noticed that all the bugs milestoned for 0.92.3 haven't been closed as 'fix released'.
Who would be doing this? Bryce?

Bryce Harrington (bryce) on 2018-05-12
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers