Comment 0 for bug 1363998

Revision history for this message
su_v (suv-lp) wrote :

Follow-up to
- Bug #950556 “Docked dialogs lost focus indicator (shading of title bar) in trunk”
  <https://bugs.launchpad.net/inkscape/+bug/950556>

Symptoms:
- Constant CPU load of 12-15% if inkscape trunk is the active application and has a detached dialog open (e.g. Document Properties)
- CPU load increases to 100% if inkscape is put in the background (a different application is active and has focus).
- The dock doesn't resize correctly while a dialog is open in a floating dock (e.g. Document Properties).

Steps to reproduce dock resize failure:
1) launch inkscape trunk with default (new) prefs
2) open Document Properties (Shift+Ctrl+D)
3) switch focus back to main window
4) open 'Layers' dialog (Shift+Ctrl+L)

Expected result:
Layers dialog opens in the main dock of the document window

Actual result:
Layers dialog appears to fail to open (actually it is open, but the dock doesn't resize to the minimal width until the floating dock is closed, or minimized to the dock bar in the main window).

Not reproduced with archived build r11376, reproduced with r11378.

System Info:
- Mac OS X 10.7.5 Lion
- archived builds: GTK+/Quartz 2.24.17, GLib 2.34.3
- current trunk: GTK+/Quartz 2.24.24, Glib 2.40.0

Using current trunk build (r13537) with the attached diff to partially revert r11377 prevents this from happening, and the dock resizes as expected when opening the layers dialog. The drawback is that the focus indicator is no longer drawn in the title bar of the dialog which has current focus.

Notes:
- The first issue mentioned in bug #950556 (comment #5) no longer occurs with current trunk because the preferences dialog is now a forced floating dialog.